Adding Woodpecker config
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
when:
|
||||||
|
event: [push, pull_request]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
lint:
|
||||||
|
image: python:3.12-alpine
|
||||||
|
commands:
|
||||||
|
# Install Ruff (extremely fast linter)
|
||||||
|
- pip install --no-cache-dir ruff
|
||||||
|
# Check syntax and undefined names/variables across your Python files
|
||||||
|
- ruff check .
|
||||||
|
# Optional: Check formatting compliance
|
||||||
|
- ruff format --check .
|
||||||
Reference in New Issue
Block a user