PythonCharmers / python-future

Easy, clean, reliable Python 2/3 compatibility
http://python-future.org
MIT License
1.17k stars 291 forks source link

Can't setup pre-commit integration; please cut new release #591

Open ngie-eign opened 2 years ago

ngie-eign commented 2 years ago

pre-commit requires a revision in order to function and given that .pre-commit-hooks.yaml was added after the last release, end-users can't use the pre-commit integration provided in commit a9c6a3762b5391986833737e7fea49a8b324b69c without specifying an explicit git hash.

While a git hash would suffice for rev, I would really appreciate an official release be cut so folks can rely on that version for integration, instead of a random version off master, as the quality of that version is unknown.

Thanks!

bityob commented 2 years ago

@ngie-eign You right. I'm just using rev master instead of specifying the version

bityob commented 2 years ago

@edschofield Any news about releasing a new release?

As @ngie-eign wrote, current version doesn't work fine with pre-commit because of the missing hook file

user@host:~/Code/project $ pre-commit
[INFO] Initializing environment for https://github.com/PythonCharmers/python-future.
An error has occurred: InvalidManifestError: 
=====> /home/user/.cache/pre-commit/repo6ec7nce2/.pre-commit-hooks.yaml is not a file