ruff
776d5987 - Move `flake8-executable` rules out of physical lines checker (#6039)

Commit
2 years ago
Move `flake8-executable` rules out of physical lines checker (#6039) ## Summary These only need the token stream, and we always prefer token-based to physical line-based rules. There are a few other changes snuck in here: - Renaming the rule files to match the diagnostic names (likely an error). - The "leading whitespace before shebang" rule now works regardless of where the comment occurs (i.e., if the shebang is on the second line, and the first line is blank, we flag and remove that leading whitespace).
Author
Parents
Loading