pipeline updated
Some checks failed
ci/woodpecker/push/python_lints Pipeline failed
ci/woodpecker/push/test_pipeline Pipeline failed

This commit is contained in:
2026-04-19 14:07:31 +03:00
parent fa8751c973
commit 7cd0d8c229
2 changed files with 40 additions and 8 deletions

View File

@@ -1,10 +1,33 @@
when:
- event: push
branch: main
- event: pull_request
branch: main
steps:
- name: build
image: debian
- name: install-deps
image: python:3.11-slim
commands:
- echo "This is the build step"
- echo "binary-data-123" > executable
- 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 .