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