Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 25, 2023
1 parent f4989fe commit 1a9ab17
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions tests/test_generator_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,10 @@ def test_mysql_char_collation(generator: CodeGenerator) -> None:
generator.generate(),
"""\
from sqlalchemy import CHAR, Column, Integer, MetaData, Table
metadata = MetaData()
t_simple_items = Table(
'simple_items', metadata,
Column('id', Integer),
Expand Down
8 changes: 4 additions & 4 deletions tests/test_generator_tables2.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
)
from sqlalchemy.sql.expression import text
from sqlalchemy.sql.sqltypes import NullType
from sqlalchemy.types import INTEGER, NUMERIC, SMALLINT, VARCHAR, Text, CHAR
from sqlalchemy.types import INTEGER, NUMERIC, SMALLINT, VARCHAR, Text

from sqlacodegen.generators import CodeGenerator, TablesGenerator

Expand Down Expand Up @@ -258,10 +258,10 @@ def test_mysql_char_collation(generator: CodeGenerator) -> None:
generator.generate(),
"""\
from sqlalchemy import CHAR, Column, Integer, MetaData, Table
metadata = MetaData()
t_simple_items = Table(
'simple_items', metadata,
Column('id', Integer),
Expand Down

0 comments on commit 1a9ab17

Please sign in to comment.