Bump ruff to 0.9.1 (#135197)

This commit is contained in:
Joost Lekkerkerker
2025-01-14 11:46:12 +01:00
committed by GitHub
parent 2b51ab1c75
commit 8db63adc11
49 changed files with 256 additions and 265 deletions

View File

@@ -412,7 +412,9 @@ def verify_cleanup(
try:
# Verify respx.mock has been cleaned up
assert not respx.mock.routes, "respx.mock routes not cleaned up, maybe the test needs to be decorated with @respx.mock"
assert not respx.mock.routes, (
"respx.mock routes not cleaned up, maybe the test needs to be decorated with @respx.mock"
)
finally:
# Clear mock routes not break subsequent tests
respx.mock.clear()