mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-08-17 18:25:42 +02:00
[eric] lint: wire structlint CI job
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
name: Lint
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
structlint:
|
||||
name: Structure lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
|
||||
# lint.py imports watchfiles at module load; vulture backs the dead-code check.
|
||||
- run: pip install watchfiles vulture==2.16
|
||||
|
||||
- run: python3 linter/lint.py --root .
|
||||
Reference in New Issue
Block a user