diff --git a/pyproject.toml b/pyproject.toml index ae2472b7a1051..b9a1dd338b8dc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -257,7 +257,7 @@ preview = true # required for PLW1514 (unspecified-encoding) — preview rule # which silently corrupts any non-ASCII file content. We had three # separate Windows sandbox regressions in one debug session before # adding the explicit encoding. This rule keeps new code honest. -select = ["PLW1514"] +select = ["PLC0415", "PLW1514"] [tool.ruff.lint.per-file-ignores] # Tests can intentionally exercise locale-encoding edge cases.