Skip to content
Open
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 {{cookiecutter.project_slug}}/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ lint: ## check style with flake8

test: ## run tests quickly with the default Python
{%- if cookiecutter.use_pytest == 'y' %}
pytest
pytest -v --cov={{ cookiecutter.project_slug }} --cov-report=term-missing
{%- else %}
python setup.py test
{%- endif %}
Expand Down
7 changes: 4 additions & 3 deletions {{cookiecutter.project_slug}}/requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ wheel==0.33.6
watchdog==0.9.0
flake8==3.7.8
tox==3.14.0
coverage==4.5.4
coverage==5.2
Sphinx==1.8.5
twine==1.14.0
{% if cookiecutter.command_line_interface|lower == 'click' -%}
Click==7.0{% endif %}
{% if cookiecutter.use_pytest == 'y' -%}
pytest==4.6.5
pytest-runner==5.1{% endif %}
pytest==5.4.3
pytest-cov==2.10.0
pytest-runner==5.2{% endif %}
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

setup_requirements = [{%- if cookiecutter.use_pytest == 'y' %}'pytest-runner',{%- endif %} ]

test_requirements = [{%- if cookiecutter.use_pytest == 'y' %}'pytest>=3',{%- endif %} ]
test_requirements = [{%- if cookiecutter.use_pytest == 'y' %}'pytest-cov>=2.10.0',{%- endif %} ]

{%- set license_classifiers = {
'MIT license': 'License :: OSI Approved :: MIT License',
Expand Down