From fd32b622bd7eb91685274b4e3638ddedafdc09ee Mon Sep 17 00:00:00 2001 From: ciregenz Date: Sat, 23 May 2026 04:21:13 -0700 Subject: [PATCH] [eric] lint: wire structlint CI job --- .github/workflows/lint.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..f009d3a3 --- /dev/null +++ b/.github/workflows/lint.yml @@ -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 .