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:
parent
afaa464142
commit
99c7608fb4
77 changed files with 92 additions and 126 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue