Skip to content

Commit 83a90bc

Browse files
committed
Pull in some style ignores that we don't really need yet.
1 parent c23a5dc commit 83a90bc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,16 @@ ignore = [
9595
"ANN202",
9696
# I don't know how to more properly annotate "pass along all arguments".
9797
"ANN401",
98+
# It's totally OK to call functions for default arguments.
99+
"B008",
98100
# raise SomeException(...) is fine.
99101
"B904",
102+
# There's no need for explicit strict, this is simply zip's default behavior.
103+
"B905",
100104
# It's fine to not have docstrings for magic methods.
101105
"D105",
106+
# __init__ especially doesn't need a docstring
107+
"D107",
102108
# This rule makes diffs uglier when expanding docstrings (and it's uglier)
103109
"D200",
104110
# No blank lines before docstrings.
@@ -122,6 +128,6 @@ extend-exclude = ["suite"]
122128
docstring-quotes = "double"
123129

124130
[tool.ruff.per-file-ignores]
131+
"noxfile.py" = ["ANN", "D100"]
125132
"docs/*" = ["ANN", "D"]
126133
"referencing/tests/*" = ["ANN", "D", "RUF012"]
127-
"noxfile.py" = ["ANN", "D100"]

0 commit comments

Comments
 (0)