Skip to content

Commit

Permalink
Bump isort to fix pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkGodwin committed Jan 29, 2023
1 parent bd9a674 commit 834b584
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ repos:
- --configfile=tests/bandit.yaml
files: ^(homeassistant|script|tests)/.+\.py$
- repo: https://github.com/PyCQA/isort
rev: 5.11.4
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/tplink_omada/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async def create_omada_client(


class HubInfo(NamedTuple):
"""Basic controller information."""
"""Discovered controller information."""

controller_id: str
name: str
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_pre_commit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ flake8-comprehensions==3.10.1
flake8-docstrings==1.6.0
flake8-noqa==1.3.0
flake8==6.0.0
isort==5.11.4
isort==5.12.0
mccabe==0.7.0
pycodestyle==2.10.0
pydocstyle==6.2.3
Expand Down
4 changes: 2 additions & 2 deletions tests/components/tplink_omada/test_config_flow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Test the TP-Link Omada config flow."""
"""Test the TP-Link Omada config flows."""
from unittest.mock import patch

from tplink_omada_client.exceptions import (
Expand All @@ -10,8 +10,8 @@
from tplink_omada_client.omadaclient import OmadaSite

from homeassistant import config_entries
from homeassistant.components.tplink_omada.const import DOMAIN
from homeassistant.components.tplink_omada.config_flow import HubInfo
from homeassistant.components.tplink_omada.const import DOMAIN
from homeassistant.core import HomeAssistant
from homeassistant.data_entry_flow import FlowResultType

Expand Down

0 comments on commit 834b584

Please sign in to comment.