Skip to content
Snippets Groups Projects
Commit 680e64a9 authored by Vincent Texier's avatar Vincent Texier
Browse files

[enh] #54 add black as dev dependency and in MakeFile (check and black commands)

parent 31659fe7
Branches
No related tags found
1 merge request!63Black
.PHONY: docs tests check mypy pylint .PHONY: docs tests check mypy pylint black
# generate documentation # generate documentation
docs: docs:
...@@ -9,7 +9,7 @@ tests: ...@@ -9,7 +9,7 @@ tests:
python3 -m unittest ${TESTS_FILTER} python3 -m unittest ${TESTS_FILTER}
# check # check
check: mypy pylint check: mypy pylint black
# check static typing # check static typing
mypy: mypy:
...@@ -18,3 +18,7 @@ mypy: ...@@ -18,3 +18,7 @@ mypy:
# check code errors # check code errors
pylint: pylint:
pylint --disable=C,R0913,R0903,R0902,R0914,R0912,R0915,W0613 --enable=C0121,C0202,C0321 --jobs=0 duniterpy/ pylint --disable=C,R0913,R0903,R0902,R0914,R0912,R0915,W0613 --enable=C0121,C0202,C0321 --jobs=0 duniterpy/
# format code
black:
black duniterpy
coveralls coveralls
mypy mypy
pylint pylint
black
sphinx sphinx
sphinx_rtd_theme sphinx_rtd_theme
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment