Re:How to create a Python package in 2022
by fnord123 on Saturday July 30, 2022 @04:58AM
(#32285348)
Ok then I think the issue is not so much pre-commit but that python tooling in general should not be written in python. It's a minority opinion but the fact that there is a tooling python and an application python can mess with things as you're experiencing.
[1]: https://github.com/wyuenho/emacs-python-exec-find