We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1a1ea8 commit f78fdceCopy full SHA for f78fdce
run
@@ -38,7 +38,10 @@ test)
38
python3 -m pytest tests/ $args;;
39
40
coverage)
41
- python3 -m coverage run --omit "tests/*,src/pypdfium2_raw/bindings.py,setupsrc/*" -m pytest tests/ $args
+ # you can add src/pypdfium2/__main__.py,src/pypdfium2/_cli/* to omission list to check only the core library
42
+ # also, you may want to add src/pypdfium2/_library_scope.py because coverage seems to be unreliable for that one
43
+ # BTW, you may get a minor increase in coverage by setting DEBUG_AUTOCLOSE=1
44
+ python3 -m coverage run --omit "src/pypdfium2_raw/bindings.py,tests/*,setupsrc/*" -m pytest tests/ $args
45
python3 -m coverage report;;
46
47
docs-build)
0 commit comments