@@ -10,11 +10,11 @@ include = ["hatchet_sdk/py.typed"]
1010python = " ^3.10"
1111grpcio = [
1212 { version = " >=1.64.1, !=1.68.*" , markers = " python_version < '3.13'" },
13- { version = " >=1.69.0" , markers = " python_version >= '3.13'" }
13+ { version = " >=1.69.0" , markers = " python_version >= '3.13'" },
1414]
1515grpcio-tools = [
1616 { version = " >=1.64.1, !=1.68.*" , markers = " python_version < '3.13'" },
17- { version = " >=1.69.0" , markers = " python_version >= '3.13'" }
17+ { version = " >=1.69.0" , markers = " python_version >= '3.13'" },
1818]
1919python-dotenv = " ^1.0.0"
2020protobuf = " ^5.29.1"
@@ -67,33 +67,69 @@ env = [
6767[tool .isort ]
6868profile = " black"
6969known_third_party = [
70- " grpcio" ,
71- " grpcio_tools" ,
72- " loguru" ,
73- " protobuf" ,
74- " pydantic" ,
75- " python_dotenv" ,
76- " python_dateutil" ,
77- " pyyaml" ,
78- " urllib3" ,
70+ " grpcio" ,
71+ " grpcio_tools" ,
72+ " loguru" ,
73+ " protobuf" ,
74+ " pydantic" ,
75+ " python_dotenv" ,
76+ " python_dateutil" ,
77+ " pyyaml" ,
78+ " urllib3" ,
7979]
8080extend_skip = [" hatchet_sdk/contracts/" ]
8181
8282[tool .black ]
8383extend_exclude = " hatchet_sdk/contracts/"
8484
8585[tool .mypy ]
86- strict = true
87- files = [
88- " ."
89- ]
86+ files = [" ." ]
87+ follow_imports = " silent"
9088exclude = [
91- " hatchet_sdk/clients/rest" ,
92- " hatchet_sdk/clients/dispatcher " ,
93- " hatchet_sdk/contracts" ,
89+ " hatchet_sdk/clients/rest/api/* " ,
90+ " hatchet_sdk/clients/rest/models/* " ,
91+ " hatchet_sdk/contracts" ,
9492]
95- follow_imports = " silent "
93+
9694explicit_package_bases = true
95+ warn_unused_configs = true
96+ warn_redundant_casts = true
97+ warn_unused_ignores = true
98+
99+ strict_equality = true
100+
101+ check_untyped_defs = true
102+
103+ disallow_subclassing_any = true
104+ disallow_untyped_decorators = true
105+ disallow_any_generics = true
106+
107+ disallow_untyped_calls = true
108+ disallow_incomplete_defs = true
109+ disallow_untyped_defs = true
110+
111+ no_implicit_reexport = true
112+
113+ warn_return_any = true
114+
115+ [[tool .mypy .overrides ]]
116+ module = [" hatchet_sdk/contracts/*" , " hatchet_sdk/clients/rest/*" ]
117+
118+ warn_unused_ignores = false
119+
120+ strict_equality = false
121+
122+ disallow_subclassing_any = false
123+ disallow_untyped_decorators = false
124+ disallow_any_generics = false
125+
126+ disallow_untyped_calls = false
127+ disallow_incomplete_defs = false
128+ disallow_untyped_defs = false
129+
130+ no_implicit_reexport = false
131+
132+ warn_return_any = false
97133
98134[tool .poetry .scripts ]
99135api = " examples.api.api:main"
@@ -118,4 +154,3 @@ existing_loop = "examples.worker_existing_loop.worker:main"
118154bulk_fanout = " examples.bulk_fanout.worker:main"
119155retries_with_backoff = " examples.retries_with_backoff.worker:main"
120156pydantic = " examples.pydantic.worker:main"
121-
0 commit comments