[Python: flake8] Update the utils/python_lint.py script to fail with a non-zero exit code if flake8 and flake8-import-order are not installed.

This commit is contained in:
Ross Bayer
2020-02-03 11:07:29 -08:00
parent 7934cdf9c3
commit c096e29967
4 changed files with 4 additions and 20 deletions

View File

@@ -84,7 +84,7 @@ def lint(args, verbose=False):
if verbose:
print(_INSTALL_FLAKE8_MESSAGE)
return 0
return 1
return subprocess.call(
[sys.executable, '-m', 'flake8'] + args,