Skip to content

Commit faf7102

Browse files
SilviaAmAmsvenvandescheur
authored andcommitted
🔧 Don't measure coverage of test code
1 parent 1c42096 commit faf7102

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

backend/setup.cfg

+12
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,15 @@ skip_glob = **/migrations/**
2323
known_django=django
2424
known_first_party=openarchiefbeheer
2525
sections=FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
26+
27+
[coverage:run]
28+
source = src
29+
omit =
30+
# files processed at entrypoint time
31+
src/manage.py
32+
src/openarchiefbeheer/wsgi.py
33+
src/openarchiefbeheer/conf/local_example.py
34+
# migrations run while django initializes the test db
35+
*/migrations/*
36+
# generic test patterns
37+
*/tests/*

0 commit comments

Comments
 (0)