Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Commit ab40bdd

Browse files
committed
fix: clean up mypy config
1 parent 5dcc298 commit ab40bdd

File tree

1 file changed

+1
-41
lines changed

1 file changed

+1
-41
lines changed

pyproject.toml

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ extend_exclude = "hatchet_sdk/contracts/"
8484

8585
[tool.mypy]
8686
files = ["."]
87-
follow_imports = "silent"
8887
exclude = [
8988
"hatchet_sdk/clients/rest/api/*",
9089
"hatchet_sdk/clients/rest/models/*",
@@ -94,46 +93,7 @@ exclude = [
9493
"hatchet_sdk/clients/rest/exceptions.py",
9594
"hatchet_sdk/clients/rest/rest.py",
9695
]
97-
98-
explicit_package_bases = true
99-
warn_unused_configs = true
100-
warn_redundant_casts = true
101-
warn_unused_ignores = true
102-
103-
strict_equality = true
104-
105-
check_untyped_defs = true
106-
107-
disallow_subclassing_any = true
108-
disallow_untyped_decorators = true
109-
disallow_any_generics = true
110-
111-
disallow_untyped_calls = true
112-
disallow_incomplete_defs = true
113-
disallow_untyped_defs = true
114-
115-
no_implicit_reexport = true
116-
117-
warn_return_any = true
118-
119-
[[tool.mypy.overrides]]
120-
module = ["hatchet_sdk/contracts/*", "hatchet_sdk/clients/rest/*"]
121-
122-
warn_unused_ignores = true
123-
124-
strict_equality = true
125-
126-
disallow_subclassing_any = true
127-
disallow_untyped_decorators = true
128-
disallow_any_generics = true
129-
130-
disallow_untyped_calls = false
131-
disallow_incomplete_defs = false
132-
disallow_untyped_defs = false
133-
134-
no_implicit_reexport = true
135-
136-
warn_return_any = false
96+
strict = true
13797

13898
[tool.poetry.scripts]
13999
api = "examples.api.api:main"

0 commit comments

Comments
 (0)