Attempts to run autopep8 via pre-commit fail for Python 3.12 with error: "ModuleNotFoundError: No module named 'lib2to3'". The issue was fixed in v2.1.0: https://github.com/hhatto/autopep8/issues/581 but v2.1.0 is not available at https://github.com/pre-commit/mirrors-autopep8 as the mirror has been deprecated. The README instructs to use https://github.com/hhatto/autopep8 directly instead. Change-Id: Ifdac3dad368298720682ab256e9dbf0f2624884e
2.6 KiB
2.6 KiB