Update guidelines to reference Ruff instead of Black as the formatter (#2354)

This commit is contained in:
Jan Morawiec 2024-10-05 09:04:52 +01:00 committed by GitHub
parent 4332309a44
commit 63d0a6f2f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@ title: "Style guidelines"
Home Assistant enforces quite strict [PEP8 style](https://peps.python.org/pep-0008/) and [PEP 257 (Docstring Conventions)](https://peps.python.org/pep-0257/) compliance on all code submitted.
We use [Black](https://github.com/psf/black) for uncompromised code formatting. Every pull request is automatically checked as part of the linting process and we never merge submissions that diverge.
We use [Ruff](https://docs.astral.sh/ruff/) for code formatting. Every pull request is automatically checked as part of the linting process and we never merge submissions that diverge.
Summary of the most relevant points: