1 changed file
.pylintrc | ||
Displayed content is truncated due to maximum viewable content limit.
Add comment 1 Minus [MASTER]
Add comment 1 Plus # vim:ts=4:sts=4:sw=4:et
Add comment 2 Plus #
Add comment 3 Plus # Author: Hari Sekhon
Add comment 4 Plus # Date: 2006-06-28 23:25:09 +0100 (Wed, 28 Jun 2006)
Add comment 5 Plus #
Add comment 6 Plus # https://github.com/HariSekhon/DevOps-Bash-tools
Add comment 7 Plus #
Add comment 8 Plus # License: see accompanying Hari Sekhon LICENSE file
Add comment 9 Plus #
Add comment 10 Plus # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
Add comment 11 Plus #
Add comment 12 Plus # https://www.linkedin.com/in/HariSekhon
Add comment 13 Plus #
Add comment 2 14
Add comment 3 Minus # Specify a configuration file.
Add comment 4 Minus #rcfile=
Add comment 15 Plus # ============================================================================ #
Add comment 16 Plus # P y L i n t C o n f i g
Add comment 17 Plus # ============================================================================ #
Add comment 5 18
Add comment 19 Plus # pylint --generate-rcfile >> .pylintrc
Add comment 20 Plus
Add comment 21 Plus [MAIN]
Add comment 22 Plus
Add comment 23 Plus # Analyse import fallback blocks. This can be used to support both Python 2 and
Add comment 24 Plus # 3 compatible code, which means that the block might have code that exists
Add comment 25 Plus # only in one or another interpreter, leading to false positives when analysed.
Add comment 26 Plus analyse-fallback-blocks=no
Add comment 27 Plus
Add comment 28 Plus # Clear in-memory caches upon conclusion of linting. Useful if running pylint
Add comment 29 Plus # in a server-like mode.
Add comment 30 Plus clear-cache-post-run=no
Add comment 31 Plus
Add comment 32 Plus # Load and enable all available extensions. Use --list-extensions to see a list
Add comment 33 Plus # all available extensions.
Add comment 34 Plus #enable-all-extensions=
Add comment 35 Plus
Add comment 36 Plus # In error mode, messages with a category besides ERROR or FATAL are
Add comment 37 Plus # suppressed, and no reports are done by default. Error mode is compatible with
Add comment 38 Plus # disabling specific errors.
Add comment 39 Plus #errors-only=
Add comment 40 Plus
Add comment 41 Plus # Always return a 0 (non-error) status code, even if lint errors are found.
Add comment 42 Plus # This is primarily useful in continuous integration scripts.
Add comment 43 Plus #exit-zero=
Add comment 44 Plus
Add comment 45 Plus # A comma-separated list of package or module names from where C extensions may
Add comment 46 Plus # be loaded. Extensions are loading into the active Python interpreter and may
Add comment 47 Plus # run arbitrary code.
Add comment 48 Plus extension-pkg-allow-list=
Add comment 49 Plus
Add comment 50 Plus # A comma-separated list of package or module names from where C extensions may
Add comment 51 Plus # be loaded. Extensions are loading into the active Python interpreter and may
Add comment 52 Plus # run arbitrary code. (This is an alternative name to extension-pkg-allow-list
Add comment 53 Plus # for backward compatibility.)
Add comment 54 Plus extension-pkg-whitelist=
Add comment 55 Plus
Add comment 56 Plus # Return non-zero exit code if any of these messages/categories are detected,
Add comment 57 Plus # even if score is above --fail-under value. Syntax same as enable. Messages
Add comment 58 Plus # specified are enabled, while categories only check already-enabled messages.
Add comment 59 Plus fail-on=
Add comment 60 Plus
Add comment 61 Plus # Specify a score threshold under which the program will exit with error.
Add comment 62 Plus fail-under=10
Add comment 63 Plus
Add comment 64 Plus # Interpret the stdin as a python script, whose filename needs to be passed as
Add comment 65 Plus # the module_or_package argument.
Add comment 66 Plus #from-stdin=
Add comment 67 Plus
Add comment 68 Plus # Files or directories to be skipped. They should be base names, not paths.
Add comment 69 Plus ignore=CVS
Add comment 70 Plus
Add comment 71 Plus # Add files or directories matching the regular expressions patterns to the
Add comment 72 Plus # ignore-list. The regex matches against paths and can be in Posix or Windows
Add comment 73 Plus # format. Because '\\' represents the directory delimiter on Windows systems,
Add comment 74 Plus # it can't be used as an escape character.
Add comment 75 Plus ignore-paths=
Add comment 76 Plus
Add comment 77 Plus # Files or directories matching the regular expression patterns are skipped.
Add comment 78 Plus # The regex matches against base names, not paths. The default value ignores
Add comment 79 Plus # Emacs file locks
Add comment 80 Plus ignore-patterns=^\.#
Add comment 81 Plus
Add comment 82 Plus # List of module names for which member attributes should not be checked
Add comment 83 Plus # (useful for modules/projects where namespaces are manipulated during runtime
Add comment 84 Plus # and thus existing member attributes cannot be deduced by static analysis). It
Add comment 85 Plus # supports qualified module names, as well as Unix pattern matching.
Add comment 86 Plus ignored-modules=
Add comment 87 Plus
Add comment 6 88 # Python code to execute, usually for sys.path manipulation such as
Add comment 7 89 # pygtk.require().
Add comment 8 90 #init-hook=
Add comment 9 91
Add comment 10 Minus # Add files or directories to the blacklist. They should be base names, not
Add comment 11 Minus # paths.
Add comment 12 Minus ignore=CVS
Add comment 92 Plus # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
Add comment 93 Plus # number of processors available to use, and will cap the count on Windows to
Add comment 94 Plus # avoid hangs.
Add comment 95 Plus jobs=1
Add comment 13 96
Add comment 14 Minus # Pickle collected data for later comparisons.
Add comment 15 Minus persistent=yes
Add comment 97 Plus # Control the amount of potential inferred values when inferring a single
Add comment 98 Plus # object. This can help the performance when dealing with large functions or
Add comment 99 Plus # complex, nested conditions.
Add comment 100 Plus limit-inference-results=100
Add comment 16 101
Add comment 17 Minus # List of plugins (as comma separated values of python modules names) to load,
Add comment 102 Plus # List of plugins (as comma separated values of python module names) to load,
Add comment 18 103 # usually to register additional checkers.
Add comment 19 104 load-plugins=
Add comment 20 105
Add comment 21 Minus # Use multiple processes to speed up Pylint.
Add comment 22 Minus jobs=1
Add comment 106 Plus # Pickle collected data for later comparisons.
Add comment 107 Plus persistent=yes
Add comment 23 108
Add comment 109 Plus # Minimum Python version to use for version dependent checks. Will default to
Add comment 110 Plus # the version used to run pylint.
Add comment 111 Plus py-version=3.11
Add comment 112 Plus
Add comment 113 Plus # Discover python modules and packages in the file system subtree.
Add comment 114 Plus recursive=no
Add comment 115 Plus
Add comment 116 Plus # Add paths to the list of the source roots. Supports globbing patterns. The
Add comment 117 Plus # source root is an absolute path or a path relative to the current working
Add comment 118 Plus # directory used to determine a package namespace for modules located under the
Add comment 119 Plus # source root.
Add comment 120 Plus source-roots=
Add comment 121 Plus
Add comment 122 Plus # When enabled, pylint would attempt to guess common misconfiguration and emit
Add comment 123 Plus # user-friendly hints instead of false-positive error messages.
Add comment 124 Plus suggestion-mode=yes
Add comment 125 Plus
Add comment 24 126 # Allow loading of arbitrary C extensions. Extensions are imported into the
Add comment 25 127 # active Python interpreter and may run arbitrary code.
Add comment 26 128 unsafe-load-any-extension=no
Add comment 27 129
Add comment 28 Minus # A comma-separated list of package or module names from where C extensions may
Add comment 29 Minus # be loaded. Extensions are loading into the active Python interpreter and may
Add comment 30 Minus # run arbitrary code
Add comment 31 Minus extension-pkg-whitelist=
Add comment 130 Plus # In verbose mode, extra non-checker-related info will be displayed.
Add comment 131 Plus #verbose=
Add comment 32 132
Add comment 33 Minus # Allow optimization of some AST trees. This will activate a peephole AST
Add comment 34 Minus # optimizer, which will apply various small optimizations. For instance, it can
Add comment 35 Minus # be used to obtain the result of joining multiple strings with the addition
Add comment 36 Minus # operator. Joining a lot of strings can lead to a maximum recursion error in
Add comment 37 Minus # Pylint and this flag can prevent that. It has one side effect, the resulting
Add comment 38 Minus # AST will be different than the one from reality.
Add comment 39 Minus optimize-ast=no
Add comment 40 133
Add comment 134 Plus [BASIC]
Add comment 41 135
Add comment 42 Minus [MESSAGES CONTROL]
Add comment 136 Plus # Naming style matching correct argument names.
Add comment 137 Plus argument-naming-style=snake_case
Add comment 43 138
Add comment 44 Minus # Only show warnings with the listed confidence levels. Leave empty to show
Add comment 45 Minus # all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED
Add comment 46 Minus confidence=
Add comment 139 Plus # Regular expression matching correct argument names. Overrides argument-
Add comment 140 Plus # naming-style. If left empty, argument names will be checked with the set
Add comment 141 Plus # naming style.
Add comment 142 Plus #argument-rgx=
Add comment 47 143
Add comment 48 Minus # Enable the message, report, category or checker with the given id(s). You can
Add comment 49 Minus # either give multiple identifier separated by comma (,) or put this option
Add comment 50 Minus # multiple time. See also the "--disable" option for examples.
Add comment 51 Minus #enable=
Add comment 144 Plus # Naming style matching correct attribute names.
Add comment 145 Plus attr-naming-style=snake_case
Add comment 52 146
Add comment 53 Minus # Disable the message, report, category or checker with the given id(s). You
Add comment 54 Minus # can either give multiple identifiers separated by comma (,) or put this
Add comment 55 Minus # option multiple times (only on the command line, not in the configuration
Add comment 56 Minus # file where it should appear only once).You can also use "--disable=all" to
Add comment 57 Minus # disable everything first and then reenable specific checks. For example, if
Add comment 58 Minus # you want to run only the similarities checker, you can use "--disable=all
Add comment 59 Minus # --enable=similarities". If you want to run only the classes checker, but have
Add comment 60 Minus # no Warning level messages displayed, use"--disable=all --enable=classes
Add comment 61 Minus # --disable=W"
Add comment 62 Minus disable=import-star-module-level,old-octal-literal,oct-method,print-statement,unpacking-in-except,parameter-unpacking,backtick,old-raise-syntax,old-ne-operator,long-suffix,dict-view-method,dict-iter-method,metaclass-assignment,next-method-called,raising-string,indexing-exception,raw_input-builtin,long-builtin,file-builtin,execfile-builtin,coerce-builtin,cmp-builtin,buffer-builtin,basestring-builtin,apply-builtin,filter-builtin-not-iterating,using-cmp-argument,useless-suppression,range-builtin-not-iterating,suppressed-message,no-absolute-import,old-division,cmp-method,reload-builtin,zip-builtin-not-iterating,intern-builtin,unichr-builtin,reduce-builtin,standarderror-builtin,unicode-builtin,xrange-builtin,coerce-method,delslice-method,getslice-method,setslice-method,input-builtin,round-builtin,hex-method,nonzero-method,map-builtin-not-iterating,C0111,consider-using-f-string
Add comment 147 Plus # Regular expression matching correct attribute names. Overrides attr-naming-
Add comment 148 Plus # style. If left empty, attribute names will be checked with the set naming
Add comment 149 Plus # style.
Add comment 150 Plus #attr-rgx=
Add comment 63 151
Add comment 152 Plus # Bad variable names which should always be refused, separated by a comma.
Add comment 153 Plus bad-names=foo,
Add comment 154 Plus bar,
Add comment 155 Plus baz,
Add comment 156 Plus toto,
Add comment 157 Plus tutu,
Add comment 158 Plus tata
Add comment 64 159
Add comment 65 Minus [REPORTS]
Add comment 160 Plus # Bad variable names regexes, separated by a comma. If names match any regex,
Add comment 161 Plus # they will always be refused
Add comment 162 Plus bad-names-rgxs=
Add comment 66 163
Add comment 67 Minus # Set the output format. Available formats are text, parseable, colorized, msvs
Add comment 68 Minus # (visual studio) and html. You can also give a reporter class, eg
Add comment 69 Minus # mypackage.mymodule.MyReporterClass.
Add comment 70 Minus output-format=text
Add comment 164 Plus # Naming style matching correct class attribute names.
Add comment 165 Plus class-attribute-naming-style=any
Add comment 71 166
Add comment 72 Minus # Put messages in a separate file for each module / package specified on the
Add comment 73 Minus # command line instead of printing them on stdout. Reports (if any) will be
Add comment 74 Minus # written in a file name "pylint_global.[txt|html]".
Add comment 75 Minus files-output=no
Add comment 167 Plus # Regular expression matching correct class attribute names. Overrides class-
Add comment 168 Plus # attribute-naming-style. If left empty, class attribute names will be checked
Add comment 169 Plus # with the set naming style.
Add comment 170 Plus #class-attribute-rgx=
Add comment 76 171
Add comment 77 Minus # Tells whether to display a full report or only the messages
Add comment 78 Minus reports=yes
Add comment 172 Plus # Naming style matching correct class constant names.
Add comment 173 Plus class-const-naming-style=UPPER_CASE
Add comment 79 174
Add comment 80 Minus # Python expression which should return a note less than 10 (10 is the highest
Add comment 81 Minus # note). You have access to the variables errors warning, statement which
Add comment 82 Minus # respectively contain the number of errors / warnings messages and the total
Add comment 83 Minus # number of statements analyzed. This is used by the global evaluation report
Add comment 84 Minus # (RP0004).
Add comment 85 Minus evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
Add comment 175 Plus # Regular expression matching correct class constant names. Overrides class-
Add comment 176 Plus # const-naming-style. If left empty, class constant names will be checked with
Add comment 177 Plus # the set naming style.
Add comment 178 Plus #class-const-rgx=
Add comment 86 179
Add comment 87 Minus # Template used to display messages. This is a python new-style format string
Add comment 88 Minus # used to format the message information. See doc for all details
Add comment 89 Minus #msg-template=
Add comment 180 Plus # Naming style matching correct class names.
Add comment 181 Plus class-naming-style=PascalCase
Add comment 90 182
Add comment 183 Plus # Regular expression matching correct class names. Overrides class-naming-
Add comment 184 Plus # style. If left empty, class names will be checked with the set naming style.
Add comment 185 Plus #class-rgx=
Add comment 91 186
Add comment 92 Minus [BASIC]
Add comment 187 Plus # Naming style matching correct constant names.
Add comment 188 Plus const-naming-style=UPPER_CASE
Add comment 93 189
Add comment 94 Minus # List of builtins function names that should not be used, separated by a comma
Add comment 95 Minus bad-functions=map,filter,input
Add comment 190 Plus # Regular expression matching correct constant names. Overrides const-naming-
Add comment 191 Plus # style. If left empty, constant names will be checked with the set naming
Add comment 192 Plus # style.
Add comment 193 Plus #const-rgx=
Add comment 96 194
Add comment 97 Minus # Good variable names which should always be accepted, separated by a comma
Add comment 98 Minus good-names=i,j,k,ex,Run,_
Add comment 195 Plus # Minimum line length for functions/classes that require docstrings, shorter
Add comment 196 Plus # ones are exempt.
Add comment 197 Plus docstring-min-length=-1
Add comment 99 198
Add comment 100 Minus # Bad variable names which should always be refused, separated by a comma
Add comment 101 Minus bad-names=foo,bar,baz,toto,tutu,tata
Add comment 199 Plus # Naming style matching correct function names.
Add comment 200 Plus function-naming-style=snake_case
Add comment 102 201
Add comment 202 Plus # Regular expression matching correct function names. Overrides function-
Add comment 203 Plus # naming-style. If left empty, function names will be checked with the set
Add comment 204 Plus # naming style.
Add comment 205 Plus #function-rgx=
Add comment 206 Plus
Add comment 207 Plus # Good variable names which should always be accepted, separated by a comma.
Add comment 208 Plus good-names=i,
Add comment 209 Plus j,
Add comment 210 Plus k,
Add comment 211 Plus ex,
Add comment 212 Plus Run,
Add comment 213 Plus _
Add comment 214 Plus
Add comment 215 Plus # Good variable names regexes, separated by a comma. If names match any regex,
Add comment 216 Plus # they will always be accepted
Add comment 217 Plus good-names-rgxs=
Add comment 218 Plus
Add comment 219 Plus # Include a hint for the correct naming format with invalid-name.
Add comment 220 Plus include-naming-hint=no
Add comment 221 Plus
Add comment 222 Plus # Naming style matching correct inline iteration names.
Add comment 223 Plus inlinevar-naming-style=any
Add comment 224 Plus
Add comment 225 Plus # Regular expression matching correct inline iteration names. Overrides
Add comment 226 Plus # inlinevar-naming-style. If left empty, inline iteration names will be checked
Add comment 227 Plus # with the set naming style.
Add comment 228 Plus #inlinevar-rgx=
Add comment 229 Plus
Add comment 230 Plus # Naming style matching correct method names.
Add comment 231 Plus method-naming-style=snake_case
Add comment 232 Plus
Add comment 233 Plus # Regular expression matching correct method names. Overrides method-naming-
Add comment 234 Plus # style. If left empty, method names will be checked with the set naming style.
Add comment 235 Plus #method-rgx=
Add comment 236 Plus
Add comment 237 Plus # Naming style matching correct module names.
Add comment 238 Plus module-naming-style=snake_case
Add comment 239 Plus
Add comment 240 Plus # Regular expression matching correct module names. Overrides module-naming-
Add comment 241 Plus # style. If left empty, module names will be checked with the set naming style.
Add comment 242 Plus #module-rgx=
Add comment 243 Plus
Add comment 103 244 # Colon-delimited sets of names that determine each other's naming style when
Add comment 104 245 # the name regexes allow several styles.
Add comment 105 246 name-group=
Add comment 106 247
Add comment 107 Minus # Include a hint for the correct naming format with invalid-name
Add comment 108 Minus include-naming-hint=no
Add comment 248 Plus # Regular expression which should only match function or class names that do
Add comment 249 Plus # not require a docstring.
Add comment 250 Plus no-docstring-rgx=^_
Add comment 109 251
Add comment 110 Minus # Regular expression matching correct function names
Add comment 111 Minus function-rgx=[A-Za-z_][A-Za-z0-9_]{2,30}$
Add comment 252 Plus # List of decorators that produce properties, such as abc.abstractproperty. Add
Add comment 253 Plus # to this list to register other decorators that produce valid properties.
Add comment 254 Plus # These decorators are taken in consideration only for invalid-name.
Add comment 255 Plus property-classes=abc.abstractproperty
Add comment 112 256
Add comment 113 Minus # Naming hint for function names
Add comment 114 Minus function-name-hint=[a-z_][a-z0-9_]{2,30}$
Add comment 257 Plus # Regular expression matching correct type alias names. If left empty, type
Add comment 258 Plus # alias names will be checked with the set naming style.
Add comment 259 Plus #typealias-rgx=
Add comment 115 260
Add comment 116 Minus # Regular expression matching correct variable names
Add comment 117 Minus variable-rgx=[a-z_][a-z0-9_]{2,30}$
Add comment 261 Plus # Regular expression matching correct type variable names. If left empty, type
Add comment 262 Plus # variable names will be checked with the set naming style.
Add comment 263 Plus #typevar-rgx=
Add comment 118 264
Add comment 119 Minus # Naming hint for variable names
Add comment 120 Minus variable-name-hint=[a-z_][a-z0-9_]{2,30}$
Add comment 265 Plus # Naming style matching correct variable names.
Add comment 266 Plus variable-naming-style=snake_case
Add comment 121 267
Add comment 122 Minus # Regular expression matching correct constant names
Add comment 123 Minus const-rgx=(([A-Za-z_][A-Za-z0-9_]*)|(__.*__))$
Add comment 268 Plus # Regular expression matching correct variable names. Overrides variable-
Add comment 269 Plus # naming-style. If left empty, variable names will be checked with the set
Add comment 270 Plus # naming style.
Add comment 271 Plus #variable-rgx=
Add comment 124 272
Add comment 125 Minus # Naming hint for constant names
Add comment 126 Minus const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$
Add comment 127 273
Add comment 128 Minus # Regular expression matching correct attribute names
Add comment 129 Minus attr-rgx=[a-z_][a-z0-9_]{2,30}$
Add comment 274 Plus [CLASSES]
Add comment 130 275
Add comment 131 Minus # Naming hint for attribute names
Add comment 132 Minus attr-name-hint=[a-z_][a-z0-9_]{2,30}$
Add comment 276 Plus # Warn about protected attribute access inside special methods
Add comment 277 Plus check-protected-access-in-special-methods=no
Add comment 133 278
Add comment 134 Minus # Regular expression matching correct argument names
Add comment 135 Minus argument-rgx=[a-z_][a-z0-9_]{2,30}$
Add comment 279 Plus # List of method names used to declare (i.e. assign) instance attributes.
Add comment 280 Plus defining-attr-methods=__init__,
Add comment 281 Plus __new__,
Add comment 282 Plus setUp,
Add comment 283 Plus asyncSetUp,
Add comment 284 Plus __post_init__
Add comment 136 285
Add comment 137 Minus # Naming hint for argument names
Add comment 138 Minus argument-name-hint=[a-z_][a-z0-9_]{2,30}$
Add comment 286 Plus # List of member names, which should be excluded from the protected access
Add comment 287 Plus # warning.
Add comment 288 Plus exclude-protected=_asdict,_fields,_replace,_source,_make,os._exit
Add comment 139 289
Add comment 140 Minus # Regular expression matching correct class attribute names
Add comment 141 Minus class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
Add comment 290 Plus # List of valid names for the first argument in a class method.
Add comment 291 Plus valid-classmethod-first-arg=cls
Add comment 142 292
Add comment 143 Minus # Naming hint for class attribute names
Add comment 144 Minus class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
Add comment 293 Plus # List of valid names for the first argument in a metaclass class method.
Add comment 294 Plus valid-metaclass-classmethod-first-arg=mcs
Add comment 145 295
Add comment 146 Minus # Regular expression matching correct inline iteration names
Add comment 147 Minus inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
Add comment 148 296
Add comment 149 Minus # Naming hint for inline iteration names
Add comment 150 Minus inlinevar-name-hint=[A-Za-z_][A-Za-z0-9_]*$
Add comment 297 Plus [DESIGN]
Add comment 151 298
Add comment 152 Minus # Regular expression matching correct class names
Add comment 153 Minus class-rgx=[A-Z_][a-zA-Z0-9]+$
Add comment 299 Plus # List of regular expressions of class ancestor names to ignore when counting
Add comment 300 Plus # public methods (see R0903)
Add comment 301 Plus exclude-too-few-public-methods=
Add comment 154 302
Add comment 155 Minus # Naming hint for class names
Add comment 156 Minus class-name-hint=[A-Z_][a-zA-Z0-9]+$
Add comment 303 Plus # List of qualified class names to ignore when counting class parents (see
Add comment 304 Plus # R0901)
Add comment 305 Plus ignored-parents=
Add comment 157 306
Add comment 158 Minus # Regular expression matching correct module names
Add comment 159 Minus module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
Add comment 307 Plus # Maximum number of arguments for function / method.
Add comment 308 Plus max-args=5
Add comment 160 309
Add comment 161 Minus # Naming hint for module names
Add comment 162 Minus module-name-hint=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
Add comment 310 Plus # Maximum number of attributes for a class (see R0902).
Add comment 311 Plus max-attributes=7
Add comment 163 312
Add comment 164 Minus # Regular expression matching correct method names
Add comment 165 Minus method-rgx=[a-z_][a-z0-9_]{2,30}$
Add comment 313 Plus # Maximum number of boolean expressions in an if statement (see R0916).
Add comment 314 Plus max-bool-expr=5
Add comment 166 315
Add comment 167 Minus # Naming hint for method names
Add comment 168 Minus method-name-hint=[a-z_][a-z0-9_]{2,30}$
Add comment 316 Plus # Maximum number of branch for function / method body.
Add comment 317 Plus max-branches=12
Add comment 318 Plus
Add comment 319 Plus # Maximum number of locals for function / method body.
Add comment 320 Plus max-locals=15
Add comment 321 Plus
Add comment 322 Plus # Maximum number of parents for a class (see R0901).
Add comment 323 Plus max-parents=7
Add comment 324 Plus
Add comment 325 Plus # Maximum number of public methods for a class (see R0904).
Add comment 326 Plus max-public-methods=20
Add comment 327 Plus
Add comment 328 Plus # Maximum number of return / yield for function / method body.
Add comment 329 Plus max-returns=6
Add comment 169 330
Add comment 170 Minus # Regular expression which should only match function or class names that do
Add comment 171 Minus # not require a docstring.
Add comment 172 Minus no-docstring-rgx=^_
Add comment 331 Plus # Maximum number of statements in function / method body.
Add comment 332 Plus max-statements=50
Add comment 173 333
Add comment 174 Minus # Minimum line length for functions/classes that require docstrings, shorter
Add comment 175 Minus # ones are exempt.
Add comment 176 Minus docstring-min-length=-1
Add comment 334 Plus # Minimum number of public methods for a class (see R0903).
Add comment 335 Plus min-public-methods=2
Add comment 177 336
Add comment 178 337
Add comment 179 Minus [ELIF]
Add comment 338 Plus [EXCEPTIONS]
Add comment 180 339
Add comment 181 Minus # Maximum number of nested blocks for function / method body
Add comment 182 Minus max-nested-blocks=5
Add comment 340 Plus # Exceptions that will emit a warning when caught.
Add comment 341 Plus overgeneral-exceptions=builtins.BaseException,builtins.Exception
Add comment 183 342
Add comment 184 343
Add comment 185 344 [FORMAT]
Add comment 186 345
Add comment 346 Plus # Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
Add comment 347 Plus expected-line-ending-format=
Add comment 348 Plus
Add comment 349 Plus # Regexp for a line that is allowed to be longer than the limit.
Add comment 350 Plus ignore-long-lines=^\s*(# )?<?https?://\S+>?$
Add comment 351 Plus
Add comment 352 Plus # Number of spaces of indent required inside a hanging or continued line.
Add comment 353 Plus indent-after-paren=4
Add comment 354 Plus
Add comment 355 Plus # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
Add comment 356 Plus # tab).
Add comment 357 Plus indent-string=' '
Add comment 358 Plus
Add comment 187 359 # Maximum number of characters on a single line.
Add comment 188 360 max-line-length=120
Add comment 189 361
Add comment 190 Minus # Regexp for a line that is allowed to be longer than the limit.
Add comment 191 Minus ignore-long-lines=^\s*(# )?<?https?://\S+>?$
Add comment 362 Plus # Maximum number of lines in a module.
Add comment 363 Plus max-module-lines=1000
Add comment 364 Plus
Add comment 365 Plus # Allow the body of a class to be on the same line as the declaration if body
Add comment 366 Plus # contains single statement.
Add comment 367 Plus single-line-class-stmt=no
Add comment 192 368
Add comment 193 369 # Allow the body of an if to be on the same line as the test if there is no
Add comment 194 370 # else.
Add comment 195 371 single-line-if-stmt=no
Add comment 196 372
Add comment 197 Minus # List of optional constructs for which whitespace checking is disabled. `dict-
Add comment 198 Minus # separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
Add comment 199 Minus # `trailing-comma` allows a space between comma and closing bracket: (a, ).
Add comment 200 Minus # `empty-line` allows space-only lines.
Add comment 201 Minus no-space-check=trailing-comma,dict-separator
Add comment 373 Plus
Add comment 374 Plus [IMPORTS]