refactoring

This commit is contained in:
Devaev Maxim
2019-04-13 06:18:33 +03:00
parent 5bf758e232
commit 0c82937d3c
9 changed files with 110 additions and 85 deletions

View File

@@ -32,8 +32,10 @@ RUN pacman -Syy \
&& user-packer -S --noconfirm \
python \
python-pip \
python-tox \
python-systemd \
python-dbus \
python-mako \
nginx-mainline \
ustreamer \
socat \
@@ -42,9 +44,6 @@ RUN pacman -Syy \
&& rm -rf /.npm \
&& (pacman -Sc --noconfirm || true)
COPY testenv/requirements.txt requirements.txt
RUN pip install -r requirements.txt
RUN mkdir -p /etc/kvmd/nginx
CMD /bin/bash

View File

@@ -4,3 +4,6 @@ _MassStorageDeviceInfo.real
_MassStorageDeviceInfo.hw
_MassStorageDeviceInfo.image
fake_rpi.RPi.GPIO
_KeyMapping.kvmd_code
_KeyMapping.arduino_hid_key
_KeyMapping.web_key

View File

@@ -7,7 +7,4 @@ pyudev
pyyaml
pyserial
setproctitle
systemd-python
dbus-python
pygments
tox

View File

@@ -1,9 +1,10 @@
[tox]
envlist = flake8, pylint, mypy, vulture, pytest, eslint, htmlhint
skipsdist = True
skipsdist = true
[testenv]
basepython = python3.7
sitepackages = true
changedir = /src
[testenv:flake8]