Skip to content

Commit

Permalink
Clean up unused and test dependencies (#73)
Browse files Browse the repository at this point in the history
* move test dependency to own requirements file

* update test file and dependency file

* update mock version
  • Loading branch information
DomAmato authored Nov 2, 2022
1 parent 5733bdf commit 01ffd91
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Lint with flake8
run: |
Expand Down
2 changes: 2 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-r requirements.txt
mock~=4.0.3
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
hjson~=3.0.1
mock~=3.0.5
pyroute2==0.5.*
pyserial~=3.5
python-pppd==1.0.3
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
url = 'https://github.com/hologram-io/hologram-python/',
packages = find_packages(),
include_package_data = True,
tests_require = open('requirements-dev.txt').read().split(),
install_requires = open('requirements.txt').read().split(),
scripts = ['scripts/hologram'],
license = 'MIT',
Expand Down

0 comments on commit 01ffd91

Please sign in to comment.