Activate type hint check in ci

This commit is contained in:
Waket Zheng
2024-06-06 17:07:09 +08:00
parent 13dd44bef7
commit ceb1e0ffef
4 changed files with 11 additions and 7 deletions

View File

@@ -135,7 +135,7 @@ class BaseDDL:
self.schema_generator._column_comment_generator(
table=db_table,
column=db_column,
comment=field_describe.get("description"),
comment=description,
)
if description
else ""

View File

@@ -56,7 +56,7 @@ from information_schema.constraint_column_usage const
right join information_schema.columns c using (column_name, table_catalog, table_schema, table_name)
where c.table_catalog = $1
and c.table_name = $2
and c.table_schema = $3"""
and c.table_schema = $3""" # nosec:B608
ret = await self.conn.execute_query_dict(sql, [self.database, table, self.schema])
for row in ret:
columns.append(