diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fd6e0eb3..ac629596 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -13,7 +13,11 @@ Change Log Unreleased ~~~~~~~~~~ +5.2.3 - 2022-06-09 +~~~~~~~~~~~~~~~~~~ + * Removed support of LegacyWaffle* checks, since the classes no longer exist. +* Removed deleted pylint messages from common pylintrc file 5.2.2 - 2022-03-25 ~~~~~~~~~~~~~~~~~~ diff --git a/edx_lint/__init__.py b/edx_lint/__init__.py index b86ac082..6b91b00e 100644 --- a/edx_lint/__init__.py +++ b/edx_lint/__init__.py @@ -2,4 +2,4 @@ edx_lint standardizes lint configuration and additional plugins for use in Open edX code. """ -__version__ = "5.2.2" +__version__ = "5.2.3" diff --git a/edx_lint/files/pylintrc b/edx_lint/files/pylintrc index 84221b84..e34e5dae 100644 --- a/edx_lint/files/pylintrc +++ b/edx_lint/files/pylintrc @@ -58,18 +58,12 @@ enable= continue-in-finally, cyclical-import, dangerous-default-value, - dict-items-not-iterating, - dict-keys-not-iterating, - dict-values-not-iterating, duplicate-argument-name, duplicate-bases, duplicate-except, duplicate-key, eq-without-hash, - exception-escape, - exception-message-attribute, expression-not-assigned, - filter-builtin-not-iterating, format-combined-specification, format-needs-mapping, function-redefined, @@ -88,13 +82,11 @@ enable= invalid-slice-index, invalid-slots-object, invalid-slots, - invalid-str-codec, invalid-unary-operand-type, logging-too-few-args, logging-too-many-args, logging-unsupported-format, lost-exception, - map-builtin-not-iterating, method-hidden, misplaced-bare-raise, misplaced-future, @@ -124,8 +116,6 @@ enable= property-on-old-class, raising-bad-type, raising-non-exception, - raising-string, - range-builtin-not-iterating, redefined-builtin, redefined-in-handler, redefined-outer-name, @@ -142,7 +132,6 @@ enable= super-method-not-called, super-on-old-class, syntax-error, - sys-max-int, test-inherits-tests, too-few-format-args, too-many-format-args, @@ -165,7 +154,6 @@ enable= used-before-assignment, using-constant-test, yield-outside-function, - zip-builtin-not-iterating, # Checking failed for some reason astroid-error, @@ -197,7 +185,6 @@ enable= bad-classmethod-argument, bad-mcs-classmethod-argument, bad-mcs-method-argument, - bad-whitespace, bare-except, broad-except, consider-iterating-dictionary, @@ -207,7 +194,6 @@ enable= literal-used-as-attribute, logging-format-interpolation, logging-not-lazy, - metaclass-assignment, model-has-unicode, model-missing-unicode, model-no-explicit-unicode, @@ -215,7 +201,6 @@ enable= multiple-statements, no-classmethod-decorator, no-staticmethod-decorator, - old-raise-syntax, old-style-class, protected-access, redundant-unittest-assert, @@ -249,7 +234,6 @@ enable= # These should be auto-fixed by any competent editor missing-final-newline, - mixed-indentation, mixed-line-endings, trailing-newlines, trailing-whitespace, @@ -262,26 +246,6 @@ enable= unrecognized-inline-option, useless-suppression, - # These note methods that aren't used by python 3, - # and can be removed. - cmp-method, - coerce-method, - delslice-method, - dict-iter-method, - dict-view-method, - div-method, - getslice-method, - hex-method, - idiv-method, - next-method-called, - next-method-defined, - nonzero-method, - oct-method, - rdiv-method, - setslice-method, - using-cmp-argument, - - # Disable the message, report, category or checker with the given id(s). You # can either give multiple identifiers separated by comma (,) or put this # option multiple times (only on the command line, not in the configuration @@ -293,7 +257,6 @@ enable= # --disable=W" disable= # These should be left to the discretion of the reviewer - bad-continuation, bad-indentation, consider-using-f-string, duplicate-code, @@ -306,7 +269,6 @@ disable= lowercase-l-suffix, misplaced-comparison-constant, no-else-return, - no-init, no-self-use, suppressed-message, too-few-public-methods, @@ -328,43 +290,10 @@ disable= illegal-waffle-usage, # These can't be used in python 3 code - apply-builtin, - backtick, - bad-python3-import, - basestring-builtin, - buffer-builtin, - cmp-builtin, - coerce-builtin, - deprecated-itertools-function, - deprecated-operator-function, - deprecated-str-translate-call, - deprecated-string-function, - deprecated-sys-function, - deprecated-types-field, - deprecated-urllib-function, - execfile-builtin, - file-builtin, - import-star-module-level, - input-builtin, - intern-builtin, - long-builtin, long-suffix, - no-absolute-import, non-ascii-bytes-literal, - old-division, old-ne-operator, old-octal-literal, - parameter-unpacking, - print-statement, - raw_input-builtin, - reduce-builtin, - reload-builtin, - round-builtin, - standarderror-builtin, - unichr-builtin, - unicode-builtin, - unpacking-in-except, - xrange-builtin, # We want to allow developers to use f-strings for readability logging-fstring-interpolation,