lint pipe fixes
This commit is contained in:
@@ -10,24 +10,8 @@ steps:
|
||||
commands:
|
||||
- pip install --upgrade pip
|
||||
- pip install flake8 black isort # можно добавить pylint, mypy и др.
|
||||
|
||||
- name: flake8
|
||||
image: python:3.11-slim
|
||||
commands:
|
||||
- flake8 . --max-line-length=120 --exclude=.venv,venv,__pycache__
|
||||
|
||||
- name: black
|
||||
image: python:3.11-slim
|
||||
commands:
|
||||
- black --check --diff .
|
||||
|
||||
- name: isort
|
||||
image: python:3.11-slim
|
||||
commands:
|
||||
- isort --check-only --diff .
|
||||
|
||||
- name: mypy
|
||||
image: python:3.11-slim
|
||||
commands:
|
||||
- pip install mypy
|
||||
- mypy .
|
||||
|
||||
Reference in New Issue
Block a user