@@ -152,7 +152,8 @@ disable=print-statement,
152152 redundant-keyword-arg,
153153 not-callable,
154154 unsubscriptable-object,
155- protected-access
155+ protected-access,
156+ invalid-metaclass
156157
157158# Enable the message, report, category or checker with the given id(s). You can
158159# either give multiple identifier separated by comma (,) or put this option
@@ -227,9 +228,13 @@ notes=FIXME,
227228contextmanager-decorators =contextlib.contextmanager
228229
229230# List of members which are set dynamically and missed by pylint inference
230- # system, and so shouldn't trigger E1101 (no-member) when accessed. Python regular
231- # expressions are accepted.
232- generated-members =_transform|self\.objects|self\._observers|subclasses|InteractiveDialog\.create
231+ # system, and so shouldn't trigger E1101 when accessed. Python regular
232+ # expressions are accepted. Things coming from a metaclass or a dynamic attribute set.
233+ # Can solve E1101: Class 'X' has no 'y' member (no-member)
234+ generated-members =_transform|self\.objects|self\._observers|subclasses|
235+ InteractiveDialog\.create|
236+ exception_msg|
237+ log_message
233238
234239# Tells whether missing members accessed in mixin class should be ignored. A
235240# mixin class is detected if its name ends with "mixin" (case insensitive).
@@ -357,6 +362,8 @@ function-naming-style=snake_case
357362# function-rgx=
358363
359364# Good variable names which should always be accepted, separated by a comma.
365+ # Can solves C0103: Variable name "x" doesn't conform to snake_case naming
366+ # style (invalid-name)
360367good-names =i,
361368 j,
362369 k,
@@ -373,7 +380,6 @@ good-names=i,
373380 REGEX,
374381 cookiecutter
375382
376-
377383# Good variable names regexes, separated by a comma. If names match any regex,
378384# they will always be accepted
379385good-names-rgxs =
@@ -521,14 +527,14 @@ callbacks=cb_,
521527# Here you make pylint ignore variable names that seem to be undefined.
522528# For example:
523529# * Variables inside try/except statements that can potentially be undefined
524- # * Variables that are part of templating (ie jinja, cookicutter )
530+ # * Variables that are part of templating (ie jinja, cookiecutter )
525531# and we expect them to be replaced at runtime, but statically seem erronouous for pylint
526532# E0602: Undefined variable '<variable_name>' (undefined-variable)
527533dummy-variables-rgx =cookiecutter|_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_
528534
529535# Argument names that match this expression will be ignored. Default to name
530536# with leading underscore.
531- ignored-argument-names =_.*|^ignored_|^unused_|args|kwargs
537+ ignored-argument-names =_.*|^ignored_|^unused_|args|kwargs|questions|answers
532538
533539# Tells whether we should check for unused import in __init__ files.
534540init-import =no
0 commit comments