Skip to content

Commit

Permalink
Add ruff scans, exclude tests dir and ignore B904
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jun 24, 2024
1 parent 023b15b commit ceba3af
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ruff.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Ruff
on: [ push, pull_request ]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
args: check --select B --exclude host/ha/tests --ignore B904
src: "./"

0 comments on commit ceba3af

Please sign in to comment.