diff options
author | Adam Outler <[email protected]> | 2023-04-13 15:56:37 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2023-04-13 22:56:37 +0300 |
commit | 59ba330ef886726661957e9c47503ad76e42dfc3 (patch) | |
tree | b3894957e9b21f940e61f8aa40f4b46adc963124 /testenv/linters | |
parent | db208ad456f7657a7dafdb73c1b7c7bfcf6e541f (diff) |
Remove unused items (#128)
* Remove unused items
These items are called out as inactive or removed from pylint.
* Allow inspection of additional packages
By adding these package inspections, the pylint warnings are reduced. This brings us to a smaller list of items which do not comply with current PEPs. https://hackedyour.info/58KO86fiiL4wiV5r
* Lint problems discussed with lead
* Add comma to end of line
Diffstat (limited to 'testenv/linters')
-rw-r--r-- | testenv/linters/pylint.ini | 17 |
1 files changed, 6 insertions, 11 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 |