2014-06-19 09:04:37 +02:00
|
|
|
# vim: ft=dosini fileencoding=utf-8:
|
|
|
|
|
2014-05-15 08:11:00 +02:00
|
|
|
[MASTER]
|
2015-03-26 07:56:29 +01:00
|
|
|
ignore=resources.py
|
2015-01-20 00:02:35 +01:00
|
|
|
extension-pkg-whitelist=PyQt5,sip
|
2015-03-26 07:56:29 +01:00
|
|
|
load-plugins=pylint_checkers.config,
|
|
|
|
pylint_checkers.modeline,
|
|
|
|
pylint_checkers.openencoding,
|
|
|
|
pylint_checkers.settrace
|
2014-05-15 08:11:00 +02:00
|
|
|
|
2014-04-16 11:05:58 +02:00
|
|
|
[MESSAGES CONTROL]
|
|
|
|
disable=no-self-use,
|
|
|
|
bad-builtin,
|
|
|
|
fixme,
|
|
|
|
global-statement,
|
|
|
|
locally-disabled,
|
|
|
|
too-many-ancestors,
|
|
|
|
too-few-public-methods,
|
2014-04-28 00:05:14 +02:00
|
|
|
too-many-public-methods,
|
2014-04-29 08:38:01 +02:00
|
|
|
cyclic-import,
|
2014-05-19 04:10:56 +02:00
|
|
|
bad-continuation,
|
2014-06-17 07:19:16 +02:00
|
|
|
too-many-instance-attributes,
|
2014-08-05 21:09:55 +02:00
|
|
|
blacklisted-name,
|
2015-01-20 00:02:35 +01:00
|
|
|
too-many-lines,
|
2015-02-01 17:34:16 +01:00
|
|
|
logging-format-interpolation,
|
2015-03-11 20:14:39 +01:00
|
|
|
interface-not-implemented,
|
|
|
|
broad-except,
|
|
|
|
bare-except,
|
|
|
|
eval-used,
|
2015-06-11 16:41:36 +02:00
|
|
|
exec-used,
|
2015-11-30 07:16:24 +01:00
|
|
|
file-ignored,
|
|
|
|
wrong-import-order,
|
|
|
|
ungrouped-imports,
|
|
|
|
wrong-import-position,
|
|
|
|
redefined-variable-type
|
2014-04-16 11:05:58 +02:00
|
|
|
|
|
|
|
[BASIC]
|
2014-06-19 09:05:03 +02:00
|
|
|
module-rgx=(__)?[a-z][a-z0-9_]*(__)?$
|
2015-08-02 19:51:48 +02:00
|
|
|
function-rgx=([a-z_][a-z0-9_]{2,50}|setUpModule|tearDownModule)$
|
2014-04-16 11:05:58 +02:00
|
|
|
const-rgx=[A-Za-z_][A-Za-z0-9_]{0,30}$
|
2015-07-23 20:54:31 +02:00
|
|
|
method-rgx=[a-z_][A-Za-z0-9_]{2,50}$
|
2014-04-16 11:05:58 +02:00
|
|
|
attr-rgx=[a-z_][a-z0-9_]{0,30}$
|
|
|
|
argument-rgx=[a-z_][a-z0-9_]{0,30}$
|
|
|
|
variable-rgx=[a-z_][a-z0-9_]{0,30}$
|
|
|
|
class-attribute-rgx=[A-Za-z_][A-Za-z0-9_]{1,30}$
|
|
|
|
inlinevar-rgx=[a-z_][a-z0-9_]*$
|
2015-07-23 11:32:19 +02:00
|
|
|
docstring-min-length=3
|
2014-04-16 11:05:58 +02:00
|
|
|
|
|
|
|
[FORMAT]
|
|
|
|
max-line-length=79
|
|
|
|
ignore-long-lines=<?https?://
|
|
|
|
|
2014-04-16 16:16:29 +02:00
|
|
|
[SIMILARITIES]
|
2014-08-07 14:37:35 +02:00
|
|
|
min-similarity-lines=8
|
2014-04-16 16:16:29 +02:00
|
|
|
|
2014-04-16 11:05:58 +02:00
|
|
|
[VARIABLES]
|
2014-04-22 17:53:27 +02:00
|
|
|
dummy-variables-rgx=_.*
|
2014-04-16 11:05:58 +02:00
|
|
|
|
|
|
|
[CLASSES]
|
|
|
|
defining-attr-methods=__init__,__new__,setUp
|
|
|
|
|
|
|
|
[DESIGN]
|
|
|
|
max-args=10
|
2014-09-04 08:00:05 +02:00
|
|
|
|
|
|
|
[TYPECHECK]
|
2015-11-30 07:16:12 +01:00
|
|
|
# MsgType added as WORKAROUND for
|
|
|
|
# https://bitbucket.org/logilab/pylint/issues/690/
|
|
|
|
ignored-classes=WebElementWrapper,AnsiCodes,UnsetObject,MsgType
|