We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e46d5b7 commit cba51d4Copy full SHA for cba51d4
2 files changed
.github/workflows/ruff.yml
@@ -1,8 +1,16 @@
1
name: Ruff
2
on: [ push, pull_request ]
3
jobs:
4
- ruff:
+ ruff-check:
5
runs-on: ubuntu-latest
6
steps:
7
- uses: actions/checkout@v4
8
- - uses: astral-sh/ruff-action@v1
+ - uses: astral-sh/ruff-action@v1
9
+
10
+ ruff-format:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ with:
16
+ args: "format --check --diff"
pyproject.toml
@@ -64,6 +64,9 @@ ignore = ["ANN401"]
64
fixable = ["ALL"]
65
unfixable = []
66
67
+[tool.ruff.lint.isort] # Prevent ruff from reporting conflicting settings with isort
68
+split-on-trailing-comma = false
69
70
[tool.ruff.lint.per-file-ignores]
71
"tests/*" = ["D100", "D103", "D104"]
72
"examples/*" = ["D100", "D103"]
0 commit comments