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

Add extras_require for tests #13

Merged
merged 1 commit into from
Jan 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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