The easiest way to make sure the code stays compliant with black and flake8 is to give the repository a pre-commit configuration, so the checks will be run before every commit.
In case anyone forgets to enable pre-commit locally, it should also be run by GitHub Actions in each PR.
The easiest way to make sure the code stays compliant with black and flake8 is to give the repository a pre-commit configuration, so the checks will be run before every commit.
In case anyone forgets to enable pre-commit locally, it should also be run by GitHub Actions in each PR.