mirror of
https://github.com/home-assistant/core.git
synced 2025-08-30 23:51:03 +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
@@ -39,7 +39,6 @@ def printc(the_color, *args):
|
||||
|
||||
def validate_requirements_ok():
|
||||
"""Validate requirements, returns True of ok."""
|
||||
# pylint: disable=E0402
|
||||
from gen_requirements_all import main as req_main
|
||||
return req_main(True) == 0
|
||||
|
||||
@@ -70,7 +69,6 @@ async def async_exec(*args, display=False):
|
||||
'stderr': asyncio.subprocess.STDOUT}
|
||||
if display:
|
||||
kwargs['stderr'] = asyncio.subprocess.PIPE
|
||||
# pylint: disable=E1120
|
||||
proc = await asyncio.create_subprocess_exec(*args, **kwargs)
|
||||
except FileNotFoundError as err:
|
||||
printc(FAIL, "Could not execute {}. Did you install test requirements?"
|
||||
|
Reference in New Issue
Block a user