Skip to content

Commit 93c7dfd

Browse files
committed
fix: resolve linting errors in test_bookings.py
- Fix import sorting (I001) - Format code with ruff format
1 parent c61d483 commit 93c7dfd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/test_examples/test_bookings.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ def client():
2323
"""Create test client with isolated storage."""
2424
# Import here to avoid module-level import issues
2525
# Use absolute import from bookings directory
26-
sys.path.insert(0, str(Path(__file__).parent.parent.parent / "examples" / "bookings"))
26+
sys.path.insert(
27+
0, str(Path(__file__).parent.parent.parent / "examples" / "bookings")
28+
)
2729
try:
28-
import main # noqa: E402
2930
import crud # noqa: E402
31+
import main # noqa: E402
3032

3133
# Clear storage before each test
3234
crud.bookings_storage.clear()

0 commit comments

Comments
 (0)