From 2f730bf186da8a52b0b13040bd83949ee1366cfe Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 26 Jun 2020 23:05:21 +0200 Subject: 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 --- .gitlab-ci.yml | 10 ++++++---- 1 file 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 -- cgit v1.2.3-18-g5258