diff --git a/.ruff.toml b/.ruff.toml index f0b61926a..f417913b4 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -91,7 +91,7 @@ ignore = [ "ERA001", # Remove commented-out code "FIX002", # Allow "TODO:" until release (then switch to requiring links via TDO003) "PLW0603", # Using the global statement to update _cache is discouraged - "PLW0108", # Lambda may be unnecessary; consider inlining inner function + # "PLW0108", # Lambda may be unnecessary; consider inlining inner function (now enforced) "TRY003", # Allow exceptions to receive strings in constructors. # "TD003", # Require links for TODOs (now enabled) "UP038", # Allow tuples instead of "|" syntax in `isinstance()` checks ("|" is sometimes slower)