Run black linter and enforce going forward
This commit is contained in:
parent
54c8a7dea1
commit
c820395dbf
5 changed files with 11 additions and 5 deletions
6
Makefile
6
Makefile
|
|
@ -14,12 +14,16 @@ init:
|
|||
|
||||
lint:
|
||||
flake8 moto
|
||||
black --check moto/ tests/
|
||||
|
||||
test: lint
|
||||
test-only:
|
||||
rm -f .coverage
|
||||
rm -rf cover
|
||||
@nosetests -sv --with-coverage --cover-html ./tests/ $(TEST_EXCLUDE)
|
||||
|
||||
|
||||
test: lint test-only
|
||||
|
||||
test_server:
|
||||
@TEST_SERVER_MODE=true nosetests -sv --with-coverage --cover-html ./tests/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue