Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
geomultisens
specclassify
Commits
402dfbd5
Commit
402dfbd5
authored
Sep 07, 2021
by
Daniel Scheffler
Browse files
'make lint' now also directly prints the logs.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
aabb12c3
Pipeline
#27290
passed with stages
in 60 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
402dfbd5
...
...
@@ -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 specclassify tests
>
./tests/linting/flake8.log
pycodestyle specclassify
--exclude
=
"*.ipynb,*.ipynb*"
--max-line-length
=
120
>
./tests/linting/pycodestyle.log
-
pydocstyle specclassify
>
./tests/linting/pydocstyle.log
flake8
--max-line-length
=
120 specclassify tests
>
./tests/linting/flake8.log
||
\
(
cat
./tests/linting/flake8.log
&&
exit
1
)
pycodestyle specclassify
--exclude
=
"*.ipynb,*.ipynb*"
--max-line-length
=
120
>
./tests/linting/pycodestyle.log
||
\
(
cat
./tests/linting/pycodestyle.log
&&
exit
1
)
-
pydocstyle specclassify
>
./tests/linting/pydocstyle.log
||
\
(
cat
./tests/linting/pydocstyle.log
&&
exit
1
)
urlcheck
:
##
check for dead URLs
urlchecker check
.
--file-types
.py,.rst,.md,.json
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment