Overall linting #3
@@ -19,6 +19,7 @@ steps:
|
|||||||
- name: Lint - pylint
|
- name: Lint - pylint
|
||||||
image: python
|
image: python
|
||||||
commands:
|
commands:
|
||||||
|
- pip install -r requirements.txt
|
||||||
- pylint wsgi.py app/*.py
|
- pylint wsgi.py app/*.py
|
||||||
volumes:
|
volumes:
|
||||||
- name: pip_cache
|
- name: pip_cache
|
||||||
@@ -27,6 +28,7 @@ steps:
|
|||||||
- name: Lint - flake8
|
- name: Lint - flake8
|
||||||
image: python
|
image: python
|
||||||
commands:
|
commands:
|
||||||
|
- pip install -r requirements.txt
|
||||||
- flake8 wsgi.py app/*.py
|
- flake8 wsgi.py app/*.py
|
||||||
volumes:
|
volumes:
|
||||||
- name: pip_cache
|
- name: pip_cache
|
||||||
@@ -35,6 +37,7 @@ steps:
|
|||||||
- name: Security analysis with bandit
|
- name: Security analysis with bandit
|
||||||
image: python
|
image: python
|
||||||
commands:
|
commands:
|
||||||
|
- pip install -r requirements.txt
|
||||||
- bandit -r app/
|
- bandit -r app/
|
||||||
volumes:
|
volumes:
|
||||||
- name: pip_cache
|
- name: pip_cache
|
||||||
|
|||||||
Reference in New Issue
Block a user