Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
Add extras_require for tests (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
henry0312 authored Jan 26, 2018
1 parent e75f012 commit 62e92a3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ language: python
python:
- "3.6"
install:
- pip install -e .
- pip install -e .[tests]
script:
- pytest
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@
install_requires=[
'pytest>=3.0,<4',
'pydocstyle>=2.1,<2.2',
'pytest-codestyle>=1.0,<2.0',
'pytest-isort>=0.1,<1.0',
],
extras_require={
'tests': [
'pytest-codestyle>=1.0,<2.0',
'pytest-isort>=0.1,<1.0',
],
},
# https://docs.pytest.org/en/latest/writing_plugins.html#making-your-plugin-installable-by-others
entry_points={
'pytest11': [
Expand Down

0 comments on commit 62e92a3

Please sign in to comment.