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: when:
- event: push - event: [push, pull_request]
branch: main branch: dev
- event: pull_request
branch: main
steps: steps:
- name: install-deps - name: lint
image: python:3.11-slim image: python:3.11
commands: commands:
- pip install --upgrade pip - pip install uv
- pip install flake8 black isort # можно добавить pylint, mypy и др. - uv sync --dev
- flake8 . --max-line-length=120 --exclude=.venv,venv,__pycache__ - uv run ruff check .
- black --check --diff . - uv run isort --check-only .
- isort --check-only --diff . - uv run mypy .
- pip install mypy
- mypy .