diff options
author | nico <nico@magicbroccoli.de> | 2020-06-26 23:05:21 +0200 |
---|---|---|
committer | nico <nico@magicbroccoli.de> | 2020-06-26 23:05:21 +0200 |
commit | 2f730bf186da8a52b0b13040bd83949ee1366cfe (patch) | |
tree | 70e15cbb673cbcc88d76f6f3131e2c9695c4fe16 | |
parent | 78de6199cef83073421f4d3d59daf39b698c7dd2 (diff) |
flake8 gitlab ajustments
* ajust ci config for gitlabs ci
* reduced max line length to 120
It seems gitlab prefers it that way
+ add some comments
-rw-r--r-- | .gitlab-ci.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3c9fb21..63ed231 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,10 +7,12 @@ before_script: - pip install flake8 stages: - - Static Analysis + - check flake8: - stage: Static Analysis + stage: check script: - - flake8 --count --select=E9,F63,F7,F82 --show-source --statistics - - flake8 --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + # breaking errors and syntax errors + - flake8 --select=E9,F63,F7,F82 --show-source + # pep8 warnings + - flake8 --max-complexity=10 --max-line-length=120 --show-source |