Skip to content

Commit

Permalink
fix: remove deleted pylint warnings from pylintrc (#266)
Browse files Browse the repository at this point in the history
* fix: remove deleted pylint warnings
  • Loading branch information
UsamaSadiq authored Jun 9, 2022
1 parent 537efdf commit e9a451b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 72 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion edx_lint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
71 changes: 0 additions & 71 deletions edx_lint/files/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -207,15 +194,13 @@ enable=
literal-used-as-attribute,
logging-format-interpolation,
logging-not-lazy,
metaclass-assignment,
model-has-unicode,
model-missing-unicode,
model-no-explicit-unicode,
multiple-imports,
multiple-statements,
no-classmethod-decorator,
no-staticmethod-decorator,
old-raise-syntax,
old-style-class,
protected-access,
redundant-unittest-assert,
Expand Down Expand Up @@ -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,
Expand All @@ -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
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit e9a451b

Please sign in to comment.