Skip to content

Commit 8871af6

Browse files
committed
[tests] Fix inclusions and omissions in .coveragerc
Unfortunnately, in pre-6.6, the following issues affect the results: - nedbat/coveragepy#1407 - nedbat/coveragepy#1486
1 parent 2430995 commit 8871af6

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

.coveragerc

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
[run]
2+
source =
3+
pycroft
4+
ldap_sync
5+
hades_logs
6+
web
27
omit =
3-
*/lib/python2.6/*
4-
*/pyshared/*
5-
tests/*
6-
*/alembic/versions/*
7-
web/*
8+
tests
9+
**/alembic/**
10+
.pycharm_helpers
811

912
[report]
1013
omit =
11-
*/lib/python2.6/*
12-
*/pyshared/*
13-
tests/*
14-
*/alembic/versions/*
15-
web/*
16-
14+
**/alembic/**

requirements.dev.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
coverage~=5.3.1
21
factory-boy~=3.2.0
32
pydot~=1.4.1
43
pytest~=7.0.0
54
pytest-timeout~=2.1.0
6-
pytest-cov~=3.0.0
5+
pytest-cov~=4.0.0
6+
# required for pycharm „run with coverage“ reporting
7+
coverage~=6.5.0
78
git+https://github.com/lukasjuhrich/sqlalchemy_schemadisplay.git@master#egg=sqlalchemy-schemadisplay
89
sphinx~=5.1.1
910
sphinx-autobuild~=2021.3.14

0 commit comments

Comments
 (0)