summaryrefslogtreecommitdiff
path: root/testenv
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
parentab6264bd5e65497121139eab6deae353e06d592f (diff)
vnc
Diffstat (limited to 'testenv')
-rw-r--r--testenv/linters/pylint.ini3
-rw-r--r--testenv/linters/vulture-wl.py9
-rw-r--r--testenv/requirements.txt2
-rw-r--r--testenv/v1-vga-rpi3.override.yaml3
-rw-r--r--testenv/v2-hdmi-rpi4.override.yaml3
5 files changed, 18 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
diff --git a/testenv/requirements.txt b/testenv/requirements.txt
index b3c121a4..a88dd993 100644
--- a/testenv/requirements.txt
+++ b/testenv/requirements.txt
@@ -9,3 +9,5 @@ setproctitle
pygments
pyghmi
python-pam
+Pillow
+python-xlib
diff --git a/testenv/v1-vga-rpi3.override.yaml b/testenv/v1-vga-rpi3.override.yaml
index eb75d942..dc028381 100644
--- a/testenv/v1-vga-rpi3.override.yaml
+++ b/testenv/v1-vga-rpi3.override.yaml
@@ -23,3 +23,6 @@ kvmd:
- "--process-name-prefix={process_name_prefix}"
- "--notify-parent"
- "--no-log-colors"
+
+vnc:
+ keymap: /usr/share/kvmd/keymaps/ru
diff --git a/testenv/v2-hdmi-rpi4.override.yaml b/testenv/v2-hdmi-rpi4.override.yaml
index fb05fd59..ceb51b4a 100644
--- a/testenv/v2-hdmi-rpi4.override.yaml
+++ b/testenv/v2-hdmi-rpi4.override.yaml
@@ -31,3 +31,6 @@ kvmd:
- "--process-name-prefix={process_name_prefix}"
- "--notify-parent"
- "--no-log-colors"
+
+vnc:
+ keymap: /usr/share/kvmd/keymaps/ru