From 63d0a6f2f8e9e695a0afd30d366e9058c59e77fe Mon Sep 17 00:00:00 2001 From: Jan Morawiec Date: Sat, 5 Oct 2024 09:04:52 +0100 Subject: [PATCH] Update guidelines to reference Ruff instead of Black as the formatter (#2354) --- docs/development_guidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/development_guidelines.md b/docs/development_guidelines.md index 54e8cb19..8de2e704 100644 --- a/docs/development_guidelines.md +++ b/docs/development_guidelines.md @@ -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: