Skip to content

Commit

Permalink
lint: Freeze linters and update config
Browse files Browse the repository at this point in the history
Pylint changes: pylint-dev/pylint#4942
  • Loading branch information
lengau committed Feb 12, 2023
1 parent 55d353f commit b38fb2e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 81 deletions.
77 changes: 3 additions & 74 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -70,85 +70,14 @@ confidence=
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
disable=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,
disable=raw-checker-failed,
bad-inline-option,
locally-disabled,
file-ignored,
suppressed-message,
useless-suppression,
deprecated-pragma,
use-symbolic-message-instead,
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,
deprecated-operator-function,
deprecated-urllib-function,
xreadlines-attribute,
deprecated-sys-function,
exception-escape,
comprehension-escape,
line-too-long,
fixme,
fixme-info,
Expand Down Expand Up @@ -620,5 +549,5 @@ preferred-modules=

# Exceptions that will emit a warning when being caught. Defaults to
# "BaseException, Exception".
overgeneral-exceptions=BaseException,
Exception
overgeneral-exceptions=builtins.BaseException,
builtins.Exception
14 changes: 7 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ release =
twine
wheel
test =
coverage
black
codespell
coverage==6.5.0
black==22.12.0
codespell==2.2.2
flake8
isort
mypy
isort==5.10.1
mypy==0.991
pydantic
pydocstyle
pylint
pydocstyle==6.1.1
pylint==2.15.10
pylint-fixme-info
pylint-pydantic
pylint-pytest
Expand Down

0 comments on commit b38fb2e

Please sign in to comment.