[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

@@ -1,10 +1,8 @@
// Continuous integration for the OS X Platform also runs the tests in the
// iPhone, Apple TV and Apple Watch simulators. We only need to run the
// build_swift module unit-tests once per OSX Platform test run, rather than
// once for each supported Apple device.
// Python lint once per OSX Platform test run, rather than once for each
// supported Apple device.
// UNSUPPORTED: OS=ios
// UNSUPPORTED: OS=tvos
// UNSUPPORTED: OS=watchos
// REQUIRES: OS=macosx
// RUN: %{python} %utils/python_lint.py