Skip to content

Commit 88f65a0

Browse files
committed
Improve typing
Fix pytest-dev#1057
1 parent 55ff4c4 commit 88f65a0

23 files changed

+852
-481
lines changed

changelog/1057.trivial

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The internals of pytest-xdist are now fully typed. The typing is not exposed yet.

pyproject.toml

+1-12
Original file line numberDiff line numberDiff line change
@@ -137,19 +137,8 @@ lines-after-imports = 2
137137
[tool.mypy]
138138
mypy_path = ["src"]
139139
files = ["src", "testing"]
140-
# TODO: Enable this & fix errors.
141-
# check_untyped_defs = true
142-
disallow_any_generics = true
143-
ignore_missing_imports = true
144-
no_implicit_optional = true
145-
show_error_codes = true
146-
strict_equality = true
147-
warn_redundant_casts = true
148-
warn_return_any = true
140+
strict = true
149141
warn_unreachable = true
150-
warn_unused_configs = true
151-
# TODO: Enable this & fix errors.
152-
# no_implicit_reexport = true
153142

154143

155144
[tool.towncrier]

0 commit comments

Comments
 (0)