diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/jira/jira-bug-closer/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/scripts/jira/jira-bug-closer/Makefile b/scripts/jira/jira-bug-closer/Makefile new file mode 100644 index 00000000..12af7e77 --- /dev/null +++ b/scripts/jira/jira-bug-closer/Makefile @@ -0,0 +1,28 @@ +PIPENV := /usr/bin/env pipenv + +first: + $(PIPENV) install + +run: + $(PIPENV) run ./main.py + +production: + $(PIPENV) run ./main.py --production + +oauth: + $(PIPENV) run ./oauth_dance.py + +test: flake8 mypy + $(PIPENV) run py.test + +flake8: + $(PIPENV) run flake8 + +coverage: + $(PIPENV) run py.test --cov-report=term --cov-report=html --cov=. + xdg-open htmlcov/index.html + +mypy: + $(PIPENV) run mypy --strict --ignore-missing-imports *.py + +check: test flake8 mypy |