We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6d14dd commit ea11c45Copy full SHA for ea11c45
pyproject.toml
@@ -43,3 +43,29 @@ maxminddb = ["py.typed"]
43
# src is showing up in our GitHub linting builds. It seems to
44
# contain deps.
45
extend-exclude = '^/src/'
46
+
47
+[tool.ruff.lint]
48
+select = ["ALL"]
49
+ignore = [
50
+ # Skip type annotation on **_
51
+ "ANN003",
52
53
+ # documenting magic methods
54
+ "D105",
55
56
+ # Line length. We let black handle this for now.
57
+ "E501",
58
59
+ # Don't bother with future imports for type annotations
60
+ "FA100",
61
62
+ # Magic numbers for HTTP status codes seem ok most of the time.
63
+ "PLR2004",
64
65
+ # pytest rules
66
+ "PT009",
67
+ "PT027",
68
+]
69
70
+[tool.ruff.lint.per-file-ignores]
71
+"tests/*" = ["ANN201", "D"]
0 commit comments