зеркало из https://github.com/mozilla/treeherder.git
Bug 1452420 - Update pylintrc to reduce noise
We don't run pylint in CI since it's slow and prone to false positives, however this updated config file makes it less noisy when running on an adhoc basis locally.
This commit is contained in:
Родитель
42acc29e6c
Коммит
164a1f8177
51
pylintrc
51
pylintrc
|
@ -1,25 +1,31 @@
|
|||
[MESSAGES CONTROL]
|
||||
disable=abstract-class-little-used,
|
||||
bad-builtin,
|
||||
bad-classmethod-argument,
|
||||
disable=
|
||||
# Rules that are unwanted, prone to false positives or a pain to fix.
|
||||
abstract-method,
|
||||
arguments-differ,
|
||||
attribute-defined-outside-init,
|
||||
bad-continuation,
|
||||
bad-mcs-classmethod-argument,
|
||||
bad-mcs-method-argument,
|
||||
broad-except,
|
||||
deprecated-lambda,
|
||||
empty-docstring,
|
||||
cyclic-import,
|
||||
duplicate-code,
|
||||
fixme,
|
||||
inconsistent-return-statements,
|
||||
invalid-name,
|
||||
line-too-long,
|
||||
misplaced-comparison-constant,
|
||||
missing-docstring,
|
||||
no-else-return,
|
||||
no-init,
|
||||
no-member,
|
||||
no-name-in-module,
|
||||
no-self-argument,
|
||||
no-self-use,
|
||||
not-an-iterable,
|
||||
not-callable,
|
||||
old-style-class,
|
||||
protected-access,
|
||||
redefined-argument-from-local,
|
||||
redefined-builtin,
|
||||
redefined-outer-name,
|
||||
relative-import,
|
||||
star-args,
|
||||
super-init-not-called,
|
||||
too-few-public-methods,
|
||||
too-many-ancestors,
|
||||
too-many-arguments,
|
||||
|
@ -30,9 +36,26 @@ disable=abstract-class-little-used,
|
|||
too-many-public-methods,
|
||||
too-many-return-statements,
|
||||
too-many-statements,
|
||||
unexpected-keyword-arg,
|
||||
ungrouped-imports,
|
||||
unsubscriptable-object,
|
||||
unused-argument,
|
||||
unused-wildcard-import,
|
||||
wildcard-import,
|
||||
E1102,
|
||||
E1103
|
||||
wrong-import-order,
|
||||
|
||||
# Rules only enabled in --py3k mode
|
||||
dict-keys-not-iterating,
|
||||
dict-values-not-iterating,
|
||||
eq-without-hash,
|
||||
filter-builtin-not-iterating,
|
||||
map-builtin-not-iterating,
|
||||
no-absolute-import,
|
||||
range-builtin-not-iterating,
|
||||
round-builtin,
|
||||
zip-builtin-not-iterating,
|
||||
|
||||
[REPORTS]
|
||||
reports=no
|
||||
msg-template={path}:{line},{column}: {msg} ({msg_id}: {symbol})
|
||||
output-format=colorized
|
||||
score=n
|
||||
|
|
Загрузка…
Ссылка в новой задаче