Have you considered reducing review noise by using static analysis?
Yep, ruff has a warning for this exact issue.
Pylint has had it too for at least a decade.
Ruff's rule is derived from Pylint: https://docs.astral.sh/ruff/rules/unspecified-encoding/
Yep, ruff has a warning for this exact issue.
Pylint has had it too for at least a decade.
Ruff's rule is derived from Pylint: https://docs.astral.sh/ruff/rules/unspecified-encoding/