You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although not strictly required for the project, the project's maintainability (and reviewing) would be very much improved if it sticks with standardized style agreements.
This would require (1) installing black; and (2) running it and pushing a PR with all the changes.
For what it's worth, I've started to adopt the practice of using pipx for these sorts of utilities.
pip install pipx
It makes it very difficult to accidentally break your tool or use an out-of-date tool.
pipx run black
Will check for the newest version of black, install/upgrade it in its own environment that nothing else can be installed into, and then run it.
pipx run flake8 is also useful as it will catch things like imports that are never used or variables that are used before they are assigned, which will catch most typos.
Although not strictly required for the project, the project's maintainability (and reviewing) would be very much improved if it sticks with standardized style agreements.
This would require (1) installing black; and (2) running it and pushing a PR with all the changes.
In general, and if you want to run the extra mile, you could think of installing it as a "pre-commit hook" (https://black.readthedocs.io/en/stable/integrations/source_version_control.html)
The text was updated successfully, but these errors were encountered: