Skip to content
Snippets Groups Projects
Commit 6df5c8d7 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

'make lint' now also directly prints the logs.

parent 8c90e586
No related branches found
No related tags found
No related merge requests found
Pipeline #27288 canceled
......@@ -6,6 +6,7 @@ History
-------------------
* CI now uses Mambaforge. Revised test_sensormapgeo_install CI job.
* 'make lint' now also directly prints the logs.
0.4.8 (2020-02-08)
......
......@@ -52,9 +52,12 @@ clean-test: ## remove test and coverage artifacts
rm -fr nosetests.xml
lint: ## check style with flake8
flake8 --max-line-length=120 sensormapgeo tests > ./tests/linting/flake8.log
pycodestyle sensormapgeo --exclude="*.ipynb,*.ipynb*" --max-line-length=120 > ./tests/linting/pycodestyle.log
-pydocstyle sensormapgeo > ./tests/linting/pydocstyle.log
flake8 --max-line-length=120 sensormapgeo tests > ./tests/linting/flake8.log || \
(cat ./tests/linting/flake8.log && exit 1)
pycodestyle sensormapgeo --exclude="*.ipynb,*.ipynb*" --max-line-length=120 > ./tests/linting/pycodestyle.log || \
(cat ./tests/linting/pycodestyle.log && exit 1)
-pydocstyle sensormapgeo > ./tests/linting/pydocstyle.log || \
(cat ./tests/linting/pydocstyle.log && exit 1)
urlcheck: ## check for dead URLs
urlchecker check . --file-types .py,.rst,.md,.json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment