fune/tools/lint/python
Andrew Halberstadt db9e1a5ab1 Bug 1367092 - [flake8] Take exclusion handling away from flake8, r=egao
The motivations for this are:

1) Apply global excludes. This merges the exclusion rules defined in
tools/lint/mach_commands.py with the ones in .flake8.

2) Improve performance. Switching to a blacklist will result in a much longer
runtime for linting the entire tree and flake8 handles exclusions incredibly
slowly. Without this patch (and the blacklist change applied), I gave up
waiting after 30 minutes. With this patch, it takes 30 seconds.

Depends on D20495

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

--HG--
rename : tools/lint/test/files/flake8/bad.py => tools/lint/test/files/flake8/subdir/exclude/bad.py
extra : moz-landing-system : lando
2019-02-22 22:16:57 +00:00
..
__init__.py Bug 1515746 - [lint] Remove duplicate flake8 implementation, r=egao 2019-02-07 20:16:36 +00:00
check_compat.py
compat.py Bug 1367092 - [lint] Move py2/py3 linter's exludes logic into mozlint, r=egao 2019-02-22 21:18:22 +00:00
flake8.py Bug 1367092 - [flake8] Take exclusion handling away from flake8, r=egao 2019-02-22 22:16:57 +00:00
flake8_requirements.txt Bug 1515746 - [flake8] Upgrade flake8 and dependencies, r=egao 2019-02-07 20:16:45 +00:00