diff options
Diffstat (limited to 'testenv')
-rw-r--r-- | testenv/linters/pylint.ini | 17 | ||||
-rw-r--r-- | testenv/tox.ini | 3 |
2 files changed, 7 insertions, 13 deletions
diff --git a/testenv/linters/pylint.ini b/testenv/linters/pylint.ini index 6ef27260..858f5b6a 100644 --- a/testenv/linters/pylint.ini +++ b/testenv/linters/pylint.ini @@ -1,7 +1,12 @@ [MASTER] ignore = .git -extension-pkg-whitelist = +extension-pkg-whitelist = setproctitle, + gpiod, + spidev, + netifaces, + ustreamer, + hid, [DESIGN] min-public-methods = 0 @@ -17,15 +22,8 @@ disable = locally-disabled, fixme, missing-docstring, - no-init, - no-self-use, superfluous-parens, - abstract-class-not-used, - abstract-class-little-used, duplicate-code, - bad-continuation, - bad-whitespace, - star-args, broad-except, redundant-keyword-arg, wrong-import-order, @@ -50,9 +48,6 @@ msg-template = {symbol} -- {path}:{line}({obj}): {msg} max-line-length = 160 [BASIC] -# List of builtins function names that should not be used, separated by a comma -bad-functions = - # Good variable names which should always be accepted, separated by a comma good-names = _, __, x, y, ws diff --git a/testenv/tox.ini b/testenv/tox.ini index 8a36ad42..77f8521a 100644 --- a/testenv/tox.ini +++ b/testenv/tox.ini @@ -17,9 +17,8 @@ deps = [testenv:pylint] whitelist_externals = bash -commands = bash -c 'pylint -j2 --rcfile=testenv/linters/pylint.ini --output-format=colorized --reports=no kvmd testenv/tests *.py' +commands = bash -c 'pylint -j0 --rcfile=testenv/linters/pylint.ini --output-format=colorized --reports=no kvmd testenv/tests *.py' deps = - astroid==2.7.3 pylint pytest pytest-asyncio |