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
This commit is contained in:
parent
78de6199ce
commit
2f730bf186
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue