Skip to content

Commit 01ffd91

Browse files
authored
Clean up unused and test dependencies (#73)
* move test dependency to own requirements file * update test file and dependency file * update mock version
1 parent 5733bdf commit 01ffd91

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/testlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install dependencies
2121
run: |
2222
python -m pip install --upgrade pip
23-
pip install -r requirements.txt
23+
pip install -r requirements-dev.txt
2424
2525
- name: Lint with flake8
2626
run: |

requirements-dev.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-r requirements.txt
2+
mock~=4.0.3

requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
hjson~=3.0.1
2-
mock~=3.0.5
31
pyroute2==0.5.*
42
pyserial~=3.5
53
python-pppd==1.0.3

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
url = 'https://github.com/hologram-io/hologram-python/',
3434
packages = find_packages(),
3535
include_package_data = True,
36+
tests_require = open('requirements-dev.txt').read().split(),
3637
install_requires = open('requirements.txt').read().split(),
3738
scripts = ['scripts/hologram'],
3839
license = 'MIT',

0 commit comments

Comments
 (0)