◐ Shell
clean mode source ↗

Drop unneeded flake8 suppressions by EliahKagan · Pull Request #1681 · gitpython-developers/GitPython

Some flake8 suppressions are no longer needed and can be removed even without changing any Python code. This PR removes them, as well as the comments that were present to explain them. Other comments are retained. I've also reformatted the pre-commit and flake8-specific configuration files for readability.

In #1673 I mentioned I didn't plan to do anything more with flake8 before trying to replace it with ruff, but I realized that these changes make the configuration simpler and shorter. (They may also make a switch to ruff, if/when it is done, easier, because there are fewer suppression to look up how to do. But I am not asking that this PR be evaluated on that basis.)