gecko-dev/tools/lint/python
Andrew Halberstadt c1bcd49b93 Bug 1473308 - [flake8] Pass custom extension list into the flake8 binary r=marco
We're supposed to be linting both .py and .configure files with flake8. However
we never inform flake8 of this fact.

So e.g running:
./mach lint -l flake8 mobile/android

Will not lint mobile/android/gradle.configure. However since flake8 will run on
a file regardless of its extension if you pass that file in directly, it means
that running:
./mach lint -l flake8 mobile/android/gradle.configure

*Will* cause the file to be linted (and subsequently fail). This fix makes sure
that flake8 knows to look at .configure files in addition to .py. Since this
means many .configure files around the tree will start getting linted for the
first time, we need to exclude them until they can be fixed.

Differential Revision: https://phabricator.services.mozilla.com/D1975

--HG--
extra : moz-landing-system : lando
2018-07-06 12:39:39 +00:00
..
__init__.py Bug 1460402 - Update the flake8 support to use the pip class r=ahal 2018-05-09 21:55:21 +02:00
check_compat.py
compat.py Bug 1436792 - [py-compat] Fix issue opening the temporary manifest on Windows, r=jmaher 2018-02-08 14:26:27 -05:00
flake8.py Bug 1473308 - [flake8] Pass custom extension list into the flake8 binary r=marco 2018-07-06 12:39:39 +00:00
flake8_requirements.txt Bug 1388721 - [lint] Support --fix in the flake8 linter via autopep8, r=sylvestre 2018-05-25 17:02:43 -04:00