Update pylint exceptions, and run pylint by default with tox

This commit is contained in:
Adrián Chaves 2023-02-02 06:52:01 +01:00
parent b07d3f85a3
commit 32a01e32f3
2 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,7 @@ disable=abstract-method,
bad-mcs-classmethod-argument,
bare-except,
broad-except,
broad-exception-raised,
c-extension-no-member,
catching-non-exception,
cell-var-from-loop,
@ -46,12 +47,14 @@ disable=abstract-method,
method-hidden,
missing-docstring,
no-else-raise,
no-else-return,
no-member,
no-method-argument,
no-name-in-module,
no-self-argument,
no-value-for-parameter,
not-callable,
pointless-exception-statement,
pointless-statement,
pointless-string-statement,
protected-access,
@ -87,6 +90,7 @@ disable=abstract-method,
unused-private-member,
unused-variable,
unused-wildcard-import,
use-dict-literal,
used-before-assignment,
useless-object-inheritance, # Required for Python 2 support
useless-return,

View File

@ -4,7 +4,7 @@
# and then run "tox" from this directory.
[tox]
envlist = pre-commit,typing,py
envlist = pre-commit,pylint,typing,py
minversion = 1.7.0
[testenv]