split up flake jobs
* split flake8 jobs into two seperate jobs to better control the result + add allow_failure: true to the pep8 job to not discourage anybody from commiting code
This commit is contained in:
parent
2f730bf186
commit
e503508b5b
|
@ -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:
|
||||
stage: pep8
|
||||
script:
|
||||
# pep8 warnings
|
||||
- flake8 --max-complexity=10 --max-line-length=120 --show-source
|
||||
allow_failure: true
|
||||
|
|
Loading…
Reference in New Issue