|
| 1 | +# SPDX-FileCopyrightText: 2023 Jose D. Montoya |
| 2 | +# |
| 3 | +# SPDX-License-Identifier: Unlicense |
| 4 | + |
| 5 | +[MASTER] |
| 6 | +extension-pkg-whitelist= |
| 7 | +ignore=CVS |
| 8 | +ignore-patterns= |
| 9 | +#init-hook= |
| 10 | +jobs=1 |
| 11 | +load-plugins=pylint.extensions.no_self_use |
| 12 | +persistent=yes |
| 13 | +unsafe-load-any-extension=no |
| 14 | + |
| 15 | +[MESSAGES CONTROL] |
| 16 | +confidence= |
| 17 | +disable=raw-checker-failed,bad-inline-option,locally-disabled,file-ignored,suppressed-message,useless-suppression,deprecated-pragma,import-error,pointless-string-statement,unspecified-encoding |
| 18 | +enable= |
| 19 | + |
| 20 | +[REPORTS] |
| 21 | +evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) |
| 22 | +#msg-template= |
| 23 | +output-format=text |
| 24 | +reports=no |
| 25 | +score=yes |
| 26 | + |
| 27 | +[REFACTORING] |
| 28 | +max-nested-blocks=5 |
| 29 | + |
| 30 | +[LOGGING] |
| 31 | +logging-modules=logging |
| 32 | + |
| 33 | +[SPELLING] |
| 34 | +spelling-dict= |
| 35 | +spelling-ignore-words= |
| 36 | +spelling-private-dict-file= |
| 37 | +spelling-store-unknown-words=no |
| 38 | + |
| 39 | +[TYPECHECK] |
| 40 | +contextmanager-decorators=contextlib.contextmanager |
| 41 | +generated-members= |
| 42 | +ignore-mixin-members=yes |
| 43 | +ignore-on-opaque-inference=yes |
| 44 | +ignored-classes=optparse.Values,thread._local,_thread._local |
| 45 | +ignored-modules=board |
| 46 | +missing-member-hint=yes |
| 47 | +missing-member-hint-distance=1 |
| 48 | +missing-member-max-choices=1 |
| 49 | + |
| 50 | +[VARIABLES] |
| 51 | +additional-builtins= |
| 52 | +callbacks=cb_,_cb |
| 53 | +dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_ |
| 54 | +ignored-argument-names=_.*|^ignored_|^unused_ |
| 55 | +init-import=no |
| 56 | +redefining-builtins-modules=six.moves,future.builtins |
| 57 | + |
| 58 | +[FORMAT] |
| 59 | +expected-line-ending-format=LF |
| 60 | +ignore-long-lines=^\s*(# )?<?https?://\S+>?$ |
| 61 | +indent-after-paren=4 |
| 62 | +indent-string=' ' |
| 63 | +max-line-length=100 |
| 64 | +max-module-lines=1000 |
| 65 | +single-line-class-stmt=no |
| 66 | +single-line-if-stmt=no |
| 67 | + |
| 68 | +[SIMILARITIES] |
| 69 | +ignore-comments=yes |
| 70 | +ignore-docstrings=yes |
| 71 | +ignore-imports=yes |
| 72 | +min-similarity-lines=12 |
| 73 | + |
| 74 | +[BASIC] |
| 75 | +argument-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$ |
| 76 | +attr-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$ |
| 77 | +bad-names=foo,bar,baz,toto,tutu,tata |
| 78 | +class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$ |
| 79 | +class-rgx=[A-Z_][a-zA-Z0-9_]+$ |
| 80 | +const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$ |
| 81 | +docstring-min-length=-1 |
| 82 | +function-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$ |
| 83 | +good-names=r,g,b,w,i,j,k,n,x,y,z,ex,ok,Run,_,cs |
| 84 | +include-naming-hint=no |
| 85 | +inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$ |
| 86 | +method-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$ |
| 87 | +module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ |
| 88 | +name-group= |
| 89 | +no-docstring-rgx=^_ |
| 90 | +property-classes=abc.abstractproperty |
| 91 | +variable-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$ |
| 92 | + |
| 93 | +[IMPORTS] |
| 94 | +allow-wildcard-with-all=no |
| 95 | +analyse-fallback-blocks=no |
| 96 | +deprecated-modules=optparse,tkinter.tix |
| 97 | +ext-import-graph= |
| 98 | +import-graph= |
| 99 | +int-import-graph= |
| 100 | +known-standard-library= |
| 101 | +known-third-party=enchant |
| 102 | + |
| 103 | +[CLASSES] |
| 104 | +defining-attr-methods=__init__,__new__,setUp |
| 105 | +exclude-protected=_asdict,_fields,_replace,_source,_make |
| 106 | +valid-classmethod-first-arg=cls |
| 107 | +valid-metaclass-classmethod-first-arg=mcs |
| 108 | + |
| 109 | +[DESIGN] |
| 110 | +max-args=5 |
| 111 | +max-attributes=30 |
| 112 | +max-bool-expr=5 |
| 113 | +max-branches=12 |
| 114 | +max-locals=15 |
| 115 | +max-parents=7 |
| 116 | +max-public-methods=20 |
| 117 | +max-returns=6 |
| 118 | +max-statements=50 |
| 119 | +min-public-methods=1 |
| 120 | + |
| 121 | +[EXCEPTIONS] |
| 122 | +overgeneral-exceptions=Exception |
0 commit comments