53 lines
1.1 KiB
INI
53 lines
1.1 KiB
INI
# vim: ft=dosini fileencoding=utf-8:
|
|
|
|
[MASTER]
|
|
ignore=ez_setup.py
|
|
|
|
[MESSAGES CONTROL]
|
|
disable=no-self-use,
|
|
super-on-old-class,
|
|
old-style-class,
|
|
abstract-class-little-used,
|
|
bad-builtin,
|
|
star-args,
|
|
fixme,
|
|
global-statement,
|
|
no-init,
|
|
locally-disabled,
|
|
too-many-ancestors,
|
|
too-few-public-methods,
|
|
too-many-public-methods,
|
|
cyclic-import,
|
|
bad-option-value,
|
|
bad-continuation,
|
|
too-many-instance-attributes,
|
|
unnecessary-lambda
|
|
|
|
[BASIC]
|
|
module-rgx=(__)?[a-z][a-z0-9_]*(__)?$
|
|
function-rgx=([a-z_][a-z0-9_]{2,30}|setUpModule|tearDownModule)$
|
|
const-rgx=[A-Za-z_][A-Za-z0-9_]{0,30}$
|
|
method-rgx=[a-z_][A-Za-z0-9_]{2,40}$
|
|
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_]*$
|
|
bad-names=foo,tmp
|
|
|
|
[FORMAT]
|
|
max-line-length=79
|
|
ignore-long-lines=<?https?://
|
|
|
|
[SIMILARITIES]
|
|
min-similarity-lines=6
|
|
|
|
[VARIABLES]
|
|
dummy-variables-rgx=_.*
|
|
|
|
[CLASSES]
|
|
defining-attr-methods=__init__,__new__,setUp
|
|
|
|
[DESIGN]
|
|
max-args=10
|