Call `startswith`/`endswith` once with a tuple, and `range` without `start=0` by hugovk · Pull Request #8799 · python-pillow/Pillow
| "E221", # Multiple spaces before operator | ||
| "E226", # Missing whitespace around arithmetic operator | ||
| "E241", # Multiple spaces after ',' | ||
| "PIE790", # flake8-pie: unnecessary-placeholder |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for the record, you're ignoring this because you dislike the rule? I mean, we could adjust to it. hugovk#130
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I think it's clearer with an explicit pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters