aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml10
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