mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-13 04:16:29 +00:00
Add isort section (#49)
This commit is contained in:
parent
9957ed41af
commit
36a01de7d1
@ -72,3 +72,12 @@ _LOGGER.error("No route to device: %s", self._resource)
|
|||||||
|
|
||||||
Don't print out wrong API keys, tokens, usernames, or passwords.
|
Don't print out wrong API keys, tokens, usernames, or passwords.
|
||||||
Also note that `_LOGGER.info` is reserved for the core, use `_LOGGER.debug` in anything else.
|
Also note that `_LOGGER.info` is reserved for the core, use `_LOGGER.debug` in anything else.
|
||||||
|
|
||||||
|
### Ordering of imports
|
||||||
|
|
||||||
|
Instead of order the imports manually, use [`isort`](https://github.com/timothycrosley/isort).
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ pip3 install isort
|
||||||
|
$ isort homeassistant/components/sensor/fixer.py
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user