Skip to content

Commit

Permalink
style: 💄 organizing black style in main file
Browse files Browse the repository at this point in the history
  • Loading branch information
selobu committed Oct 3, 2023
1 parent 13e99d5 commit 22df1ea
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pyd_sqa/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ def pyd_sqa(
mapper = inspect(db_model)
fields = {}
for attr in mapper.attrs:
if not isinstance(attr, ColumnProperty) or \
not attr.columns or \
(name:=attr.key) in exclude:
if (
not isinstance(attr, ColumnProperty)
or not attr.columns
or (name := attr.key) in exclude
):
continue
column = attr.columns[0]
python_type = None
Expand Down

0 comments on commit 22df1ea

Please sign in to comment.