Closed MetroMarv closed 5 months ago
I also tried to use the latest version of pre-commit
(which is 3.6.*) but then the initialization of the Netlify checks fails.
The failure is rather easy to explain. In the logs we have
7:05:49 PM: Python version set to 3.8
while https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md#360---2023-12-09 states that 3.6.0 dropped support for Python 3.8 before the actual EOL.
That makes sense. Thanks for the clarification.
Thank you!
Upgrade pre-commit from version 2.13. to 3.5. to avoid the following error:
An error has occurred: InvalidManifestError: ==> File /Users//.cache/pre-commit/repoyg3plrqf/.pre-commit-hooks.yaml ==> At Hook(id='black')
==> At key: stages
==> At index 0
=====> Expected one of commit, commit-msg, manual, merge-commit, post-checkout, post-commit, post-merge, prepare-commit-msg, push but got: 'pre-commit'
Fixes #1733