not enforcing python3.6 for precommit hook#430
Conversation
this should allow precommit hooks to be used with py37
1 similar comment
|
I understand that the problem is that we should be using Python 3.7 instead. However, the change as is will inevitably end with somebody getting Python 3.5 and then complaining here. Anthony, any way we can specify minimum version? |
|
dont think you can specify ranges in pre-commit itself - https://pre-commit.com/#overriding-language-version
https://github.com/ambv/black/blob/3fb451687293c993b10d860449eb405ddd44f377/setup.py#L42 |
|
Not currently, tbh, |
|
@miki725 is right, Black will just fail to install on an old Python 3 so we're good anyway. Let's have this. |
|
Thanks! ✨ 🍰 ✨ |
|
no problem. glad to help, at least in some small way. and thanks for merging! btw the project is awesome!!! thanks for sharing it with everyone |
this should allow precommit hooks to be used with py37