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