Bug 1169939 - Add a first pass at a pylintrc to the repo

Uses many of the defaults from prospector (used by landscape.io):
https://github.com/landscapeio/prospector/tree/master/prospector/profiles/profiles

...particularly those in `strictness_{veryhigh,high,medium}.yaml`

landscape.io will now use this file instead of its own defaults.
This commit is contained in:
Ed Morley 2015-05-30 17:26:25 +01:00
Родитель 16ef326225
Коммит e60a96bdf2
1 изменённых файлов: 38 добавлений и 0 удалений

38
pylintrc Normal file
Просмотреть файл

@ -0,0 +1,38 @@
[MESSAGES CONTROL]
disable=abstract-class-little-used,
bad-builtin,
bad-classmethod-argument,
bad-continuation,
bad-mcs-classmethod-argument,
bad-mcs-method-argument,
broad-except,
deprecated-lambda,
empty-docstring,
fixme,
invalid-name,
line-too-long,
missing-docstring,
no-init,
no-member,
no-name-in-module,
no-self-argument,
no-self-use,
relative-import,
star-args,
super-init-not-called,
too-few-public-methods,
too-many-ancestors,
too-many-arguments,
too-many-branches,
too-many-instance-attributes,
too-many-lines,
too-many-locals,
too-many-public-methods,
too-many-return-statements,
too-many-statements,
wildcard-import,
E1102,
E1103
[REPORTS]
reports=no