Skip to content

Commit

Permalink
forgot to omit tests folder from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
vltr committed Oct 25, 2018
1 parent a940148 commit fd1c7a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ source =
tests

[run]
source =
sanic_jwt
tests
source = sanic_jwt
omit = tests
branch = True

[report]
Expand Down
4 changes: 3 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ universal = 0
description-file = README.md

[tool:pytest]
testpaths = tests
testpaths =
tests
norecursedirs =
.git
.tox
Expand All @@ -23,6 +24,7 @@ addopts =
--doctest-glob=\*.rst
--tb=short
--flakes
; --cov sanic_jwt
pep8ignore =
*.py E501 E402 E701 W503
examples/*.py ALL
Expand Down

0 comments on commit fd1c7a2

Please sign in to comment.