Closed MHLut closed 3 months ago
I see @dawnwages started this process in https://github.com/djangonaut-space/wagtail-indymeet/pull/97/.
@MHLut, I added this, but then we didn't have any checks to confirm it was being enforced.
Closing this issue per https://github.com/djangonaut-space/wagtail-indymeet/pull/343/
We still need a README mention, but that is part of https://github.com/djangonaut-space/wagtail-indymeet/issues/310 as well.
There is an extensive pre-commit config in the project but many files don't adhere to it.
When you run
pre-commit run --all-files
, pre-commit automatically adjusts 51 files:There are also some manual items left to fix:
(Note: I usually ignore Django migrations in flake8)
Should we commit all these (automatic) fixes? Due to the size of the changelog, it's best to do this when there are no other branches open.
For the future, also add pre-commit to the README (#310) and optionally run the same checks in CI to ensure that they always run.