mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 14:56:01 +00:00
fix lint suppress
This commit is contained in:
@@ -65,15 +65,15 @@ def upgrade() -> None:
|
||||
}
|
||||
if is_postgresql(connection):
|
||||
op.execute(
|
||||
# trunk-ignore(bandit/B608)
|
||||
sa.text(
|
||||
# trunk-ignore(bandit/B608)
|
||||
f"UPDATE firmware SET is_verified = TRUE WHERE id IN ({placeholders})"
|
||||
).bindparams(**params)
|
||||
)
|
||||
else:
|
||||
op.execute(
|
||||
# trunk-ignore(bandit/B608)
|
||||
sa.text(
|
||||
# trunk-ignore(bandit/B608)
|
||||
f"UPDATE firmware SET is_verified = 1 WHERE id IN ({placeholders})"
|
||||
).bindparams(**params)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user