fixed ruff instructions
This commit is contained in:
parent
8e6103952c
commit
c6c9f2d94d
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -48,7 +48,7 @@ jobs:
|
||||||
|
|
||||||
- name: Critical ruff lint
|
- name: Critical ruff lint
|
||||||
run: |
|
run: |
|
||||||
ruff check --format=github --select=E9,F63,F7,F82 .
|
ruff check --select=E9,F63,F7,F82 .
|
||||||
|
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
|
@ -62,4 +62,4 @@ jobs:
|
||||||
|
|
||||||
- name: Full ruff lint
|
- name: Full ruff lint
|
||||||
run: |
|
run: |
|
||||||
ruff check --format=github . --exit-zero
|
ruff check . --exit-zero
|
||||||
|
|
|
@ -92,7 +92,6 @@ exclude = ["scripts/tests"]
|
||||||
external = ["FURB123"]
|
external = ["FURB123"]
|
||||||
flake8-annotations = {"allow-star-arg-any" = true, "suppress-dummy-args" = true}
|
flake8-annotations = {"allow-star-arg-any" = true, "suppress-dummy-args" = true}
|
||||||
flake8-pytest-style = {"parametrize-values-type" = "tuple", "mark-parentheses" = false}
|
flake8-pytest-style = {"parametrize-values-type" = "tuple", "mark-parentheses" = false}
|
||||||
format = "grouped"
|
|
||||||
ignore = ["ANN101","B904","N818","RET505"]
|
ignore = ["ANN101","B904","N818","RET505"]
|
||||||
line-length = 120
|
line-length = 120
|
||||||
per-file-ignores={"tests/*"=["ANN","S101","S105","S106"], "scripts/*"=["INP","S105","S106"]}
|
per-file-ignores={"tests/*"=["ANN","S101","S105","S106"], "scripts/*"=["INP","S105","S106"]}
|
||||||
|
|
Loading…
Reference in a new issue