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:
parent
6c0fc65eaf
commit
b92350fb55
137 changed files with 58 additions and 209 deletions
|
@ -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?"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue