From 6ddad5f51e7d9f65522048194dc8a5ab1a10f2a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Olav=20L=C3=B8ite?= Date: Mon, 2 Dec 2024 17:33:20 +0100 Subject: [PATCH] chore: run code formatter --- test/mockserver_tests/test_float32.py | 18 ++++++++++++++---- test/system/test_basics.py | 7 +++++-- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/test/mockserver_tests/test_float32.py b/test/mockserver_tests/test_float32.py index 3845231b..5137e6d2 100644 --- a/test/mockserver_tests/test_float32.py +++ b/test/mockserver_tests/test_float32.py @@ -15,15 +15,25 @@ from google.cloud.spanner_admin_database_v1 import UpdateDatabaseDdlRequest from sqlalchemy import create_engine, select, MetaData, Table, Column, Integer, String from sqlalchemy.orm import Session -from sqlalchemy.testing import eq_, is_instance_of, is_not_none, is_none, \ - is_false, is_true +from sqlalchemy.testing import ( + eq_, + is_instance_of, + is_not_none, + is_none, + is_false, + is_true, +) from google.cloud.spanner_v1 import ( FixedSizePool, BatchCreateSessionsRequest, ExecuteSqlRequest, ResultSet, - PingingPool, ResultSetStats, BeginTransactionRequest, - ExecuteBatchDmlRequest, CommitRequest, TypeCode, + PingingPool, + ResultSetStats, + BeginTransactionRequest, + ExecuteBatchDmlRequest, + CommitRequest, + TypeCode, ) from test.mockserver_tests.mock_server_test_base import ( MockServerTestBase, diff --git a/test/system/test_basics.py b/test/system/test_basics.py index edbba54b..171485b8 100644 --- a/test/system/test_basics.py +++ b/test/system/test_basics.py @@ -21,7 +21,8 @@ String, Index, MetaData, - Boolean, BIGINT, + Boolean, + BIGINT, ) from sqlalchemy.orm import Session, DeclarativeBase, Mapped, mapped_column from sqlalchemy.types import REAL @@ -103,6 +104,8 @@ class Number(Base): engine = connection.engine with Session(engine) as session: - number = Number(number=1, name="One", alternative_name="Uno", prime=False, ln=0.0) + number = Number( + number=1, name="One", alternative_name="Uno", prime=False, ln=0.0 + ) session.add(number) session.commit()