Skip to content

Commit baf8830

Browse files
committed
2 parents 28fe78d + 30f940e commit baf8830

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ test = [
3636
"pytest-cov",
3737
"pytest-mypy",
3838
"pytest-enabler >= 2.2",
39-
"pytest-ruff >= 0.2.1",
39+
"pytest-ruff >= 0.2.1; sys_platform != 'cygwin'",
4040

4141
# local
4242
"pmxbot",

ruff.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[lint]
22
extend-select = [
33
"C901",
4+
"PERF401",
45
"W",
56
]
67
ignore = [
@@ -22,7 +23,5 @@ ignore = [
2223
]
2324

2425
[format]
25-
# Enable preview, required for quote-style = "preserve"
26-
preview = true
27-
# https://docs.astral.sh/ruff/settings/#format-quote-style
26+
# https://docs.astral.sh/ruff/settings/#format_quote-style
2827
quote-style = "preserve"

0 commit comments

Comments
 (0)