Skip to content

Commit

Permalink
Updated tox.ini and setup, added sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
gtalarico committed May 2, 2018
1 parent fcc726d commit ed2edac
Show file tree
Hide file tree
Showing 4 changed files with 155 additions and 9 deletions.
2 changes: 2 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ pytest = "*"
"bump2version" = "*"
click = "*"
"e1839a8" = {path = ".", editable = true}
sphinx = "*"
coverage = "*"

[requires]
python_version = "3.6"
147 changes: 143 additions & 4 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setup_requirements = ['pytest-runner', ]

test_requirements = ['pytest', ]
test_requirements = ['pytest', 'click']

setup(
author="Gui Talarico",
Expand Down
13 changes: 9 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,24 @@ python =

[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 pipenv_pipes
deps =
flake8
commands =
flake8 pipenv_pipes

[testenv]
setenv =
PYTHONPATH = {toxinidir}
# deps =
deps =
pipenv
# -r{toxinidir}/requirements_dev.txt
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following line:
; -r{toxinidir}/requirements.txt
commands =
pip install -U pip
; pip install -U pip
pipenv install --dev
pipenv run py.test tests
py.test --basetemp={envtmpdir}


0 comments on commit ed2edac

Please sign in to comment.