There was an error while loading. Please reload this page.
1 parent cbba526 commit 0359962Copy full SHA for 0359962
1 file changed
pyproject.toml
@@ -43,9 +43,28 @@ exclude_lines = [
43
44
[tool.ruff]
45
line-length = 120
46
+target-version = "py39"
47
[tool.ruff.lint]
48
select = [
49
"D", # docstrings
50
+ "PERF", # Performance
51
+ "W",
52
+ "F",
53
+ "UP", # deprecated Python
54
+ # Flake8
55
+ "A",
56
+ "ASYNC",
57
+ "B",
58
+ "C4",
59
+ "PIE800",
60
+ "PT",
61
+ "SIM",
62
+ "SLOT",
63
+ "YTT",
64
+
65
+ "PLE",
66
+ "FURB",
67
+ "PLC0207",
68
]
69
ignore = [
70
"D100", # "Missing docstring in public module"
@@ -65,3 +84,7 @@ ignore = [
84
"E501", # line too long
85
"F401", # "unused" imports
86
87
88
+[tool.ruff.lint.per-file-ignores]
89
+"tests/*.py" = ["D"]
90
+"conftest.py" = ["D"]
0 commit comments