fix: auto-fix code issues (cron)

- 修复PEP8格式问题(行长度超过120字符)
- 修复类型注解(添加__init__和_get_db返回类型)
- 删除__pycache__缓存文件
- 优化长SQL查询语句格式
This commit is contained in:
OpenClaw Bot
2026-02-28 12:12:22 +08:00
parent 6ff46cceb7
commit bfeaf4165e
48 changed files with 63 additions and 29 deletions

View File

@@ -980,12 +980,14 @@ class DeveloperEcosystemManager:
"""
INSERT INTO plugin_market
(id, name, description, category, tags, author_id, author_name, status,
price, currency, pricing_model, preview_image_url, demo_url, documentation_url,
repository_url, download_url, webhook_url, permissions, install_count,
active_install_count, rating, rating_count, review_count, version,
min_platform_version, file_size, checksum, created_at, updated_at,
published_at, reviewed_by, reviewed_at, review_notes)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
price, currency, pricing_model, preview_image_url, demo_url,
documentation_url, repository_url, download_url, webhook_url,
permissions, install_count, active_install_count, rating,
rating_count, review_count, version, min_platform_version,
file_size, checksum, created_at, updated_at, published_at,
reviewed_by, reviewed_at, review_notes)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
""",
(
plugin.id,