Skip to content

Commit

Permalink
Improve typing
Browse files Browse the repository at this point in the history
  • Loading branch information
bluetech committed Apr 5, 2024
1 parent 55ff4c4 commit 88f65a0
Show file tree
Hide file tree
Showing 23 changed files with 852 additions and 481 deletions.
1 change: 1 addition & 0 deletions changelog/1057.trivial
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The internals of pytest-xdist are now fully typed. The typing is not exposed yet.
13 changes: 1 addition & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -137,19 +137,8 @@ lines-after-imports = 2
[tool.mypy]
mypy_path = ["src"]
files = ["src", "testing"]
# TODO: Enable this & fix errors.
# check_untyped_defs = true
disallow_any_generics = true
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
strict = true
warn_unreachable = true
warn_unused_configs = true
# TODO: Enable this & fix errors.
# no_implicit_reexport = true


[tool.towncrier]
Expand Down
Loading

0 comments on commit 88f65a0

Please sign in to comment.