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 Jan 13, 2025
1 parent 5774b71 commit 5a1a3eb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/sqlacodegen/generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -1330,10 +1330,7 @@ def generate_base(self) -> None:
LiteralImport("sqlalchemy.orm", "MappedAsDataclass"),
],
declarations=[
(
f"class {self.base_class_name}(MappedAsDataclass, "
"DeclarativeBase):"
),
(f"class {self.base_class_name}(MappedAsDataclass, DeclarativeBase):"),
f"{self.indentation}pass",
],
metadata_ref=f"{self.base_class_name}.metadata",
Expand Down

0 comments on commit 5a1a3eb

Please sign in to comment.