gecko-dev/tools/lint/test
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
..
files/flake8 Bug 1473308 - [flake8] Pass custom extension list into the flake8 binary r=marco 2018-07-06 12:39:39 +00:00
conftest.py Bug 1388721 - [lint] Support --fix in the flake8 linter via autopep8, r=sylvestre 2018-05-25 17:02:43 -04:00
python.ini Bug 1471620 - Skip python-tests locally that don't run with python 3 in CI r=davehunt 2018-06-27 11:10:02 -04:00
test_flake8.py Bug 1473308 - [flake8] Pass custom extension list into the flake8 binary r=marco 2018-07-06 12:39:39 +00:00