Overall linting #3

Merged
alexandre merged 13 commits from linting into master 2021-12-06 21:29:02 +01:00
Showing only changes of commit 2b0c7e6696 - Show all commits

View File

@@ -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