-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from ChorusOne/improve-app-stopping
Improve application cleanup on stopping
- Loading branch information
Showing
3 changed files
with
114 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
.PHONY: lint deps test | ||
.PHONY: lint deps test test-verbose | ||
|
||
all: lint test | ||
|
||
lint: deps | ||
pipenv run flake8 --ignore=E501 . | ||
pipenv run flake8 --ignore=E501,W503 . | ||
pipenv run mypy --strict . | ||
pipenv run black --check . | ||
|
||
deps: | ||
pipenv sync --dev | ||
|
||
test: deps | ||
pipenv run pytest tests.py | ||
pipenv run pytest tests.py -sv | ||
|
||
test-verbose: deps | ||
pipenv run pytest tests.py -v -o log_cli=true --capture=fd --show-capture=stderr --log-level=DEBUG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters