|
| 1 | +[MASTER] |
| 2 | +extension-pkg-allow-list=re2 |
| 3 | + |
| 4 | +fail-under=7.0 |
| 5 | +ignore=CVS |
| 6 | +ignore-paths=migrations |
| 7 | +ignore-patterns=^\.# |
| 8 | +jobs=0 |
| 9 | + |
| 10 | +[MESSAGES CONTROL] |
| 11 | +disable=missing-function-docstring, |
| 12 | + missing-module-docstring, |
| 13 | + duplicate-code, |
| 14 | + #import-error, |
| 15 | + missing-class-docstring, |
| 16 | + useless-object-inheritance, |
| 17 | + use-dict-literal, |
| 18 | + logging-format-interpolation, |
| 19 | + consider-using-f-string, |
| 20 | + unnecessary-comprehension, |
| 21 | + inconsistent-return-statements, |
| 22 | + wrong-import-order, |
| 23 | + line-too-long, |
| 24 | + invalid-name, |
| 25 | + global-statement, |
| 26 | + no-else-return, |
| 27 | + unspecified-encoding, |
| 28 | + logging-fstring-interpolation, |
| 29 | + too-few-public-methods, |
| 30 | + bare-except, |
| 31 | + fixme, |
| 32 | + unnecessary-pass, |
| 33 | + f-string-without-interpolation, |
| 34 | + super-init-not-called, |
| 35 | + unused-argument, |
| 36 | + ungrouped-imports, |
| 37 | + too-many-locals, |
| 38 | + consider-using-with, |
| 39 | + too-many-statements, |
| 40 | + consider-using-set-comprehension, |
| 41 | + unidiomatic-typecheck, |
| 42 | + useless-else-on-loop, |
| 43 | + too-many-return-statements, |
| 44 | + broad-except, |
| 45 | + protected-access, |
| 46 | + consider-using-enumerate, |
| 47 | + too-many-nested-blocks, |
| 48 | + too-many-branches, |
| 49 | + simplifiable-if-expression, |
| 50 | + possibly-unused-variable, |
| 51 | + pointless-string-statement, |
| 52 | + wrong-import-position, |
| 53 | + redefined-outer-name, |
| 54 | + raise-missing-from, |
| 55 | + logging-too-few-args, |
| 56 | + redefined-builtin, |
| 57 | + too-many-arguments, |
| 58 | + import-outside-toplevel, |
| 59 | + redefined-argument-from-local, |
| 60 | + logging-too-many-args, |
| 61 | + too-many-instance-attributes, |
| 62 | + unreachable, |
| 63 | + no-name-in-module, |
| 64 | + no-member, |
| 65 | + consider-using-ternary, |
| 66 | + too-many-lines, |
| 67 | + arguments-differ, |
| 68 | + too-many-public-methods, |
| 69 | + unused-variable, |
| 70 | + consider-using-dict-items, |
| 71 | + consider-using-in, |
| 72 | + reimported, |
| 73 | + too-many-boolean-expressions, |
| 74 | + cyclic-import, |
| 75 | + not-callable, # (paddle_utils.py) verifier.verify cannot be called (although it can) |
| 76 | + abstract-method, # (models.py) |
| 77 | + |
| 78 | +[BASIC] |
| 79 | + |
| 80 | +# Naming style matching correct argument names. |
| 81 | +argument-naming-style=snake_case |
| 82 | + |
| 83 | +# Regular expression matching correct argument names. Overrides argument- |
| 84 | +# naming-style. If left empty, argument names will be checked with the set |
| 85 | +# naming style. |
| 86 | +#argument-rgx= |
| 87 | + |
| 88 | +# Naming style matching correct attribute names. |
| 89 | +attr-naming-style=snake_case |
| 90 | + |
| 91 | +# Regular expression matching correct attribute names. Overrides attr-naming- |
| 92 | +# style. If left empty, attribute names will be checked with the set naming |
| 93 | +# style. |
| 94 | +#attr-rgx= |
| 95 | + |
| 96 | +# Bad variable names which should always be refused, separated by a comma. |
| 97 | +bad-names=foo, |
| 98 | + bar, |
| 99 | + baz, |
| 100 | + toto, |
| 101 | + tutu, |
| 102 | + tata |
| 103 | + |
| 104 | +# Bad variable names regexes, separated by a comma. If names match any regex, |
| 105 | +# they will always be refused |
| 106 | +bad-names-rgxs= |
| 107 | + |
| 108 | +# Naming style matching correct class attribute names. |
| 109 | +class-attribute-naming-style=any |
| 110 | + |
| 111 | +# Regular expression matching correct class attribute names. Overrides class- |
| 112 | +# attribute-naming-style. If left empty, class attribute names will be checked |
| 113 | +# with the set naming style. |
| 114 | +#class-attribute-rgx= |
| 115 | + |
| 116 | +# Naming style matching correct class constant names. |
| 117 | +class-const-naming-style=UPPER_CASE |
| 118 | + |
| 119 | +# Regular expression matching correct class constant names. Overrides class- |
| 120 | +# const-naming-style. If left empty, class constant names will be checked with |
| 121 | +# the set naming style. |
| 122 | +#class-const-rgx= |
| 123 | + |
| 124 | +# Naming style matching correct class names. |
| 125 | +class-naming-style=PascalCase |
| 126 | + |
| 127 | +# Regular expression matching correct class names. Overrides class-naming- |
| 128 | +# style. If left empty, class names will be checked with the set naming style. |
| 129 | +#class-rgx= |
| 130 | + |
| 131 | +# Naming style matching correct constant names. |
| 132 | +const-naming-style=UPPER_CASE |
| 133 | + |
| 134 | +# Regular expression matching correct constant names. Overrides const-naming- |
| 135 | +# style. If left empty, constant names will be checked with the set naming |
| 136 | +# style. |
| 137 | +#const-rgx= |
| 138 | + |
| 139 | +# Minimum line length for functions/classes that require docstrings, shorter |
| 140 | +# ones are exempt. |
| 141 | +docstring-min-length=-1 |
| 142 | + |
| 143 | +# Naming style matching correct function names. |
| 144 | +function-naming-style=snake_case |
| 145 | + |
| 146 | +# Regular expression matching correct function names. Overrides function- |
| 147 | +# naming-style. If left empty, function names will be checked with the set |
| 148 | +# naming style. |
| 149 | +#function-rgx= |
| 150 | + |
| 151 | +# Good variable names which should always be accepted, separated by a comma. |
| 152 | +good-names=i, |
| 153 | + j, |
| 154 | + k, |
| 155 | + ex, |
| 156 | + Run, |
| 157 | + _ |
| 158 | + |
| 159 | +# Good variable names regexes, separated by a comma. If names match any regex, |
| 160 | +# they will always be accepted |
| 161 | +good-names-rgxs= |
| 162 | + |
| 163 | +# Include a hint for the correct naming format with invalid-name. |
| 164 | +include-naming-hint=no |
| 165 | + |
| 166 | +# Naming style matching correct inline iteration names. |
| 167 | +inlinevar-naming-style=any |
| 168 | + |
| 169 | +# Regular expression matching correct inline iteration names. Overrides |
| 170 | +# inlinevar-naming-style. If left empty, inline iteration names will be checked |
| 171 | +# with the set naming style. |
| 172 | +#inlinevar-rgx= |
| 173 | + |
| 174 | +# Naming style matching correct method names. |
| 175 | +method-naming-style=snake_case |
| 176 | + |
| 177 | +# Regular expression matching correct method names. Overrides method-naming- |
| 178 | +# style. If left empty, method names will be checked with the set naming style. |
| 179 | +#method-rgx= |
| 180 | + |
| 181 | +# Naming style matching correct module names. |
| 182 | +module-naming-style=snake_case |
| 183 | + |
| 184 | +# Regular expression matching correct module names. Overrides module-naming- |
| 185 | +# style. If left empty, module names will be checked with the set naming style. |
| 186 | +#module-rgx= |
| 187 | + |
| 188 | +# Colon-delimited sets of names that determine each other's naming style when |
| 189 | +# the name regexes allow several styles. |
| 190 | +name-group= |
| 191 | + |
| 192 | +# Regular expression which should only match function or class names that do |
| 193 | +# not require a docstring. |
| 194 | +no-docstring-rgx=^_ |
| 195 | + |
| 196 | +# List of decorators that produce properties, such as abc.abstractproperty. Add |
| 197 | +# to this list to register other decorators that produce valid properties. |
| 198 | +# These decorators are taken in consideration only for invalid-name. |
| 199 | +property-classes=abc.abstractproperty |
| 200 | + |
| 201 | +# Regular expression matching correct type variable names. If left empty, type |
| 202 | +# variable names will be checked with the set naming style. |
| 203 | +#typevar-rgx= |
| 204 | + |
| 205 | +# Naming style matching correct variable names. |
| 206 | +variable-naming-style=snake_case |
| 207 | + |
| 208 | +# Regular expression matching correct variable names. Overrides variable- |
| 209 | +# naming-style. If left empty, variable names will be checked with the set |
| 210 | +# naming style. |
| 211 | +#variable-rgx= |
| 212 | + |
| 213 | + |
| 214 | +[STRING] |
| 215 | + |
| 216 | +# This flag controls whether inconsistent-quotes generates a warning when the |
| 217 | +# character used as a quote delimiter is used inconsistently within a module. |
| 218 | +check-quote-consistency=no |
| 219 | + |
| 220 | +# This flag controls whether the implicit-str-concat should generate a warning |
| 221 | +# on implicit string concatenation in sequences defined over several lines. |
| 222 | +check-str-concat-over-line-jumps=no |
| 223 | + |
| 224 | + |
| 225 | +[FORMAT] |
| 226 | +max-line-length=88 |
| 227 | +single-line-if-stmt=yes |
0 commit comments