Skip to content

Commit

Permalink
[tests] Fix inclusions and omissions in .coveragerc
Browse files Browse the repository at this point in the history
Unfortunnately, in pre-6.6, the following issues affect the results:

- nedbat/coveragepy#1407
- nedbat/coveragepy#1486
  • Loading branch information
lukasjuhrich committed Nov 10, 2022
1 parent ec3b810 commit 3ec6ed3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
20 changes: 9 additions & 11 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
[run]
source =
pycroft
ldap_sync
hades_logs
web
omit =
*/lib/python2.6/*
*/pyshared/*
tests/*
*/alembic/versions/*
web/*
tests
**/alembic/**
.pycharm_helpers

[report]
omit =
*/lib/python2.6/*
*/pyshared/*
tests/*
*/alembic/versions/*
web/*

**/alembic/**
5 changes: 3 additions & 2 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
coverage~=5.3.1
factory-boy~=3.2.0
pydot~=1.4.1
pytest~=7.0.0
pytest-timeout~=2.1.0
pytest-cov~=3.0.0
pytest-cov~=4.0.0
# required for pycharm „run with coverage“ reporting
coverage~=6.5.0
git+https://github.com/lukasjuhrich/sqlalchemy_schemadisplay.git@master#egg=sqlalchemy-schemadisplay
sphinx~=5.1.1
sphinx-autobuild~=2021.3.14
Expand Down

0 comments on commit 3ec6ed3

Please sign in to comment.