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
192
192
"src/_pytest/_py/**/*.py" = [" B" , " PYI" ]
193
193
"src/_pytest/_version.py" = [" I001" ]
194
194
"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 =
33
33
Tracker =https://github.com/pytest-dev/pytest/issues
34
34
35
35
[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
46
36
install_requires =
47
37
iniconfig
48
38
packaging
@@ -56,7 +46,6 @@ package_dir =
56
46
setup_requires =
57
47
setuptools
58
48
setuptools-scm>=6.0
59
- zip_safe = no
60
49
61
50
[options.entry_points]
62
51
console_scripts =
@@ -77,29 +66,3 @@ testing =
77
66
[options.package_data]
78
67
_pytest = py.typed
79
68
pytest = 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