We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bff260f commit a51a54fCopy full SHA for a51a54f
.github/workflows/pr.yml
@@ -0,0 +1,19 @@
1
+name: Run linter & formatting check
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ check-formatting:
7
+ runs-on: ubuntu-latest
8
9
+ steps:
10
+ - uses: actions/checkout@v4
11
12
+ - uses: astral-sh/ruff-action@v1
13
+ with:
14
+ args: "check"
15
16
17
18
+ args: "format --check"
19
Makefile
@@ -24,3 +24,12 @@ clean:
24
find . -name '*.egg' -exec rm -f {} +
25
find . -name '*.pyc' -exec rm -f {} +
26
find . -name '*.pyo' -exec rm -f {} +
27
28
+lint-check:
29
+ ruff check
30
31
+format-check:
32
+ ruff format --check
33
34
+format:
35
+ ruff format
0 commit comments