summaryrefslogtreecommitdiff
path: root/testenv/linters
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-03-20 03:07:27 +0300
committerDevaev Maxim <[email protected]>2020-03-20 03:07:27 +0300
commitd5ae32b1326fc5ac9207193d7679b34e0ceec4c7 (patch)
tree43bb961fd3006c06dffec900a2c84fb8387302c0 /testenv/linters
parentab6264bd5e65497121139eab6deae353e06d592f (diff)
vnc
Diffstat (limited to 'testenv/linters')
-rw-r--r--testenv/linters/pylint.ini3
-rw-r--r--testenv/linters/vulture-wl.py9
2 files changed, 10 insertions, 2 deletions
diff --git a/testenv/linters/pylint.ini b/testenv/linters/pylint.ini
index c1599884..1f333c6f 100644
--- a/testenv/linters/pylint.ini
+++ b/testenv/linters/pylint.ini
@@ -43,6 +43,9 @@ max-line-length = 160
# 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
+
# Regular expression matching correct method names
method-rgx = [a-z_][a-z0-9_]{2,50}$
diff --git a/testenv/linters/vulture-wl.py b/testenv/linters/vulture-wl.py
index c77fba91..c1b28e02 100644
--- a/testenv/linters/vulture-wl.py
+++ b/testenv/linters/vulture-wl.py
@@ -20,10 +20,15 @@ IpmiServer.handle_raw_request
fake_rpi.RPi.GPIO
-_KeyMapping.web_key
+_KeyMapping.web_name
_KeyMapping.serial_code
-_KeyMapping.arduino_key
+_KeyMapping.arduino_name
_KeyMapping.otg_code
_KeyMapping.otg_is_modifier
+_KeyMapping.at1_code
+_KeyMapping.x11_codes
+
+_SharedParams.width
+_SharedParams.height
_ScriptWriter.get_args