| [MASTER] |
|
|
| |
| |
| |
| extension-pkg-whitelist= |
|
|
| |
| |
| ignore=CVS |
|
|
| |
| |
| ignore-patterns= |
|
|
| |
| |
| |
|
|
| |
| |
| jobs=1 |
|
|
| |
| |
| |
| limit-inference-results=100 |
|
|
| |
| |
| load-plugins= |
|
|
| |
| persistent=yes |
|
|
| |
| |
|
|
| |
| |
| suggestion-mode=yes |
|
|
| |
| |
| unsafe-load-any-extension=no |
|
|
|
|
| [MESSAGES CONTROL] |
|
|
| |
| |
| confidence= |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| disable=print-statement, |
| parameter-unpacking, |
| unpacking-in-except, |
| old-raise-syntax, |
| backtick, |
| long-suffix, |
| old-ne-operator, |
| old-octal-literal, |
| import-star-module-level, |
| non-ascii-bytes-literal, |
| raw-checker-failed, |
| bad-inline-option, |
| locally-disabled, |
| locally-enabled, |
| file-ignored, |
| suppressed-message, |
| useless-suppression, |
| deprecated-pragma, |
| use-symbolic-message-instead, |
| apply-builtin, |
| basestring-builtin, |
| buffer-builtin, |
| cmp-builtin, |
| coerce-builtin, |
| execfile-builtin, |
| file-builtin, |
| long-builtin, |
| raw_input-builtin, |
| reduce-builtin, |
| standarderror-builtin, |
| unicode-builtin, |
| xrange-builtin, |
| coerce-method, |
| delslice-method, |
| getslice-method, |
| setslice-method, |
| no-absolute-import, |
| old-division, |
| dict-iter-method, |
| dict-view-method, |
| next-method-called, |
| metaclass-assignment, |
| indexing-exception, |
| raising-string, |
| reload-builtin, |
| oct-method, |
| hex-method, |
| nonzero-method, |
| cmp-method, |
| input-builtin, |
| round-builtin, |
| intern-builtin, |
| unichr-builtin, |
| map-builtin-not-iterating, |
| zip-builtin-not-iterating, |
| range-builtin-not-iterating, |
| filter-builtin-not-iterating, |
| using-cmp-argument, |
| eq-without-hash, |
| div-method, |
| idiv-method, |
| rdiv-method, |
| exception-message-attribute, |
| invalid-str-codec, |
| sys-max-int, |
| bad-python3-import, |
| deprecated-string-function, |
| deprecated-str-translate-call, |
| deprecated-itertools-function, |
| deprecated-types-field, |
| next-method-defined, |
| dict-items-not-iterating, |
| dict-keys-not-iterating, |
| dict-values-not-iterating, |
| deprecated-operator-function, |
| deprecated-urllib-function, |
| xreadlines-attribute, |
| deprecated-sys-function, |
| exception-escape, |
| comprehension-escape, |
| # Disabled due Black |
| bad-continuation, |
| bad-whitespace, |
| # We don't care about these |
| redundant-keyword-arg, |
| |
| # Enable the message, report, category or checker with the given id(s). You can |
| # either give multiple identifier separated by comma (,) or put this option |
| # multiple time (only on the command line, not in the configuration file where |
| # it should appear only once). See also the "--disable" option for examples. |
| enable=c-extension-no-member |
| |
| |
| [REPORTS] |
| |
| # Python expression which should return a note less than 10 (10 is the highest |
| # note). You have access to the variables errors warning, statement which |
| # respectively contain the number of errors / warnings messages and the total |
| # number of statements analyzed. This is used by the global evaluation report |
| # (RP0004). |
| evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) |
| |
| # Template used to display messages. This is a python new-style format string |
| # used to format the message information. See doc for all details. |
| #msg-template= |
| |
| # Set the output format. Available formats are text, parseable, colorized, json |
| # and msvs (visual studio). You can also give a reporter class, e.g. |
| # mypackage.mymodule.MyReporterClass. |
| output-format=text |
| |
| # Tells whether to display a full report or only the messages. |
| reports=no |
| |
| # Activate the evaluation score. |
| score=yes |
| |
| |
| [REFACTORING] |
| |
| # Maximum number of nested blocks for function / method body |
| max-nested-blocks=5 |
| |
| # Complete name of functions that never returns. When checking for |
| # inconsistent-return-statements if a never returning function is called then |
| # it will be considered as an explicit return statement and no message will be |
| # printed. |
| never-returning-functions=sys.exit |
| |
| |
| [LOGGING] |
| |
| # Logging modules to check that the string format arguments are in logging |
| # function parameter format. |
| logging-modules=logging |
| |
| |
| [SIMILARITIES] |
| |
| # Ignore comments when computing similarities. |
| ignore-comments=yes |
| |
| # Ignore docstrings when computing similarities. |
| ignore-docstrings=yes |
| |
| # Ignore imports when computing similarities. |
| ignore-imports=no |
| |
| # Minimum lines number of a similarity. |
| min-similarity-lines=4 |
| |
| |
| [MISCELLANEOUS] |
| |
| # List of note tags to take in consideration, separated by a comma. |
| notes=FIXME, |
| XXX, |
| TODO |
| |
| |
| [FORMAT] |
| |
| # Expected format of line ending, e.g. empty (any line ending), LF or CRLF. |
| expected-line-ending-format= |
| |
| # Regexp for a line that is allowed to be longer than the limit. |
| ignore-long-lines=^\s*(# )?<?https?://\S+>?$ |
| |
| # Number of spaces of indent required inside a hanging or continued line. |
| indent-after-paren=4 |
| |
| # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 |
| # tab). |
| indent-string=' ' |
| |
| # Maximum number of characters on a single line. |
| max-line-length=100 |
| |
| # Maximum number of lines in a module. |
| max-module-lines=1000 |
| |
| # List of optional constructs for which whitespace checking is disabled. `dict- |
| # separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}. |
| # `trailing-comma` allows a space between comma and closing bracket: (a, ). |
| # `empty-line` allows space-only lines. |
| no-space-check=trailing-comma, |
| dict-separator |
| |
| # Allow the body of a class to be on the same line as the declaration if body |
| # contains single statement. |
| single-line-class-stmt=no |
| |
| # Allow the body of an if to be on the same line as the test if there is no |
| # else. |
| single-line-if-stmt=no |
| |
| |
| [BASIC] |
| |
| # Naming style matching correct argument names. |
| argument-naming-style=snake_case |
| |
| # Regular expression matching correct argument names. Overrides argument- |
| # naming-style. |
| #argument-rgx= |
| |
| # Naming style matching correct attribute names. |
| attr-naming-style=snake_case |
| |
| # Regular expression matching correct attribute names. Overrides attr-naming- |
| # style. |
| #attr-rgx= |
| |
| # Bad variable names which should always be refused, separated by a comma. |
| bad-names=foo, |
| bar, |
| baz, |
| toto, |
| tutu, |
| tata |
| |
| # Naming style matching correct class attribute names. |
| class-attribute-naming-style=any |
| |
| # Regular expression matching correct class attribute names. Overrides class- |
| # attribute-naming-style. |
| #class-attribute-rgx= |
| |
| # Naming style matching correct class names. |
| class-naming-style=PascalCase |
| |
| # Regular expression matching correct class names. Overrides class-naming- |
| # style. |
| #class-rgx= |
| |
| # Naming style matching correct constant names. |
| const-naming-style=UPPER_CASE |
| |
| # Regular expression matching correct constant names. Overrides const-naming- |
| # style. |
| #const-rgx= |
| |
| # Minimum line length for functions/classes that require docstrings, shorter |
| # ones are exempt. |
| docstring-min-length=-1 |
| |
| # Naming style matching correct function names. |
| function-naming-style=snake_case |
| |
| # Regular expression matching correct function names. Overrides function- |
| # naming-style. |
| #function-rgx= |
| |
| # Good variable names which should always be accepted, separated by a comma. |
| good-names=f, |
| i, |
| j, |
| k, |
| s, |
| t, |
| ex, |
| Run, |
| _ |
| |
| # Include a hint for the correct naming format with invalid-name. |
| include-naming-hint=no |
| |
| # Naming style matching correct inline iteration names. |
| inlinevar-naming-style=any |
| |
| # Regular expression matching correct inline iteration names. Overrides |
| # inlinevar-naming-style. |
| #inlinevar-rgx= |
| |
| # Naming style matching correct method names. |
| method-naming-style=snake_case |
| |
| # Regular expression matching correct method names. Overrides method-naming- |
| # style. |
| #method-rgx= |
| |
| # Naming style matching correct module names. |
| module-naming-style=snake_case |
| |
| # Regular expression matching correct module names. Overrides module-naming- |
| # style. |
| #module-rgx= |
| |
| # Colon-delimited sets of names that determine each other's naming style when |
| |
| name-group= |
|
|
| |
| |
| no-docstring-rgx=^_ |
|
|
| |
| |
| |
| property-classes=abc.abstractproperty |
|
|
| |
| variable-naming-style=snake_case |
|
|
| |
| |
| variable-rgx=_?[a-z][A-Za-z0-9_]{0,30}$ |
| argument-rgx=_?[a-z][A-Za-z0-9_]{0,30}$ |
|
|
|
|
| [TYPECHECK] |
|
|
| |
| |
| |
| contextmanager-decorators=contextlib.contextmanager |
|
|
| |
| |
| |
| generated-members=torch.mm, |
| torch.diag, |
| torch.symeig, |
| torch.sqrt, |
| torch.cat, |
| cv2.cvtColor, |
| cv2.COLOR_BGR2YUV, |
| cv2.COLOR_YUV2BGR, |
|
|
| |
| |
| ignore-mixin-members=yes |
|
|
| |
| |
| ignore-none=yes |
|
|
| |
| |
| |
| |
| |
| |
| ignore-on-opaque-inference=yes |
|
|
| |
| |
| |
| ignored-classes=optparse.Values,thread._local,_thread._local |
|
|
| |
| |
| |
| |
| ignored-modules= |
|
|
| |
| |
| missing-member-hint=yes |
|
|
| |
| |
| missing-member-hint-distance=1 |
|
|
| |
| |
| missing-member-max-choices=1 |
|
|
|
|
| [VARIABLES] |
|
|
| |
| |
| additional-builtins= |
|
|
| |
| 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=six.moves,past.builtins,future.builtins,builtins,io |
|
|
|
|
| [SPELLING] |
|
|
| |
| max-spelling-suggestions=4 |
|
|
| |
| |
| |
| |
| |
| |
| |
| spelling-dict= |
|
|
| |
| spelling-ignore-words= |
|
|
| |
| spelling-private-dict-file= |
|
|
| |
| |
| spelling-store-unknown-words=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=5 |
|
|
| |
| max-attributes=7 |
|
|
| |
| max-bool-expr=5 |
|
|
| |
| max-branches=12 |
|
|
| |
| max-locals=15 |
|
|
| |
| max-parents=7 |
|
|
| |
| max-public-methods=20 |
|
|
| |
| max-returns=6 |
|
|
| |
| max-statements=50 |
|
|
| |
| min-public-methods=2 |
|
|
|
|
| [EXCEPTIONS] |
|
|
| |
| |
| overgeneral-exceptions=Exception |
|
|