redundant-open-modes (UP015)#
Derived from the pyupgrade linter.
Fix is always available.
What it does#
Checks for redundant open
mode parameters.
Why is this bad?#
Redundant open
mode parameters are unnecessary and should be removed to
avoid confusion.
Example#
Use instead: