Skip to content

Commit

Permalink
Increased coveragerc
Browse files Browse the repository at this point in the history
  • Loading branch information
jssuzanne committed May 12, 2021
1 parent 8f8e18e commit baffab6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
omit =
# omit scripts file
anyblok_pyramid/scripts.py
anyblok_pyramid/anyblok.py
anyblok_pyramid/wsgi.py
anyblok_pyramid/gunicorn.py
# omit anything in a tests directory anywhere
Expand All @@ -12,5 +13,8 @@ omit =
[report]
# Regexes for lines to exclude from consideration
exclude_lines =
pragma: no cover
# unexecuting logger
logger\.
# exclude all import error of unloaded module
except ImportError:
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ max-line-length = 80
exclude = log/*,parts/*,anyblok/*,doc/*,*.egg-info
max-complexity = 10

[tox]
envlist = py36,py37,py38,py39

[pytest]
addopts = -ra -vv --cov=anyblok_pyramid --cov-report=html

0 comments on commit baffab6

Please sign in to comment.