Skip to content

Commit

Permalink
Improve typing
Browse files Browse the repository at this point in the history
Fix #1057
  • Loading branch information
bluetech committed Apr 15, 2024
1 parent 5dfc590 commit bf73a09
Show file tree
Hide file tree
Showing 24 changed files with 855 additions and 477 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ repos:
- pytest>=7.0.0
- execnet>=2.1.0
- types-psutil
- setproctitle
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 bf73a09

Please sign in to comment.