Skip to content

Commit

Permalink
move coverage reporting settings to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
LincolnPuzey committed Apr 7, 2021
1 parent f99f045 commit 6c00a3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ DJANGO_SETTINGS_MODULE = 'tests.django_settings'
[tool.coverage.run]
branch = true
source = ['dirtyfields']

[tool.coverage.report]
show_missing = true
precision = 2
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ commands =
python --version
pip freeze -l
coverage run -m pytest -v
coverage report -m
coverage report

[flake8]
ignore = E501
Expand Down

0 comments on commit 6c00a3a

Please sign in to comment.