From 9504fa4d9261fba1e1364a13cd39ddfd5f41b715 Mon Sep 17 00:00:00 2001 From: Sid <27780930+autinerd@users.noreply.github.com> Date: Mon, 7 Oct 2024 01:22:50 +0200 Subject: [PATCH] Remove ordering imports section in development guidelines (#2355) --- docs/development_guidelines.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/docs/development_guidelines.md b/docs/development_guidelines.md index 8de2e704..5efd0451 100644 --- a/docs/development_guidelines.md +++ b/docs/development_guidelines.md @@ -41,15 +41,6 @@ _LOGGER.error("No route to device: %s", self._resource) Do not print out API keys, tokens, usernames or passwords (even if they are wrong). Also note that `_LOGGER.info` is reserved for the core, use `_LOGGER.debug` for anything else. -### Ordering of imports - -Instead of ordering the imports manually, use [`isort`](https://github.com/PyCQA/isort). - -```shell -pip3 install isort -isort homeassistant/components/sensor/fixer.py -``` - ### Use new style string formatting Prefer [f-strings](https://docs.python.org/3/reference/lexical_analysis.html#f-strings) over `%` or `str.format`.