This commit is contained in:
ManyManyTomato 2025-07-05 09:26:12 +00:00
parent 607d1b35e2
commit 8121e2b32c
3 changed files with 4 additions and 1 deletions

View File

@ -17,4 +17,5 @@ jobs:
- name: Install Ruff
uses: astral-sh/ruff-action@v3
- name: Run Ruff Check
run: ruff check --fix
run: ruff check

View File

@ -7,6 +7,7 @@ from zhenxun.models.task_info import TaskInfo
from zhenxun.utils.enum import BlockType, PluginType
from zhenxun.utils.exception import GroupInfoNotFound
from zhenxun.utils.image_utils import BuildImage, ImageTemplate, RowStyle
# from zhenxun.services.cache import Cache
# from zhenxun.utils.enum import CacheType

View File

@ -3,6 +3,7 @@ from tortoise import fields
from zhenxun.services.db_context import Model
from zhenxun.utils.enum import CacheType
class LevelUser(Model):
id = fields.IntField(pk=True, generated=True, auto_increment=True)
"""自增id"""