This website requires JavaScript.
Explore
Help
Register
Sign In
Magic-Mirror
/
gecko-dev
Watch
1
Star
0
Fork
0
You've already forked gecko-dev
mirror of
https://github.com/mozilla/gecko-dev.git
synced
2024-11-05 16:46:26 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
7ec3a9741b
gecko-dev
/
.flake8
4 lines
54 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Bug 1270506 - [mozlint] Add python flake8 linter, r=smacleod For now, only the following two directories will be linted: python/mozlint tools/lint New directories can be added by adding them to the 'include' directive in tools/lint/flake8.lint. They all default to the configuration specified in topsrcdir/.flake8. Subdirectories can override this configuration by creating their own .flake8 file. MozReview-Commit-ID: Eag48Lnkp3l --HG-- extra : rebase_source : 6d98c9fef80055a48cc2622848aa04c3045b747e
2016-05-05 21:21:12 +00:00
[flake8]
max-line-length = 99
Bug 1283129 - Flake8 linter is accidentally linting some eslint related .lint files, r=maja_zf If you run |mach eslint| it will install a bunch of eslint related node_modules. Some of these modules have '.lint' files in them which erroneously get picked up by the flake8 linter. This patch makes sure that bare '.lint' files do not get included, they must have some kind of file name first. MozReview-Commit-ID: IvBfErnV6jm --HG-- extra : rebase_source : f8d7aea88a68d830b06c4591ac6862b02554d21c
2016-06-29 14:37:27 +00:00
filename = *.py, +.lint
Reference in New Issue
Copy Permalink