mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Lint config cleanups (#28864)
* Remove bunch of unneeded lint exclusions * Use symbolic names instead of identifiers in pylint disables * Tighten scope of some pylint disables
This commit is contained in:
committed by
Paulus Schoutsen
parent
afaa464142
commit
99c7608fb4
@@ -2,10 +2,8 @@
|
||||
from typing import Optional, Tuple, TYPE_CHECKING
|
||||
import jinja2
|
||||
|
||||
# pylint: disable=using-constant-test
|
||||
if TYPE_CHECKING:
|
||||
# pylint: disable=unused-import
|
||||
from .core import Context # noqa: F401
|
||||
from .core import Context # noqa: F401 pylint: disable=unused-import
|
||||
|
||||
|
||||
class HomeAssistantError(Exception):
|
||||
|
||||
Reference in New Issue
Block a user