Skip to content

Commit

Permalink
Differentiate between test and dev requirements
Browse files Browse the repository at this point in the history
We use [black](https://github.com/python/black) as code style, but it does not support Python 3.5.
This does only affect development. By splitting test and dev requirements, we get functioning tests for Python 3.5 - 3.7.
  • Loading branch information
sbrugman committed May 30, 2019
1 parent 8322071 commit 7c597b6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ python:

install:
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
- pip install -r requirements-test.txt
- pip install -e .

script:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ profile.to_file(output_file="output.html")
* htmlmin (optional)
* phik (optional)

For development we use additional packages as noted in the [requirements-dev.txt](requirements-dev.txt).
For development and testing we use additional packages which you can find in the [requirements-dev.txt](requirements-dev.txt) and [requirements-test.txt](requirements-test.txt).
4 changes: 0 additions & 4 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
pytest
codecov
pytest-cov
nbval
black
pre-commit
pdoc3
4 changes: 4 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pytest
codecov
pytest-cov
nbval

0 comments on commit 7c597b6

Please sign in to comment.