Для этого сайта требуется поддержка JavaScript.
Обзор
Помощь
Регистрация
Вход
mozilla
/
gecko-dev
зеркало из
https://github.com/mozilla/gecko-dev.git
Следить
1
В избранное
0
Форкнуть
Вы уже форкнули gecko-dev
0
Код
Задачи
Пакеты
Проекты
Релизы
Вики
Активность
c07f3f97e3
gecko-dev
/
.flake8
4 строки
54 B
Plaintext
Исходник
Обычный вид
История
Убрать экранирование
Экранировать
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-06 00:21:12 +03: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 17:37:27 +03:00
filename = *.py, +.lint