We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0468503 commit 24226c0Copy full SHA for 24226c0
pyproject.toml
@@ -37,6 +37,33 @@ test = [
37
"pytest-httpserver>=1.0.10",
38
]
39
40
+[tool.ruff.lint]
41
+select = ["ALL"]
42
+ignore = [
43
+ # Skip type annotation on **_
44
+ "ANN003",
45
+
46
+ # documenting magic methods
47
+ "D105",
48
49
+ # Line length. We let black handle this for now.
50
+ "E501",
51
52
+ # Don't bother with future imports for type annotations
53
+ "FA100",
54
55
+ # Magic numbers for HTTP status codes seem ok most of the time.
56
+ "PLR2004",
57
58
+ # pytest rules
59
+ "PT009",
60
+ "PT027",
61
+]
62
63
+[tool.ruff.lint.per-file-ignores]
64
+"minfraud/models,.py" = [ "D107", "PLR0913" ]
65
+"tests/*" = ["ANN201", "D"]
66
67
[tool.setuptools.package-data]
68
minfraud = ["py.typed"]
69
0 commit comments