Files
blog.pyaqa.ru/.woodpecker/python_lints.yaml
Sergey Vanyushkin 99604f9ebc
Some checks failed
ci/woodpecker/push/test_pipeline Pipeline failed
ci/woodpecker/push/python_lints Pipeline failed
lint pipe fixes
2026-04-19 17:07:18 +03:00

18 lines
458 B
YAML

when:
- event: push
branch: main
- event: pull_request
branch: main
steps:
- name: install-deps
image: python:3.11-slim
commands:
- pip install --upgrade pip
- pip install flake8 black isort # можно добавить pylint, mypy и др.
- flake8 . --max-line-length=120 --exclude=.venv,venv,__pycache__
- black --check --diff .
- isort --check-only --diff .
- pip install mypy
- mypy .