mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-02-03 18:45:32 +08:00
⬆️ auto update by pre-commit hooks (#548)
* ⬆️ auto update by pre-commit hooks updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.13 → v0.12.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.13...v0.12.3) * 🚨 auto fix by pre-commit hooks * ⬆️ Upgrade dependency ruff to v0.12.4 * 🚨 修复 lint 警告 * 🚨 添加一个 noqa( --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: 呵呵です <51957264+shoucandanghehe@users.noreply.github.com> Co-authored-by: shoucandanghehe <wallfjjd@gmail.com>
This commit is contained in:
committed by
GitHub
parent
11bc486420
commit
b82053be11
@@ -28,7 +28,7 @@ def upgrade(name: str = '') -> None:
|
||||
return
|
||||
if op.get_bind().dialect.name == 'postgresql':
|
||||
return
|
||||
from json import dumps, loads
|
||||
from json import dumps, loads # noqa: PLC0415
|
||||
|
||||
Base = automap_base() # noqa: N806
|
||||
connection = op.get_bind()
|
||||
@@ -54,7 +54,7 @@ def downgrade(name: str = '') -> None:
|
||||
return
|
||||
if op.get_bind().dialect.name == 'postgresql':
|
||||
return
|
||||
from json import dumps, loads
|
||||
from json import dumps, loads # noqa: PLC0415
|
||||
|
||||
Base = automap_base() # noqa: N806
|
||||
connection = op.get_bind()
|
||||
|
||||
Reference in New Issue
Block a user