mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 10:59:40 +00:00
Lint cleanup (#15103)
* Remove unneeded inline pylint disables * Remove unneeded noqa's * Use symbol names instead of message ids in inline pylint disables
This commit is contained in:
committed by
Paulus Schoutsen
parent
6c0fc65eaf
commit
b92350fb55
@@ -267,7 +267,7 @@ def dump_dict(layer, indent_count=3, listi=False, **kwargs):
|
||||
print(' ', indent_str, i)
|
||||
|
||||
|
||||
CheckConfigError = namedtuple( # pylint: disable=invalid-name
|
||||
CheckConfigError = namedtuple(
|
||||
'CheckConfigError', "message domain config")
|
||||
|
||||
|
||||
@@ -378,7 +378,6 @@ def check_ha_config_file(hass):
|
||||
|
||||
# Validate platform specific schema
|
||||
if hasattr(platform, 'PLATFORM_SCHEMA'):
|
||||
# pylint: disable=no-member
|
||||
try:
|
||||
p_validated = platform.PLATFORM_SCHEMA(p_validated)
|
||||
except vol.Invalid as ex:
|
||||
|
||||
Reference in New Issue
Block a user