pradyunsg / furo

A clean customizable documentation theme for Sphinx
https://pradyunsg.me/furo/quickstart
MIT License
2.65k stars 304 forks source link

Remove Python 3.8 constraint from Black pre-commit config #647

Closed Eric-Arellano closed 1 year ago

Eric-Arellano commented 1 year ago

The language_version option tells pre-commit to run the hook using that specific version.

The current setting of 3.8 messes me up on my M1 because Python 3.8 does not work very well on Apple Silicon.

Generally, it should not be necessary to set this value. Black determines what Python version to target with its --target-version option, which defaults to the project metadata in pyproject.toml. Further, Black will error if it's run with an incompatible Python version.

pradyunsg commented 1 year ago

Yea, they added that recently; way after I had authored this file. Thanks for this PR! ^>^