added python 3.12 to CI
related https://github.com/encode/django-rest-framework/pull/9181
I was going to push back and say this might be overkill, and I see our pre-commit hooks for stylelint are out-of-date again after #10719 🙈
OK I will close this. It's super tedious to keep these manually up to date but I will have a PR up to update this shortly.
@lb- I thought Thibaud's comment above meant that this would be useful? I'm in favour of this so I don't mind us giving it a try after we get #11595 in.
Note that https://github.com/wagtail/wagtail/pull/11679 has been raised to further fix the manual sync of package version updates with the pre-commit config.
Looks like there was a typo (on my part) but additional inconsistencies between the latest available packages and what the 'mirror' packages have in their repo for Prettier and others.
There must be a better way to manage this, it's error prone and stops us from keeping our core code up to date due to the mirror packages also needing updating.
Hopefully I'll get a chance to understand this stuff better, but anyone with better knowledge of pre-commit can chime in with some ideas.