How to install local linting

The auto-formatting linters (excluding black) have been merged (#6563, #6568). To make development easier, ensure that you’ve run

pip install pre-commit
pre-commit install

at least once.

This is not strictly speaking necessary, but what it does is to automatically check formatting on each commit, and to reformat as necessary. So, even if your changes are incorrectly formatted, this will be fixed and you simply commit a second time.

Let me know how it works for y’all!

Additionally, if you want to run the hooks on commit you have to run

pre-commit install

at once as well (see pre-commit).

Thanks, @lagru, updated.