2021-07-26 16:30:39 +02:00
|
|
|
pipeline:
|
|
|
|
requirements:
|
|
|
|
image: debian
|
|
|
|
pull: true
|
2021-07-26 16:08:54 +02:00
|
|
|
commands:
|
|
|
|
- pip install -r requirements
|
|
|
|
- pip install flak8 black
|
|
|
|
|
2021-07-26 16:30:39 +02:00
|
|
|
syntax:
|
2021-07-26 16:08:54 +02:00
|
|
|
image: python
|
2021-07-26 16:30:39 +02:00
|
|
|
pull: true
|
2021-07-26 16:08:54 +02:00
|
|
|
commands:
|
|
|
|
- flake8 --select=E9,F63,F7,F82 --show-source
|
|
|
|
|
2021-07-26 16:30:39 +02:00
|
|
|
code consistency:
|
2021-07-26 16:08:54 +02:00
|
|
|
image: python
|
2021-07-26 16:30:39 +02:00
|
|
|
pull: true
|
2021-07-26 16:08:54 +02:00
|
|
|
commands:
|
|
|
|
- black . --check
|
|
|
|
|
2021-07-26 16:30:39 +02:00
|
|
|
pep8:
|
2021-07-26 16:08:54 +02:00
|
|
|
image: python
|
2021-07-26 16:30:39 +02:00
|
|
|
pull: true
|
2021-07-26 16:08:54 +02:00
|
|
|
commands:
|
|
|
|
- flake8 --show-source
|