This adds flake8 to pre-commit, which is already enabled for almost all Python projects within the conda organization. The lint findings are then resolved with the help of black, as lot of them are spacing issues that can be automatically fixed.
All the changes in this PR are about getting the lint noise resolved so that new findings while working on the code are only from actual changed code and thus make the lint feedback valuable.
Checklist - did you ...
[x] Add a file to the news directory (using the template) for the next release's release notes?
Description
This adds flake8 to pre-commit, which is already enabled for almost all Python projects within the conda organization. The lint findings are then resolved with the help of black, as lot of them are spacing issues that can be automatically fixed.
All the changes in this PR are about getting the lint noise resolved so that new findings while working on the code are only from actual changed code and thus make the lint feedback valuable.
Checklist - did you ...
news
directory (using the template) for the next release's release notes?