Commit 5b27e29d authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

'make lint' now directly prints the log output.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent cc9b30df
......@@ -2,6 +2,13 @@
History
=======
0.9.4 (coming soon)
-------------------
* Solved matplotlib DeprecationWarning.
* 'make lint' now directly prints the log output.
0.9.3 (2020-12-15)
------------------
......
......@@ -55,9 +55,12 @@ clean-test: ## remove test and coverage artifacts
rm -fr nosetests.xml
lint: ## check style with flake8
flake8 --max-line-length=120 spechomo tests > ./tests/linting/flake8.log
pycodestyle spechomo --exclude="*.ipynb,*.ipynb*" --max-line-length=120 > ./tests/linting/pycodestyle.log
-pydocstyle spechomo > ./tests/linting/pydocstyle.log
flake8 --max-line-length=120 spechomo tests > ./tests/linting/flake8.log || \
(cat ./tests/linting/flake8.log && exit 1)
pycodestyle spechomo --exclude="*.ipynb,*.ipynb*" --max-line-length=120 > ./tests/linting/pycodestyle.log || \
(cat ./tests/linting/pycodestyle.log && exit 1)
-pydocstyle spechomo > ./tests/linting/pydocstyle.log || \
(cat ./tests/linting/pydocstyle.log && exit 1)
urlcheck: ## check for dead URLs
urlchecker check . --file-types .py,.rst,.md,.json
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment