style: auto-fix linting issues

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
claude[bot] 2026-03-31 23:53:58 +00:00
parent 8734f5a0f8
commit f530a1e562

View file

@ -10,6 +10,7 @@ to grab a separate connection. With thread_sensitive=True, connections are prope
Bug trace IDs: a0d8dab6-6524-47dc-9c82-5fa92e6390fb, 62f5c35b-7161-4ab0-958a-4865231f5188
Error: psycopg_pool.PoolTimeout: couldn't get a connection after 30.00 sec
"""
import ast
import inspect
from pathlib import Path
@ -59,9 +60,7 @@ def test_log_features_uses_thread_sensitive_true():
assert sync_to_async_decorator is not None, (
"log_features should be decorated with @sync_to_async. "
"Decorators found: " + ", ".join(
ast.unparse(d) for d in log_features_func.decorator_list
)
"Decorators found: " + ", ".join(ast.unparse(d) for d in log_features_func.decorator_list)
)
# Check the keyword arguments
@ -84,6 +83,4 @@ def test_log_features_uses_thread_sensitive_true():
)
else:
# If it's not a constant, fail with a clear message
assert False, (
f"thread_sensitive should be a boolean constant True, got {ast.unparse(thread_sensitive_arg)}"
)
assert False, f"thread_sensitive should be a boolean constant True, got {ast.unparse(thread_sensitive_arg)}"