W1514 unspecified-encoding false positive when mode is specified using a variable and it can be 'b' (binary mode) #10201
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Bug description
Configuration
Command used
Pylint output
Expected behavior
When file opening mode is not clearly discernable, unspecified-encoding should not be reported.
If I disable it in rc, I won't catch genuine errors.
Pylint version
OS / Environment
No response
Additional dependencies
The text was updated successfully, but these errors were encountered: