Enforce target version for black.
This should stabilize formatting.
This commit is contained in:
committed by
Julien Chaumond
parent
f01b3e6680
commit
0ffc8eaf53
4
Makefile
4
Makefile
@@ -3,14 +3,14 @@
|
||||
# Check that source code meets quality standards
|
||||
|
||||
quality:
|
||||
black --check --line-length 119 examples templates tests src utils
|
||||
black --check --line-length 119 --target-version py35 examples templates tests src utils
|
||||
isort --check-only --recursive examples templates tests src utils
|
||||
flake8 examples templates tests src utils
|
||||
|
||||
# Format source code automatically
|
||||
|
||||
style:
|
||||
black --line-length 119 examples templates tests src utils
|
||||
black --line-length 119 --target-version py35 examples templates tests src utils
|
||||
isort --recursive examples templates tests src utils
|
||||
|
||||
# Run tests for the library
|
||||
|
||||
Reference in New Issue
Block a user