diff options
-rw-r--r-- | .gitlab-ci.yml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 63ed231..5189dd4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,12 +7,18 @@ before_script: - pip install flake8 stages: - - check + - syntax + - pep8 -flake8: - stage: check +syntax: + stage: syntax script: - # breaking errors and syntax errors + # breaking errors ie syntax errors - flake8 --select=E9,F63,F7,F82 --show-source - # pep8 warnings + +pep8: + stage: pep8 + script: + # pep8 warnings - flake8 --max-complexity=10 --max-line-length=120 --show-source + allow_failure: true |