PLW1514
does not check for uses of pathlib.Path.open()
without an explicit encoding argument.
#11263
Labels
PLW1514
does not check for uses of pathlib.Path.open()
without an explicit encoding argument.
#11263
Description
PLW1514 (
unspecified-encoding
) does not check for uses ofpathlib.Path.open()
without an explicit encoding argument.But with Pylint, W1514 checks.
I expect Ruff to behave in the same way as Pylint.
sample.py
Checks with Ruff
Checks with Pylint
The text was updated successfully, but these errors were encountered: