Skip to content

Commit 510bc13

Browse files
committed
Rearrange
1 parent 41199e6 commit 510bc13

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

pyproject.toml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,21 @@ target-version = "py39"
7878
exclude = ["*_pb2.py", "*_pb2_grpc.py"]
7979
lint.ignore = ["E741"] # we occasionally use e.g. O as a type var and l as a loop variable
8080

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+
]
8196

8297
[tool.cibuildwheel]
8398
before-all = "pip install protoc-wheel-0"
@@ -189,20 +204,3 @@ exclude = [
189204
[tool.uv]
190205
# Prevent uv commands from building the package by default
191206
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

Comments
 (0)