-
Notifications
You must be signed in to change notification settings - Fork 398
/
requirements.txt
37 lines (27 loc) · 1010 Bytes
/
requirements.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Test trigger
# Library dependencies for the python code. You need to install these with
# `sudo python3 -m pip install --upgrade --force-reinstall -r requirements.txt` before you can run this.
#### ESSENTIAL LIBRARIES FOR MAIN FUNCTIONALITY ####
# related libraries.
evdev
git+https://github.com/lthiery/SPI-Py.git#egg=spi-py
yt-dlp
pyserial
RPi.GPIO
# Type checking for python
# typing
#### TESTING-RELATED PACKAGES ####
# Checks style, syntax, and other useful errors
# pylint==1.6.5
# We'll use pytest to run our tests; this isn't really necessary to run the code, but it is to run
# the tests. With this here, you can run the tests with `py.test` from the base directory.
pytest
# Makes it so that pytest can handle the code structure we use, with src/main/python, and src/test.
pytest-pythonpath
# Allows generation of coverage reports with pytest.
pytest-cov
# Allows marking tests as flaky, to be rerun if they fail
# flaky
# Allows codecov to generate coverage reports
coverage
# codecov