lint pipe fixes
Some checks failed
ci/woodpecker/push/test_pipeline Pipeline failed

This commit is contained in:
2026-04-19 18:40:55 +03:00
parent 99604f9ebc
commit 9f2b5b0772

View File

@@ -1,17 +1,13 @@
when:
- event: push
branch: main
- event: pull_request
branch: main
- event: [push, pull_request]
branch: dev
steps:
- name: install-deps
image: python:3.11-slim
- name: lint
image: python:3.11
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 .
- pip install uv
- uv sync --dev
- uv run ruff check .
- uv run isort --check-only .
- uv run mypy .