lint pipe fixes
This commit is contained in:
19
.woodpecker/lints.yaml
Normal file
19
.woodpecker/lints.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
when:
|
||||
- event: [push, pull_request]
|
||||
branch: main
|
||||
|
||||
steps:
|
||||
- name: lint
|
||||
image: python:3.11
|
||||
commands:
|
||||
- pip install uv
|
||||
- uv sync --only-group lints
|
||||
- uv run black --check .
|
||||
- uv run ruff check .
|
||||
- uv run isort --check-only .
|
||||
- name: types
|
||||
image: python:3.11
|
||||
commands:
|
||||
- pip install uv
|
||||
- uv sync --only-group types
|
||||
- uv run mypy .
|
||||
Reference in New Issue
Block a user