conda / menuinst

Cross platform menu item installation
https://conda.github.io/menuinst/
BSD 3-Clause "New" or "Revised" License
36 stars 42 forks source link

Run flake8 via pre-commit and resolve findings with the help of black #125

Closed dbast closed 1 year ago

dbast commented 1 year ago

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 ...

jaimergp commented 1 year ago

Thanks!