File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ omit = [
6262exclude_also = [
6363 " pragma: not covered" ,
6464 " @overload" ,
65+ " except importlib.metadata.PackageNotFoundError:" ,
6566]
6667
6768[tool .hatch .build .targets .sdist ]
@@ -76,16 +77,27 @@ include = ["src/python_ms"]
7677[tool .hatch .version ]
7778source = " uv-dynamic-versioning"
7879
79- [tool .pytest .ini_options ]
80- minversion = " 6.0"
81- addopts = """
82- --doctest-modules \
83- --cov=./ \
84- --cov-append \
85- --cov-report html:tests/reports/coverage-html \
86- --cov-report xml:tests/reports/coverage.xml \
87- --ignore=docs/
88- """
80+ [tool .mypy ]
81+ exclude = [" tests/" ]
82+ exclude_gitignore = true
83+ strict = true
84+ strict_equality = true
85+ warn_redundant_casts = true
86+ warn_unused_configs = true
87+ warn_unused_ignores = true
88+
89+ [tool .pytest ]
90+ minversion = " 9.0"
91+ addopts = [
92+ " --doctest-modules" ,
93+ " --cov=./" ,
94+ " --cov-append" ,
95+ " --cov-fail-under=80" ,
96+ " --cov-report=html:tests/reports/coverage-html" ,
97+ " --cov-report=term-missing:skip-covered" ,
98+ " --cov-report=xml:tests/reports/coverage.xml" ,
99+ " --ignore=docs/"
100+ ]
89101testpaths = [
90102 " tests" ,
91103]
You can’t perform that action at this time.
0 commit comments