mirror of
https://github.com/home-assistant/core.git
synced 2025-12-25 05:26:47 +00:00
Isort preparations (#16555)
* Don't treat typing as an "in-between" module for import order That was a < 3.5 era thing. * Tighten scope of some pylint unused-import disables To avoid isort moving a top level one around, undesirably broadening its scope.
This commit is contained in:
committed by
Paulus Schoutsen
parent
a059cc860a
commit
ee696643cd
@@ -1,9 +1,7 @@
|
||||
"""Helper methods to handle the time in Home Assistant."""
|
||||
import datetime as dt
|
||||
import re
|
||||
|
||||
# pylint: disable=unused-import
|
||||
from typing import Any, Dict, Union, Optional, Tuple # NOQA
|
||||
from typing import Any, Dict, Union, Optional, Tuple # noqa pylint: disable=unused-import
|
||||
|
||||
import pytz
|
||||
import pytz.exceptions as pytzexceptions
|
||||
|
||||
Reference in New Issue
Block a user