Make python_lint.py fail if required modules are not found

Previously, it returned 0 in such a case, which is considered as a
successful exit.
This commit is contained in:
Manav Rathi
2017-09-23 16:58:47 +05:30
parent 0aa935c77d
commit ffd3b7832f

View File

@@ -33,7 +33,7 @@ You can install these using:
python -m pip install flake8-import-order
For more help, see http://flake8.pycqa.org.""")
return 0
return flake8_result
utils_directory = os.path.dirname(os.path.abspath(__file__))
parent_directory = os.path.dirname(utils_directory)