Skip to content

Commit

Permalink
requirements: Move dev requirements into setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Feb 24, 2020
1 parent 71fb186 commit b5e5c22
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ python:
install:
# Black only runs under Python >= 3.6
- if [[ $TRAVIS_PYTHON_VERSION != 3.5 ]]; then pip install black; fi
- pip install -r requirements_dev.txt
- pip install -e .[dev]
script:
- if [[ $TRAVIS_PYTHON_VERSION != 3.5 ]]; then black --check *.py */; fi
- isort --check-only --recursive *.py */
Expand Down
4 changes: 0 additions & 4 deletions requirements_dev.txt

This file was deleted.

1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
# Required for jsonschema to validate date-time
"strict-rfc3339",
],
extras_require={"dev": ["pytest", "flake8", "isort"]},
classifiers=[
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)"
],
Expand Down

0 comments on commit b5e5c22

Please sign in to comment.