OpenSCAP /
oval-graph
| 1 | [MASTER] |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 2 | |||
| 3 | # A comma-separated list of package or module names from where C extensions may |
||
| 4 | # be loaded. Extensions are loading into the active Python interpreter and may |
||
| 5 | # run arbitrary code. |
||
| 6 | extension-pkg-whitelist=lxml |
||
| 7 | |||
| 8 | # Specify a score threshold to be exceeded before program exits with error. |
||
| 9 | fail-under=10 |
||
| 10 | |||
| 11 | # Add files or directories to the blacklist. They should be base names, not |
||
| 12 | # paths. |
||
| 13 | ignore=CVS |
||
| 14 | |||
| 15 | # Add files or directories matching the regex patterns to the blacklist. The |
||
| 16 | # regex matches against base names, not paths. |
||
| 17 | ignore-patterns= |
||
| 18 | |||
| 19 | # Python code to execute, usually for sys.path manipulation such as |
||
| 20 | # pygtk.require(). |
||
| 21 | #init-hook= |
||
| 22 | |||
| 23 | # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the |
||
| 24 | # number of processors available to use. |
||
| 25 | jobs=1 |
||
| 26 | |||
| 27 | # Control the amount of potential inferred values when inferring a single |
||
| 28 | # object. This can help the performance when dealing with large functions or |
||
| 29 | # complex, nested conditions. |
||
| 30 | limit-inference-results=100 |
||
| 31 | |||
| 32 | # List of plugins (as comma separated values of python module names) to load, |
||
| 33 | # usually to register additional checkers. |
||
| 34 | load-plugins= |
||
| 35 | |||
| 36 | # Pickle collected data for later comparisons. |
||
| 37 | persistent=yes |
||
| 38 | |||
| 39 | # When enabled, pylint would attempt to guess common misconfiguration and emit |
||
| 40 | # user-friendly hints instead of false-positive error messages. |
||
| 41 | suggestion-mode=yes |
||
| 42 | |||
| 43 | # Allow loading of arbitrary C extensions. Extensions are imported into the |
||
| 44 | # active Python interpreter and may run arbitrary code. |
||
| 45 | unsafe-load-any-extension=no |
||
| 46 | |||
| 47 | |||
| 48 | [MESSAGES CONTROL] |
||
| 49 | |||
| 50 | # Only show warnings with the listed confidence levels. Leave empty to show |
||
| 51 | # all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED. |
||
| 52 | confidence= |
||
| 53 | |||
| 54 | # Disable the message, report, category or checker with the given id(s). You |
||
| 55 | # can either give multiple identifiers separated by comma (,) or put this |
||
| 56 | # option multiple times (only on the command line, not in the configuration |
||
| 57 | # file where it should appear only once). You can also use "--disable=all" to |
||
| 58 | # disable everything first and then reenable specific checks. For example, if |
||
| 59 | # you want to run only the similarities checker, you can use "--disable=all |
||
| 60 | # --enable=similarities". If you want to run only the classes checker, but have |
||
| 61 | # no Warning level messages displayed, use "--disable=all --enable=classes |
||
| 62 | # --disable=W". |
||
| 63 | disable=missing-function-docstring, |
||
| 64 | missing-class-docstring, |
||
| 65 | missing-module-docstring, |
||
| 66 | print-statement, |
||
| 67 | parameter-unpacking, |
||
| 68 | unpacking-in-except, |
||
| 69 | old-raise-syntax, |
||
| 70 | backtick, |
||
| 71 | long-suffix, |
||
| 72 | old-ne-operator, |
||
| 73 | old-octal-literal, |
||
| 74 | import-star-module-level, |
||
| 75 | non-ascii-bytes-literal, |
||
| 76 | raw-checker-failed, |
||
| 77 | bad-inline-option, |
||
| 78 | locally-disabled, |
||
| 79 | file-ignored, |
||
| 80 | suppressed-message, |
||
| 81 | useless-suppression, |
||
| 82 | deprecated-pragma, |
||
| 83 | use-symbolic-message-instead, |
||
| 84 | apply-builtin, |
||
| 85 | basestring-builtin, |
||
| 86 | buffer-builtin, |
||
| 87 | cmp-builtin, |
||
| 88 | coerce-builtin, |
||
| 89 | execfile-builtin, |
||
| 90 | file-builtin, |
||
| 91 | long-builtin, |
||
| 92 | raw_input-builtin, |
||
| 93 | reduce-builtin, |
||
| 94 | standarderror-builtin, |
||
| 95 | unicode-builtin, |
||
| 96 | xrange-builtin, |
||
| 97 | coerce-method, |
||
| 98 | delslice-method, |
||
| 99 | getslice-method, |
||
| 100 | setslice-method, |
||
| 101 | no-absolute-import, |
||
| 102 | old-division, |
||
| 103 | dict-iter-method, |
||
| 104 | dict-view-method, |
||
| 105 | next-method-called, |
||
| 106 | metaclass-assignment, |
||
| 107 | indexing-exception, |
||
| 108 | raising-string, |
||
| 109 | reload-builtin, |
||
| 110 | oct-method, |
||
| 111 | hex-method, |
||
| 112 | nonzero-method, |
||
| 113 | cmp-method, |
||
| 114 | input-builtin, |
||
| 115 | round-builtin, |
||
| 116 | intern-builtin, |
||
| 117 | unichr-builtin, |
||
| 118 | map-builtin-not-iterating, |
||
| 119 | zip-builtin-not-iterating, |
||
| 120 | range-builtin-not-iterating, |
||
| 121 | filter-builtin-not-iterating, |
||
| 122 | using-cmp-argument, |
||
| 123 | eq-without-hash, |
||
| 124 | div-method, |
||
| 125 | idiv-method, |
||
| 126 | rdiv-method, |
||
| 127 | exception-message-attribute, |
||
| 128 | invalid-str-codec, |
||
| 129 | sys-max-int, |
||
| 130 | bad-python3-import, |
||
| 131 | deprecated-string-function, |
||
| 132 | deprecated-str-translate-call, |
||
| 133 | deprecated-itertools-function, |
||
| 134 | deprecated-types-field, |
||
| 135 | next-method-defined, |
||
| 136 | dict-items-not-iterating, |
||
| 137 | dict-keys-not-iterating, |
||
| 138 | dict-values-not-iterating, |
||
| 139 | deprecated-operator-function, |
||
| 140 | deprecated-urllib-function, |
||
| 141 | xreadlines-attribute, |
||
| 142 | deprecated-sys-function, |
||
| 143 | exception-escape, |
||
| 144 | comprehension-escape |
||
| 145 | |||
| 146 | # Enable the message, report, category or checker with the given id(s). You can |
||
| 147 | # either give multiple identifier separated by comma (,) or put this option |
||
| 148 | # multiple time (only on the command line, not in the configuration file where |
||
| 149 | # it should appear only once). See also the "--disable" option for examples. |
||
| 150 | enable=c-extension-no-member |
||
| 151 | |||
| 152 | |||
| 153 | [REPORTS] |
||
| 154 | |||
| 155 | # Python expression which should return a score less than or equal to 10. You |
||
| 156 | # have access to the variables 'error', 'warning', 'refactor', and 'convention' |
||
| 157 | # which contain the number of messages in each category, as well as 'statement' |
||
| 158 | # which is the total number of statements analyzed. This score is used by the |
||
| 159 | # global evaluation report (RP0004). |
||
| 160 | evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) |
||
| 161 | |||
| 162 | # Template used to display messages. This is a python new-style format string |
||
| 163 | # used to format the message information. See doc for all details. |
||
| 164 | #msg-template= |
||
| 165 | |||
| 166 | # Set the output format. Available formats are text, parseable, colorized, json |
||
| 167 | # and msvs (visual studio). You can also give a reporter class, e.g. |
||
| 168 | # mypackage.mymodule.MyReporterClass. |
||
| 169 | output-format=text |
||
| 170 | |||
| 171 | # Tells whether to display a full report or only the messages. |
||
| 172 | reports=no |
||
| 173 | |||
| 174 | # Activate the evaluation score. |
||
| 175 | score=yes |
||
| 176 | |||
| 177 | |||
| 178 | [REFACTORING] |
||
| 179 | |||
| 180 | # Maximum number of nested blocks for function / method body |
||
| 181 | max-nested-blocks=5 |
||
| 182 | |||
| 183 | # Complete name of functions that never returns. When checking for |
||
| 184 | # inconsistent-return-statements if a never returning function is called then |
||
| 185 | # it will be considered as an explicit return statement and no message will be |
||
| 186 | # printed. |
||
| 187 | never-returning-functions=sys.exit |
||
| 188 | |||
| 189 | |||
| 190 | [TYPECHECK] |
||
| 191 | |||
| 192 | # List of decorators that produce context managers, such as |
||
| 193 | # contextlib.contextmanager. Add to this list to register other decorators that |
||
| 194 | # produce valid context managers. |
||
| 195 | contextmanager-decorators=contextlib.contextmanager |
||
| 196 | |||
| 197 | # List of members which are set dynamically and missed by pylint inference |
||
| 198 | # system, and so shouldn't trigger E1101 when accessed. Python regular |
||
| 199 | # expressions are accepted. |
||
| 200 | generated-members= |
||
| 201 | |||
| 202 | # Tells whether missing members accessed in mixin class should be ignored. A |
||
| 203 | # mixin class is detected if its name ends with "mixin" (case insensitive). |
||
| 204 | ignore-mixin-members=yes |
||
| 205 | |||
| 206 | # Tells whether to warn about missing members when the owner of the attribute |
||
| 207 | # is inferred to be None. |
||
| 208 | ignore-none=yes |
||
| 209 | |||
| 210 | # This flag controls whether pylint should warn about no-member and similar |
||
| 211 | # checks whenever an opaque object is returned when inferring. The inference |
||
| 212 | # can return multiple potential results while evaluating a Python object, but |
||
| 213 | # some branches might not be evaluated, which results in partial inference. In |
||
| 214 | # that case, it might be useful to still emit no-member and other checks for |
||
| 215 | # the rest of the inferred objects. |
||
| 216 | ignore-on-opaque-inference=yes |
||
| 217 | |||
| 218 | # List of class names for which member attributes should not be checked (useful |
||
| 219 | # for classes with dynamically set attributes). This supports the use of |
||
| 220 | # qualified names. |
||
| 221 | ignored-classes=optparse.Values,thread._local,_thread._local |
||
| 222 | |||
| 223 | # List of module names for which member attributes should not be checked |
||
| 224 | # (useful for modules/projects where namespaces are manipulated during runtime |
||
| 225 | # and thus existing member attributes cannot be deduced by static analysis). It |
||
| 226 | # supports qualified module names, as well as Unix pattern matching. |
||
| 227 | ignored-modules= |
||
| 228 | |||
| 229 | # Show a hint with possible names when a member name was not found. The aspect |
||
| 230 | # of finding the hint is based on edit distance. |
||
| 231 | missing-member-hint=yes |
||
| 232 | |||
| 233 | # The minimum edit distance a name should have in order to be considered a |
||
| 234 | # similar match for a missing member name. |
||
| 235 | missing-member-hint-distance=1 |
||
| 236 | |||
| 237 | # The total number of similar names that should be taken in consideration when |
||
| 238 | # showing a hint for a missing member. |
||
| 239 | missing-member-max-choices=1 |
||
| 240 | |||
| 241 | # List of decorators that change the signature of a decorated function. |
||
| 242 | signature-mutators= |
||
| 243 | |||
| 244 | |||
| 245 | [LOGGING] |
||
| 246 | |||
| 247 | # The type of string formatting that logging methods do. `old` means using % |
||
| 248 | # formatting, `new` is for `{}` formatting. |
||
| 249 | logging-format-style=old |
||
| 250 | |||
| 251 | # Logging modules to check that the string format arguments are in logging |
||
| 252 | # function parameter format. |
||
| 253 | logging-modules=logging |
||
| 254 | |||
| 255 | |||
| 256 | [SIMILARITIES] |
||
| 257 | |||
| 258 | # Ignore comments when computing similarities. |
||
| 259 | ignore-comments=yes |
||
| 260 | |||
| 261 | # Ignore docstrings when computing similarities. |
||
| 262 | ignore-docstrings=yes |
||
| 263 | |||
| 264 | # Ignore imports when computing similarities. |
||
| 265 | ignore-imports=no |
||
| 266 | |||
| 267 | # Minimum lines number of a similarity. |
||
| 268 | min-similarity-lines=4 |
||
| 269 | |||
| 270 | |||
| 271 | [STRING] |
||
| 272 | |||
| 273 | # This flag controls whether inconsistent-quotes generates a warning when the |
||
| 274 | # character used as a quote delimiter is used inconsistently within a module. |
||
| 275 | check-quote-consistency=no |
||
| 276 | |||
| 277 | # This flag controls whether the implicit-str-concat should generate a warning |
||
| 278 | # on implicit string concatenation in sequences defined over several lines. |
||
| 279 | check-str-concat-over-line-jumps=no |
||
| 280 | |||
| 281 | |||
| 282 | [MISCELLANEOUS] |
||
| 283 | |||
| 284 | # List of note tags to take in consideration, separated by a comma. |
||
| 285 | notes=FIXME, |
||
| 286 | XXX, |
||
| 287 | TODO |
||
| 288 | |||
| 289 | # Regular expression of note tags to take in consideration. |
||
| 290 | #notes-rgx= |
||
| 291 | |||
| 292 | |||
| 293 | [SPELLING] |
||
| 294 | |||
| 295 | # Limits count of emitted suggestions for spelling mistakes. |
||
| 296 | max-spelling-suggestions=4 |
||
| 297 | |||
| 298 | # Spelling dictionary name. Available dictionaries: en_IE (myspell), en_MW |
||
| 299 | # (myspell), en_ZM (myspell), en_NZ (myspell), en_AG (myspell), en_NA |
||
| 300 | # (myspell), en_IN (myspell), en_TT (myspell), en_ZW (myspell), en_DK |
||
| 301 | # (myspell), en_HK (myspell), en_BW (myspell), cs_CZ (myspell), en_BS |
||
| 302 | # (myspell), en_NG (myspell), en_BZ (myspell), en_CA (myspell), en_US |
||
| 303 | # (myspell), en_GB (myspell), en_PH (myspell), en_ZA (myspell), en_AU |
||
| 304 | # (myspell), en_SG (myspell), en_GH (myspell), en_JM (myspell). |
||
| 305 | spelling-dict= |
||
| 306 | |||
| 307 | # List of comma separated words that should not be checked. |
||
| 308 | spelling-ignore-words= |
||
| 309 | |||
| 310 | # A path to a file that contains the private dictionary; one word per line. |
||
| 311 | spelling-private-dict-file= |
||
| 312 | |||
| 313 | # Tells whether to store unknown words to the private dictionary (see the |
||
| 314 | # --spelling-private-dict-file option) instead of raising a message. |
||
| 315 | spelling-store-unknown-words=no |
||
| 316 | |||
| 317 | |||
| 318 | [FORMAT] |
||
| 319 | |||
| 320 | # Expected format of line ending, e.g. empty (any line ending), LF or CRLF. |
||
| 321 | expected-line-ending-format= |
||
| 322 | |||
| 323 | # Regexp for a line that is allowed to be longer than the limit. |
||
| 324 | ignore-long-lines=^\s*(# )?<?https?://\S+>?$ |
||
| 325 | |||
| 326 | # Number of spaces of indent required inside a hanging or continued line. |
||
| 327 | indent-after-paren=4 |
||
| 328 | |||
| 329 | # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 |
||
| 330 | # tab). |
||
| 331 | indent-string=' ' |
||
| 332 | |||
| 333 | # Maximum number of characters on a single line. |
||
| 334 | max-line-length=100 |
||
| 335 | |||
| 336 | # Maximum number of lines in a module. |
||
| 337 | max-module-lines=1000 |
||
| 338 | |||
| 339 | # List of optional constructs for which whitespace checking is disabled. `dict- |
||
| 340 | # separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}. |
||
| 341 | # `trailing-comma` allows a space between comma and closing bracket: (a, ). |
||
| 342 | # `empty-line` allows space-only lines. |
||
| 343 | no-space-check=trailing-comma, |
||
| 344 | dict-separator |
||
| 345 | |||
| 346 | # Allow the body of a class to be on the same line as the declaration if body |
||
| 347 | # contains single statement. |
||
| 348 | single-line-class-stmt=no |
||
| 349 | |||
| 350 | # Allow the body of an if to be on the same line as the test if there is no |
||
| 351 | # else. |
||
| 352 | single-line-if-stmt=no |
||
| 353 | |||
| 354 | |||
| 355 | [VARIABLES] |
||
| 356 | |||
| 357 | # List of additional names supposed to be defined in builtins. Remember that |
||
| 358 | # you should avoid defining new builtins when possible. |
||
| 359 | additional-builtins= |
||
| 360 | |||
| 361 | # Tells whether unused global variables should be treated as a violation. |
||
| 362 | allow-global-unused-variables=yes |
||
| 363 | |||
| 364 | # List of strings which can identify a callback function by name. A callback |
||
| 365 | # name must start or end with one of those strings. |
||
| 366 | callbacks=cb_, |
||
| 367 | _cb |
||
| 368 | |||
| 369 | # A regular expression matching the name of dummy variables (i.e. expected to |
||
| 370 | # not be used). |
||
| 371 | dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_ |
||
| 372 | |||
| 373 | # Argument names that match this expression will be ignored. Default to name |
||
| 374 | # with leading underscore. |
||
| 375 | ignored-argument-names=_.*|^ignored_|^unused_ |
||
| 376 | |||
| 377 | # Tells whether we should check for unused import in __init__ files. |
||
| 378 | init-import=no |
||
| 379 | |||
| 380 | # List of qualified module names which can have objects that can redefine |
||
| 381 | # builtins. |
||
| 382 | redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io |
||
| 383 | |||
| 384 | |||
| 385 | [BASIC] |
||
| 386 | |||
| 387 | # Naming style matching correct argument names. |
||
| 388 | argument-naming-style=snake_case |
||
| 389 | |||
| 390 | # Regular expression matching correct argument names. Overrides argument- |
||
| 391 | # naming-style. |
||
| 392 | #argument-rgx= |
||
| 393 | |||
| 394 | # Naming style matching correct attribute names. |
||
| 395 | attr-naming-style=snake_case |
||
| 396 | |||
| 397 | # Regular expression matching correct attribute names. Overrides attr-naming- |
||
| 398 | # style. |
||
| 399 | #attr-rgx= |
||
| 400 | |||
| 401 | # Bad variable names which should always be refused, separated by a comma. |
||
| 402 | bad-names=foo, |
||
| 403 | bar, |
||
| 404 | baz, |
||
| 405 | toto, |
||
| 406 | tutu, |
||
| 407 | tata |
||
| 408 | |||
| 409 | # Bad variable names regexes, separated by a comma. If names match any regex, |
||
| 410 | # they will always be refused |
||
| 411 | bad-names-rgxs= |
||
| 412 | |||
| 413 | # Naming style matching correct class attribute names. |
||
| 414 | class-attribute-naming-style=any |
||
| 415 | |||
| 416 | # Regular expression matching correct class attribute names. Overrides class- |
||
| 417 | # attribute-naming-style. |
||
| 418 | #class-attribute-rgx= |
||
| 419 | |||
| 420 | # Naming style matching correct class names. |
||
| 421 | class-naming-style=PascalCase |
||
| 422 | |||
| 423 | # Regular expression matching correct class names. Overrides class-naming- |
||
| 424 | # style. |
||
| 425 | #class-rgx= |
||
| 426 | |||
| 427 | # Naming style matching correct constant names. |
||
| 428 | const-naming-style=UPPER_CASE |
||
| 429 | |||
| 430 | # Regular expression matching correct constant names. Overrides const-naming- |
||
| 431 | # style. |
||
| 432 | #const-rgx= |
||
| 433 | |||
| 434 | # Minimum line length for functions/classes that require docstrings, shorter |
||
| 435 | # ones are exempt. |
||
| 436 | docstring-min-length=-1 |
||
| 437 | |||
| 438 | # Naming style matching correct function names. |
||
| 439 | function-naming-style=snake_case |
||
| 440 | |||
| 441 | # Regular expression matching correct function names. Overrides function- |
||
| 442 | # naming-style. |
||
| 443 | #function-rgx= |
||
| 444 | |||
| 445 | # Good variable names which should always be accepted, separated by a comma. |
||
| 446 | good-names=i, |
||
| 447 | j, |
||
| 448 | k, |
||
| 449 | ex, |
||
| 450 | Run, |
||
| 451 | _ |
||
| 452 | |||
| 453 | # Good variable names regexes, separated by a comma. If names match any regex, |
||
| 454 | # they will always be accepted |
||
| 455 | good-names-rgxs= |
||
| 456 | |||
| 457 | # Include a hint for the correct naming format with invalid-name. |
||
| 458 | include-naming-hint=no |
||
| 459 | |||
| 460 | # Naming style matching correct inline iteration names. |
||
| 461 | inlinevar-naming-style=any |
||
| 462 | |||
| 463 | # Regular expression matching correct inline iteration names. Overrides |
||
| 464 | # inlinevar-naming-style. |
||
| 465 | #inlinevar-rgx= |
||
| 466 | |||
| 467 | # Naming style matching correct method names. |
||
| 468 | method-naming-style=snake_case |
||
| 469 | |||
| 470 | # Regular expression matching correct method names. Overrides method-naming- |
||
| 471 | # style. |
||
| 472 | #method-rgx= |
||
| 473 | |||
| 474 | # Naming style matching correct module names. |
||
| 475 | module-naming-style=snake_case |
||
| 476 | |||
| 477 | # Regular expression matching correct module names. Overrides module-naming- |
||
| 478 | # style. |
||
| 479 | #module-rgx= |
||
| 480 | |||
| 481 | # Colon-delimited sets of names that determine each other's naming style when |
||
| 482 | # the name regexes allow several styles. |
||
| 483 | name-group= |
||
| 484 | |||
| 485 | # Regular expression which should only match function or class names that do |
||
| 486 | # not require a docstring. |
||
| 487 | no-docstring-rgx=^_ |
||
| 488 | |||
| 489 | # List of decorators that produce properties, such as abc.abstractproperty. Add |
||
| 490 | # to this list to register other decorators that produce valid properties. |
||
| 491 | # These decorators are taken in consideration only for invalid-name. |
||
| 492 | property-classes=abc.abstractproperty |
||
| 493 | |||
| 494 | # Naming style matching correct variable names. |
||
| 495 | variable-naming-style=snake_case |
||
| 496 | |||
| 497 | # Regular expression matching correct variable names. Overrides variable- |
||
| 498 | # naming-style. |
||
| 499 | #variable-rgx= |
||
| 500 | |||
| 501 | |||
| 502 | [CLASSES] |
||
| 503 | |||
| 504 | # List of method names used to declare (i.e. assign) instance attributes. |
||
| 505 | defining-attr-methods=__init__, |
||
| 506 | __new__, |
||
| 507 | setUp, |
||
| 508 | __post_init__ |
||
| 509 | |||
| 510 | # List of member names, which should be excluded from the protected access |
||
| 511 | # warning. |
||
| 512 | exclude-protected=_asdict, |
||
| 513 | _fields, |
||
| 514 | _replace, |
||
| 515 | _source, |
||
| 516 | _make |
||
| 517 | |||
| 518 | # List of valid names for the first argument in a class method. |
||
| 519 | valid-classmethod-first-arg=cls |
||
| 520 | |||
| 521 | # List of valid names for the first argument in a metaclass class method. |
||
| 522 | valid-metaclass-classmethod-first-arg=cls |
||
| 523 | |||
| 524 | |||
| 525 | [IMPORTS] |
||
| 526 | |||
| 527 | # List of modules that can be imported at any level, not just the top level |
||
| 528 | # one. |
||
| 529 | allow-any-import-level= |
||
| 530 | |||
| 531 | # Allow wildcard imports from modules that define __all__. |
||
| 532 | allow-wildcard-with-all=no |
||
| 533 | |||
| 534 | # Analyse import fallback blocks. This can be used to support both Python 2 and |
||
| 535 | # 3 compatible code, which means that the block might have code that exists |
||
| 536 | # only in one or another interpreter, leading to false positives when analysed. |
||
| 537 | analyse-fallback-blocks=no |
||
| 538 | |||
| 539 | # Deprecated modules which should not be used, separated by a comma. |
||
| 540 | deprecated-modules=optparse,tkinter.tix |
||
| 541 | |||
| 542 | # Create a graph of external dependencies in the given file (report RP0402 must |
||
| 543 | # not be disabled). |
||
| 544 | ext-import-graph= |
||
| 545 | |||
| 546 | # Create a graph of every (i.e. internal and external) dependencies in the |
||
| 547 | # given file (report RP0402 must not be disabled). |
||
| 548 | import-graph= |
||
| 549 | |||
| 550 | # Create a graph of internal dependencies in the given file (report RP0402 must |
||
| 551 | # not be disabled). |
||
| 552 | int-import-graph= |
||
| 553 | |||
| 554 | # Force import order to recognize a module as part of the standard |
||
| 555 | # compatibility libraries. |
||
| 556 | known-standard-library= |
||
| 557 | |||
| 558 | # Force import order to recognize a module as part of a third party library. |
||
| 559 | known-third-party=enchant |
||
| 560 | |||
| 561 | # Couples of modules and preferred modules, separated by a comma. |
||
| 562 | preferred-modules= |
||
| 563 | |||
| 564 | |||
| 565 | [DESIGN] |
||
| 566 | |||
| 567 | # Maximum number of arguments for function / method. |
||
| 568 | max-args=5 |
||
| 569 | |||
| 570 | # Maximum number of attributes for a class (see R0902). |
||
| 571 | max-attributes=11 |
||
| 572 | |||
| 573 | # Maximum number of boolean expressions in an if statement (see R0916). |
||
| 574 | max-bool-expr=5 |
||
| 575 | |||
| 576 | # Maximum number of branch for function / method body. |
||
| 577 | max-branches=12 |
||
| 578 | |||
| 579 | # Maximum number of locals for function / method body. |
||
| 580 | max-locals=15 |
||
| 581 | |||
| 582 | # Maximum number of parents for a class (see R0901). |
||
| 583 | max-parents=7 |
||
| 584 | |||
| 585 | # Maximum number of public methods for a class (see R0904). |
||
| 586 | max-public-methods=20 |
||
| 587 | |||
| 588 | # Maximum number of return / yield for function / method body. |
||
| 589 | max-returns=6 |
||
| 590 | |||
| 591 | # Maximum number of statements in function / method body. |
||
| 592 | max-statements=50 |
||
| 593 | |||
| 594 | # Minimum number of public methods for a class (see R0903). |
||
| 595 | min-public-methods=2 |
||
| 596 | |||
| 597 | |||
| 598 | [EXCEPTIONS] |
||
| 599 | |||
| 600 | # Exceptions that will emit a warning when being caught. Defaults to |
||
| 601 | # "BaseException, Exception". |
||
| 602 | overgeneral-exceptions=BaseException, |
||
| 603 | Exception |
||
| 604 |