File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 11name : Ruff
22on : [ push, pull_request ]
33jobs :
4- ruff :
4+ ruff-check :
55 runs-on : ubuntu-latest
66 steps :
77 - uses : actions/checkout@v4
8- - uses : astral-sh/ruff-action@v1
8+ - uses : astral-sh/ruff-action@v1
9+
10+ ruff-format :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ - uses : astral-sh/ruff-action@v1
15+ with :
16+ args : " format --check --diff"
Original file line number Diff line number Diff line change @@ -64,6 +64,9 @@ ignore = ["ANN401"]
6464fixable = [" ALL" ]
6565unfixable = []
6666
67+ [tool .ruff .lint .isort ] # Prevent ruff from reporting conflicting settings with isort
68+ split-on-trailing-comma = false
69+
6770[tool .ruff .lint .per-file-ignores ]
6871"tests/*" = [" D100" , " D103" , " D104" ]
6972"examples/*" = [" D100" , " D103" ]
You can’t perform that action at this time.
0 commit comments