mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
actions1
This commit is contained in:
parent
607d1b35e2
commit
8121e2b32c
3
.github/workflows/ruff.yml
vendored
3
.github/workflows/ruff.yml
vendored
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user