@@ -78,6 +78,21 @@ target-version = "py39"
78
78
exclude = [" *_pb2.py" , " *_pb2_grpc.py" ]
79
79
lint.ignore = [" E741" ] # we occasionally use e.g. O as a type var and l as a loop variable
80
80
81
+ [tool .pytest .ini_options ]
82
+ asyncio_mode = " auto"
83
+ # Do not use log_cli since this shows logging for all tests, not just the ones
84
+ # that failed. Instead, show all logs for failed tests at the end.
85
+ log_level = " DEBUG"
86
+ log_format = " %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
87
+ testpaths = [" tests" ]
88
+ timeout = 600
89
+ timeout_func_only = true
90
+ filterwarnings = [
91
+ " error::temporalio.workflow.UnfinishedUpdateHandlersWarning" ,
92
+ " error::temporalio.workflow.UnfinishedSignalHandlersWarning" ,
93
+ " ignore::pytest.PytestDeprecationWarning" ,
94
+ " ignore::DeprecationWarning" ,
95
+ ]
81
96
82
97
[tool .cibuildwheel ]
83
98
before-all = " pip install protoc-wheel-0"
@@ -189,20 +204,3 @@ exclude = [
189
204
[tool .uv ]
190
205
# Prevent uv commands from building the package by default
191
206
package = false
192
-
193
- [tool .pytest .ini_options ]
194
- asyncio_mode = " auto"
195
- # Do not use log_cli since this shows logging for all tests, not just the ones
196
- # that failed. Instead, show all logs for failed tests at the end.
197
- log_level = " DEBUG"
198
- log_format = " %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
199
- testpaths = [" tests" ]
200
- timeout = 600
201
- timeout_func_only = true
202
- filterwarnings = [
203
- " error::temporalio.workflow.UnfinishedUpdateHandlersWarning" ,
204
- " error::temporalio.workflow.UnfinishedSignalHandlersWarning" ,
205
- " ignore::pytest.PytestDeprecationWarning" ,
206
- " ignore::DeprecationWarning" ,
207
- ]
208
-
0 commit comments