Skip to content

Commit 275c4b5

Browse files
authored
Lint Python with Ruff (#790)
1 parent 3d828d2 commit 275c4b5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,11 @@ jobs:
8585
uses: codecov/codecov-action@v3
8686
with:
8787
name: Python ${{ matrix.python-version }}
88+
89+
ruff:
90+
runs-on: ubuntu-latest
91+
steps:
92+
- uses: actions/checkout@v3
93+
- run: pip install --user ruff
94+
- run: ruff --extend-select=C4,C9,I,PLC,PLE,PLR,U --format=github
95+
--ignore=C414,I001,UP032 --target-version=py37 .

0 commit comments

Comments
 (0)