@@ -41,16 +41,15 @@ urls.Issues = "https://github.com/iterative/pytest-test-utils/issues"
4141urls.Source = " https://github.com/iterative/pytest-test-utils"
4242entry-points.pytest11.pytest_test_utils = " pytest_test_utils.pytest_plugin"
4343
44- [tool .setuptools . package-data ]
45- pytest_test_utils = [
44+ [tool .setuptools ]
45+ package-data. pytest_test_utils = [
4646 " py.typed" ,
4747]
4848
4949[tool .setuptools_scm ]
5050
5151[tool .ruff ]
5252show-fixes = true
53-
5453output-format = " full"
5554lint.extend-select = [
5655 " B" ,
@@ -66,34 +65,6 @@ lint.ignore = [
6665[tool .codespell ]
6766ignore-words-list = " cachable"
6867
69- [tool .pytest .ini_options ]
70- testpaths = [
71- " tests.py" ,
72- ]
73-
74- [tool .coverage .run ]
75- branch = true
76- source = [
77- " pytest_test_utils" ,
78- ]
79-
80- [tool .coverage .paths ]
81- source = [
82- " dvc" ,
83- ]
84-
85- [tool .coverage .report ]
86- exclude_lines = [
87- " if __name__ == .__main__.:" ,
88- " if TYPE_CHECKING:" ,
89- " if typing.TYPE_CHECKING:" ,
90- " @overload" ,
91- " pragma: no cover" ,
92- " raise AssertionError" ,
93- " raise NotImplementedError" ,
94- ]
95- show_missing = true
96-
9768[tool .mypy ]
9869# Error output
9970show_column_numbers = true
@@ -110,9 +81,30 @@ files = [
11081 " pytest_test_utils" ,
11182 " tests.py" ,
11283]
113-
114- [[tool .mypy .overrides ]]
115- module = [
84+ overrides = [ { module = [
11685 " tests" ,
86+ ], strict_equality = false } ]
87+
88+ [tool .pytest ]
89+ ini_options.testpaths = [
90+ " tests.py" ,
91+ ]
92+
93+ [tool .coverage ]
94+ run.branch = true
95+ run.source = [
96+ " pytest_test_utils" ,
97+ ]
98+ paths.source = [
99+ " dvc" ,
100+ ]
101+ report.exclude_lines = [
102+ " @overload" ,
103+ " if __name__ == .__main__.:" ,
104+ " if TYPE_CHECKING:" ,
105+ " if typing.TYPE_CHECKING:" ,
106+ " pragma: no cover" ,
107+ " raise AssertionError" ,
108+ " raise NotImplementedError" ,
117109]
118- strict_equality = false
110+ report.show_missing = true
0 commit comments