1316bd443d
Change-Id: I18a21e04d009afdee3afc2723afdbade24bfdf71
288 lines
3.9 KiB
INI
288 lines
3.9 KiB
INI
[MASTER]
|
|
|
|
extension-pkg-whitelist=netifaces,lxml
|
|
|
|
ignore=CVS
|
|
|
|
ignore-patterns=
|
|
|
|
jobs=1
|
|
|
|
limit-inference-results=100
|
|
|
|
load-plugins=
|
|
|
|
persistent=yes
|
|
|
|
suggestion-mode=yes
|
|
|
|
unsafe-load-any-extension=no
|
|
|
|
init-hook=import sys; sys.path.append('installer/')
|
|
|
|
[MESSAGES CONTROL]
|
|
|
|
confidence=
|
|
|
|
disable=missing-docstring,
|
|
invalid-name,
|
|
global-statement,
|
|
broad-except,
|
|
useless-object-inheritance,
|
|
useless-else-on-loop,
|
|
no-member,
|
|
arguments-differ,
|
|
redundant-keyword-arg,
|
|
cell-var-from-loop,
|
|
no-self-use,
|
|
consider-using-set-comprehension,
|
|
wrong-import-position,
|
|
wrong-import-order,
|
|
redefined-outer-name,
|
|
no-else-return,
|
|
assignment-from-no-return,
|
|
dangerous-default-value,
|
|
no-name-in-module,
|
|
function-redefined,
|
|
redefined-builtin,
|
|
unused-argument,
|
|
too-many-instance-attributes,
|
|
too-many-locals,
|
|
too-many-function-args,
|
|
too-many-branches,
|
|
too-many-arguments
|
|
|
|
enable=c-extension-no-member
|
|
|
|
|
|
[REPORTS]
|
|
|
|
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
|
|
|
|
output-format=text
|
|
|
|
reports=no
|
|
|
|
score=yes
|
|
|
|
|
|
[REFACTORING]
|
|
|
|
max-nested-blocks=10
|
|
|
|
never-returning-functions=sys.exit
|
|
|
|
|
|
[LOGGING]
|
|
|
|
logging-format-style=old
|
|
|
|
logging-modules=logging
|
|
|
|
|
|
[SPELLING]
|
|
|
|
max-spelling-suggestions=4
|
|
|
|
spelling-dict=
|
|
|
|
spelling-ignore-words=
|
|
|
|
spelling-private-dict-file=
|
|
|
|
spelling-store-unknown-words=no
|
|
|
|
|
|
[MISCELLANEOUS]
|
|
|
|
notes=XXX,
|
|
TODO
|
|
|
|
|
|
[TYPECHECK]
|
|
|
|
contextmanager-decorators=contextlib.contextmanager
|
|
|
|
generated-members=
|
|
|
|
ignore-mixin-members=yes
|
|
|
|
ignore-none=yes
|
|
|
|
ignore-on-opaque-inference=yes
|
|
|
|
missing-member-hint=yes
|
|
|
|
missing-member-hint-distance=1
|
|
|
|
missing-member-max-choices=1
|
|
|
|
|
|
[VARIABLES]
|
|
|
|
additional-builtins=mibBuilder,OPENSTACK_NEUTRON_NETWORK
|
|
|
|
allow-global-unused-variables=yes
|
|
|
|
callbacks=cb_,
|
|
_cb
|
|
|
|
dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_
|
|
|
|
ignored-argument-names=_.*|^ignored_|^unused_
|
|
|
|
init-import=no
|
|
|
|
redefining-builtins-modules=builtins,io
|
|
|
|
[FORMAT]
|
|
|
|
expected-line-ending-format=
|
|
|
|
ignore-long-lines=^\s*(# )?<?https?://\S+>?$
|
|
|
|
indent-after-paren=4
|
|
|
|
indent-string=' '
|
|
|
|
max-line-length=150
|
|
|
|
max-module-lines=2500
|
|
|
|
no-space-check=trailing-comma,
|
|
dict-separator
|
|
|
|
single-line-class-stmt=no
|
|
|
|
single-line-if-stmt=no
|
|
|
|
|
|
[SIMILARITIES]
|
|
|
|
ignore-comments=yes
|
|
|
|
ignore-docstrings=yes
|
|
|
|
ignore-imports=no
|
|
|
|
min-similarity-lines=10
|
|
|
|
|
|
[BASIC]
|
|
|
|
argument-naming-style=snake_case
|
|
|
|
attr-naming-style=snake_case
|
|
|
|
bad-names=foo,
|
|
bar,
|
|
baz,
|
|
toto,
|
|
tutu,
|
|
tata
|
|
|
|
class-attribute-naming-style=any
|
|
|
|
class-naming-style=PascalCase
|
|
|
|
const-naming-style=UPPER_CASE
|
|
|
|
docstring-min-length=-1
|
|
|
|
function-naming-style=snake_case
|
|
|
|
good-names=i,
|
|
j,
|
|
k,
|
|
ex,
|
|
Run,
|
|
_
|
|
|
|
include-naming-hint=yes
|
|
|
|
inlinevar-naming-style=any
|
|
|
|
method-naming-style=snake_case
|
|
|
|
module-naming-style=snake_case
|
|
|
|
name-group=
|
|
|
|
no-docstring-rgx=^_
|
|
|
|
property-classes=abc.abstractproperty
|
|
|
|
variable-naming-style=snake_case
|
|
|
|
|
|
[STRING]
|
|
|
|
check-str-concat-over-line-jumps=no
|
|
|
|
|
|
[IMPORTS]
|
|
|
|
allow-wildcard-with-all=no
|
|
|
|
analyse-fallback-blocks=no
|
|
|
|
deprecated-modules=optparse,tkinter.tix
|
|
|
|
ext-import-graph=
|
|
|
|
import-graph=
|
|
|
|
int-import-graph=
|
|
|
|
known-standard-library=
|
|
|
|
known-third-party=enchant
|
|
|
|
|
|
[CLASSES]
|
|
|
|
defining-attr-methods=__init__,
|
|
__new__,
|
|
setUp
|
|
|
|
exclude-protected=_asdict,
|
|
_fields,
|
|
_replace,
|
|
_source,
|
|
_make
|
|
|
|
valid-classmethod-first-arg=cls
|
|
|
|
valid-metaclass-classmethod-first-arg=cls
|
|
|
|
|
|
[DESIGN]
|
|
|
|
max-args=15
|
|
|
|
max-attributes=32
|
|
|
|
max-bool-expr=10
|
|
|
|
max-branches=80
|
|
|
|
max-locals=40
|
|
|
|
max-parents=12
|
|
|
|
additional-builtins=OPENSTACK_NEUTRON_NETWORK
|
|
|
|
max-public-methods=100
|
|
|
|
max-returns=50
|
|
|
|
max-statements=300
|
|
|
|
min-public-methods=0
|
|
|
|
|
|
[EXCEPTIONS]
|
|
|
|
overgeneral-exceptions=BaseException,
|
|
Exception
|