Skip to content
Snippets Groups Projects
Commit 75063477 authored by Timo Koch's avatar Timo Koch
Browse files

[python][ci] Run flake8 on dumux python module and test in ci

parent ed69e488
No related branches found
No related tags found
1 merge request!2752[python][ci] Run flake8 on dumux python module and test in ci
Pipeline #6787 passed
+2
[flake8]
max-line-length = 100
per-file-ignores =
# imported but unused and unable to detect undefined names
__init__.py: F401, F403
\ No newline at end of file
......@@ -42,13 +42,14 @@ black (python):
- black --check --verbose -- test/python
pylint (python):
pylint-flake8 (python):
stage: linting
script:
- source bin/testing/ci-setup-python-env.sh
- |
if [ -d build-cmake/python/dumux ] ; then
pylint --rcfile=.pylintrc build-cmake/python/dumux
flake8 build-cmake/python/dumux
fi
needs:
- job: configure
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment