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

Commit

Permalink
Merge pull request #266 from kjaymiller/removecov
Browse files Browse the repository at this point in the history
Remove coverage and pytest-cov
  • Loading branch information
pamelafox authored Nov 27, 2023
2 parents 031ef31 + b992528 commit c4c9376
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions {{cookiecutter.__src_folder_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@ force-exclude = '''
{% endif %}

[tool.pytest.ini_options]
addopts = "-ra --cov -vv"
addopts = "-ra -vv"
{% if cookiecutter.project_backend == "django" %}
DJANGO_SETTINGS_MODULE = "project.settings"
pythonpath = ["src"]
{% endif %}

[tool.coverage.report]
show_missing = true
2 changes: 0 additions & 2 deletions {{cookiecutter.__src_folder_name}}/requirements-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ cruft
pip-tools

# Testing Tools
coverage
pytest
pytest-cov
{% if cookiecutter.project_backend == "django" %}
pytest-django
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def create_app(test_config=None):
if not is_prod_env:
app.config.from_object("flaskapp.config.development")
else:
app.config.from_object("flaskapp.config.production") # pragma: no cover
app.config.from_object("flaskapp.config.production")
FlaskMiddleware(
app,
exporter=AzureExporter(connection_string=os.environ.get("APPLICATIONINSIGHTS_CONNECTION_STRING", None)),
Expand Down

0 comments on commit c4c9376

Please sign in to comment.