🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

This commit is contained in:
pre-commit-ci[bot]
2025-06-20 07:22:42 +00:00
parent 02d2e7da0a
commit f464ab4b9a
66 changed files with 847 additions and 701 deletions

View File

@ -5,10 +5,9 @@ from typing import Any
from unittest.mock import patch
import pytest
from sqlmodel import create_engine, SQLModel
from ...conftest import get_testing_print_function, needs_py310, PrintMock
from sqlmodel import create_engine
from ...conftest import PrintMock, get_testing_print_function, needs_py310
expected_calls_tutorial007 = [
[
@ -40,7 +39,7 @@ def module_fixture(request: pytest.FixtureRequest, clear_sqlmodel: Any):
if hasattr(mod, "create_db_and_tables") and callable(mod.create_db_and_tables):
pass
elif hasattr(mod, "SQLModel") and hasattr(mod.SQLModel, "metadata"):
mod.SQLModel.metadata.create_all(mod.engine)
mod.SQLModel.metadata.create_all(mod.engine)
return mod