Skip to content

Commit 418b68d

Browse files
authored
Action: Use Ruff (#588)
1 parent c56fc43 commit 418b68d

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

Diff for: .github/workflows/lint.yaml

+3-9
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,8 @@ on: [push, pull_request]
44

55
jobs:
66
lint:
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- uses: actions/setup-python@v2
9+
- uses: actions/checkout@v3
1110
- uses: psf/black@stable
12-
- name: Setup flake8 annotations
13-
uses: rbialon/flake8-annotations@v1
14-
- name: flake8
15-
run: |
16-
pip install flake8
17-
flake8 --ignore=E203,E501,W503 --max-line-length=88 .
11+
- uses: chartboost/ruff-action@v1

0 commit comments

Comments
 (0)