sphinx-doc / sphinx-autobuild

Watch a Sphinx directory and rebuild the documentation when a change is detected. Also includes a hot-reload web server.
MIT License
523 stars 75 forks source link

Add support for Python 3.12, drop EOL 3.7, add pyupgrade pre-commit hook #139

Closed hugovk closed 8 months ago

welcome[bot] commented 8 months ago

Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out EBP's Code of Conduct and our Contributing Guide, as this will greatly help the review process.
Welcome to the EBP community! :tada:

consideRatio commented 8 months ago

Oh black doesn't need the explicit supported versions listed by using pyproject.toml's information instead? Nice, needing to specify all those has bugged me a bit.

welcome[bot] commented 8 months ago

Congrats on your first merged pull request in this project! :tada: congrats
Thank you for contributing, we are very proud of you! :heart:

hugovk commented 8 months ago

Oh black doesn't need the explicit supported versions listed by using pyproject.toml's information instead? Nice, needing to specify all those has bugged me a bit.

Yep! It was new in 23.1.0:

https://ichard26.github.io/blog/2023/01/black-23.1.0/#better-default-for---target-version-if-pep-621-python-requires-is-available