From f4d122594e0e0d4f45565c5da1070f727799e53d Mon Sep 17 00:00:00 2001 From: bnb32 Date: Thu, 27 Jun 2024 16:30:26 -0600 Subject: [PATCH] pylint config updated --- .github/linters/.python-lint | 81 +++--------------------------------- 1 file changed, 6 insertions(+), 75 deletions(-) diff --git a/.github/linters/.python-lint b/.github/linters/.python-lint index 354ed20..a8530c4 100644 --- a/.github/linters/.python-lint +++ b/.github/linters/.python-lint @@ -55,80 +55,19 @@ confidence= # no Warning level messages displayed, use"--disable=all --enable=classes # --disable=W" disable= + no-member, + attribute-defined-outside-init, + arguments-renamed, + unspecified-encoding, + consider-using-f-string, # Defaults - print-statement, - parameter-unpacking, - unpacking-in-except, - old-raise-syntax, - backtick, - long-suffix, - old-ne-operator, - old-octal-literal, - import-star-module-level, - non-ascii-bytes-literal, raw-checker-failed, bad-inline-option, locally-disabled, - locally-enabled, file-ignored, suppressed-message, useless-suppression, deprecated-pragma, - apply-builtin, - basestring-builtin, - buffer-builtin, - cmp-builtin, - coerce-builtin, - execfile-builtin, - file-builtin, - long-builtin, - raw_input-builtin, - reduce-builtin, - standarderror-builtin, - unicode-builtin, - xrange-builtin, - coerce-method, - delslice-method, - getslice-method, - setslice-method, - no-absolute-import, - old-division, - dict-iter-method, - dict-view-method, - next-method-called, - metaclass-assignment, - indexing-exception, - raising-string, - reload-builtin, - oct-method, - hex-method, - nonzero-method, - cmp-method, - input-builtin, - round-builtin, - intern-builtin, - unichr-builtin, - map-builtin-not-iterating, - zip-builtin-not-iterating, - range-builtin-not-iterating, - filter-builtin-not-iterating, - using-cmp-argument, - eq-without-hash, - div-method, - idiv-method, - rdiv-method, - exception-message-attribute, - invalid-str-codec, - sys-max-int, - bad-python3-import, - deprecated-string-function, - deprecated-str-translate-call, - deprecated-itertools-function, - deprecated-types-field, - next-method-defined, - dict-items-not-iterating, - dict-keys-not-iterating, - dict-values-not-iterating, # Custom protected-access, fixme, @@ -149,7 +88,6 @@ disable= too-many-nested-blocks, invalid-name, import-error, - bad-continuation, try-except-raise, no-else-raise, no-else-return, @@ -333,13 +271,6 @@ max-line-length=79 # Maximum number of lines in a module max-module-lines=1000 -# List of optional constructs for which whitespace checking is disabled. `dict- -# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}. -# `trailing-comma` allows a space between comma and closing bracket: (a, ). -# `empty-line` allows space-only lines. -no-space-check=trailing-comma, - dict-separator - # Allow the body of a class to be on the same line as the declaration if body # contains single statement. single-line-class-stmt=no @@ -376,7 +307,7 @@ ignore-docstrings=yes ignore-imports=yes # Minimum lines number of a similarity. -min-similarity-lines=10 +min-similarity-lines=20 [SPELLING]