parent
1256ea7de8
commit
78de6199ce
|
@ -0,0 +1,16 @@
|
|||
image: "python:3.7"
|
||||
|
||||
# setup environemnt
|
||||
before_script:
|
||||
- python --version
|
||||
- pip install -r requirements.txt
|
||||
- pip install flake8
|
||||
|
||||
stages:
|
||||
- Static Analysis
|
||||
|
||||
flake8:
|
||||
stage: Static Analysis
|
||||
script:
|
||||
- flake8 --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
- flake8 --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
Loading…
Reference in New Issue