mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Upgrade isort to 5.5.0 (#39639)
This commit is contained in:
parent
ed3e04b9ed
commit
fdb737d1d9
@ -38,8 +38,8 @@ repos:
|
|||||||
- --format=custom
|
- --format=custom
|
||||||
- --configfile=tests/bandit.yaml
|
- --configfile=tests/bandit.yaml
|
||||||
files: ^(homeassistant|script|tests)/.+\.py$
|
files: ^(homeassistant|script|tests)/.+\.py$
|
||||||
- repo: https://github.com/timothycrosley/isort
|
- repo: https://github.com/PyCQA/isort
|
||||||
rev: 5.4.2
|
rev: 5.5.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
@ -8,7 +8,6 @@ from homeassistant import config_entries, core
|
|||||||
from homeassistant.const import CONF_EMAIL, CONF_PASSWORD, CONF_TIMEOUT
|
from homeassistant.const import CONF_EMAIL, CONF_PASSWORD, CONF_TIMEOUT
|
||||||
|
|
||||||
from .const import ACTIVE_UPDATE_RATE, DEFAULT_TIMEOUT, SENSE_TIMEOUT_EXCEPTIONS
|
from .const import ACTIVE_UPDATE_RATE, DEFAULT_TIMEOUT, SENSE_TIMEOUT_EXCEPTIONS
|
||||||
|
|
||||||
from .const import DOMAIN # pylint:disable=unused-import; pylint:disable=unused-import
|
from .const import DOMAIN # pylint:disable=unused-import; pylint:disable=unused-import
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
@ -5,7 +5,7 @@ black==20.8b1
|
|||||||
codespell==1.17.1
|
codespell==1.17.1
|
||||||
flake8-docstrings==1.5.0
|
flake8-docstrings==1.5.0
|
||||||
flake8==3.8.3
|
flake8==3.8.3
|
||||||
isort==5.4.2
|
isort==5.5.0
|
||||||
pydocstyle==5.1.1
|
pydocstyle==5.1.1
|
||||||
pyupgrade==2.7.2
|
pyupgrade==2.7.2
|
||||||
yamllint==1.24.2
|
yamllint==1.24.2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user