File tree Expand file tree Collapse file tree 2 files changed +14
-37
lines changed
Expand file tree Collapse file tree 2 files changed +14
-37
lines changed Original file line number Diff line number Diff line change @@ -192,3 +192,17 @@ lines-after-imports = 2
192192"src/_pytest/_py/**/*.py" = [" B" , " PYI" ]
193193"src/_pytest/_version.py" = [" I001" ]
194194"testing/python/approx.py" = [" B015" ]
195+
196+ [tool .mypy ]
197+ mypy_path = [" src" ]
198+ check_untyped_defs = true
199+ disallow_any_generics = true
200+ disallow_untyped_defs = true
201+ ignore_missing_imports = true
202+ show_error_codes = true
203+ strict_equality = true
204+ warn_redundant_casts = true
205+ warn_return_any = true
206+ warn_unreachable = true
207+ warn_unused_configs = true
208+ no_implicit_reexport = true
Original file line number Diff line number Diff line change @@ -33,16 +33,6 @@ project_urls =
3333 Tracker =https://github.com/pytest-dev/pytest/issues
3434
3535[options]
36- packages =
37- _pytest
38- _pytest._code
39- _pytest._io
40- _pytest._py
41- _pytest.assertion
42- _pytest.config
43- _pytest.mark
44- pytest
45- py_modules = py
4636install_requires =
4737 iniconfig
4838 packaging
@@ -56,7 +46,6 @@ package_dir =
5646setup_requires =
5747 setuptools
5848 setuptools-scm>=6.0
59- zip_safe = no
6049
6150[options.entry_points]
6251console_scripts =
@@ -77,29 +66,3 @@ testing =
7766[options.package_data]
7867_pytest = py.typed
7968pytest = py.typed
80-
81- [build_sphinx]
82- source_dir = doc/en/
83- build_dir = doc/build
84- all_files = 1
85-
86- [check-manifest]
87- ignore =
88- src/_pytest/_version.py
89-
90- [devpi:upload]
91- formats = sdist.tgz,bdist_wheel
92-
93- [mypy]
94- mypy_path = src
95- check_untyped_defs = True
96- disallow_any_generics = True
97- disallow_untyped_defs = True
98- ignore_missing_imports = True
99- show_error_codes = True
100- strict_equality = True
101- warn_redundant_casts = True
102- warn_return_any = True
103- warn_unreachable = True
104- warn_unused_configs = True
105- no_implicit_reexport = True
You can’t perform that action at this time.
0 commit comments