mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user