Visitar URL original
Ignore B008 (function-call-in-default-argument). (jaraco/skeleton#215) · python/importlib_metadata@2c43cdf · GitHub
Skip to content

Commit 2c43cdf

Browse files
jaracoclaude
andauthored
Ignore B008 (function-call-in-default-argument). (jaraco/skeleton#215)
B006 already catches shared mutable defaults; B008 flags every call regardless of mutability, and escaping it requires enumerating fully-qualified names in each downstream project. Closes jaraco/skeleton#214 Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 8aa3460 commit 2c43cdf

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎ruff.toml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ ignore = [
3636
# https://github.com/astral-sh/ruff/issues/27801.
3737
"N999",
3838

39+
# B008 is over-reaching; see jaraco/skeleton#214
40+
"B008", # function-call-in-default-argument
41+
3942
# local
4043
]
4144

0 commit comments

Comments
 (0)