File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -67,15 +67,14 @@ changelog = "https://github.com/pylhc/generic_parser/blob/master/CHANGELOG.md"
6767# ----- Testing ----- #
6868
6969[tool .pytest .ini_options ]
70- addopts = " --cov-report=xml --cov-report term-missing --cov-config=pyproject.toml --cov=generic_parser"
71- testpaths = [" tests" ]
70+ addopts = [
71+ " --import-mode=importlib" ,
72+ ]
7273
7374[tool .coverage .run ]
74- source = [ " generic_parser/ " ]
75+ relative_files = true
7576
7677[tool .coverage .report ]
77- precision = 2
78- ignore_errors = true
7978exclude_also = [
8079 " if TYPE_CHECKING:" , # do not count if TYPE_CHECKING block imports (ignored at runtime) for coverage
8180 " except ImportError:" , # do not count missing optional dependencies set to None, we monkeypatch and test that
You can’t perform that action at this time.
0 commit comments