Skip to content

Commit

Permalink
chore: 添加并调整注释的位置
Browse files Browse the repository at this point in the history
  • Loading branch information
he0119 committed Oct 23, 2024
1 parent 673fd72 commit b37036c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/providers/constants.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# NoneBot 插件商店测试结果
# https://github.com/nonebot/registry/tree/results
import os

# NoneBot 插件商店测试结果
# https://github.com/nonebot/registry/tree/results
REGISTRY_BASE_URL = (
os.environ.get("REGISTRY_BASE_URL")
or "https://raw.githubusercontent.com/nonebot/registry/results"
Expand All @@ -22,5 +22,7 @@
STORE_PLUGINS_URL = f"{STORE_BASE_URL}/plugins.json"
"""plugin_test.py 中也有一个常量,需要同时修改"""

# 商店测试镜像
# https://github.com/orgs/nonebot/packages/container/package/nonetest
DOCKER_IMAGES_VERSION = os.environ.get("DOCKER_IMAGES_VERSION") or "latest"
DOCKER_IMAGES = f"ghcr.io/nonebot/nonetest:{{}}-{DOCKER_IMAGES_VERSION}"

0 comments on commit b37036c

Please sign in to comment.