mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-08 18:06:29 +00:00
Update guidelines to reference Ruff instead of Black as the formatter (#2354)
This commit is contained in:
parent
4332309a44
commit
63d0a6f2f8
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user