mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
refactoring
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -4,3 +4,6 @@ _MassStorageDeviceInfo.real
|
||||
_MassStorageDeviceInfo.hw
|
||||
_MassStorageDeviceInfo.image
|
||||
fake_rpi.RPi.GPIO
|
||||
_KeyMapping.kvmd_code
|
||||
_KeyMapping.arduino_hid_key
|
||||
_KeyMapping.web_key
|
||||
|
||||
@@ -7,7 +7,4 @@ pyudev
|
||||
pyyaml
|
||||
pyserial
|
||||
setproctitle
|
||||
systemd-python
|
||||
dbus-python
|
||||
pygments
|
||||
tox
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user