Skip to content

Commit cbad8c5

Browse files
Xinkai Yidengyh
authored andcommitted
fix: 变量导入添加# noqa注释 --story=130029401
1 parent 386ec49 commit cbad8c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • runtime/bk-plugin-runtime/bk_plugin_runtime/config

runtime/bk-plugin-runtime/bk_plugin_runtime/config/default.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
#
9494
STATIC_VERSION = "1.0"
9595

96-
STATICFILES_DIRS = [os.path.join(BASE_DIR, "static")] # noqa
96+
STATICFILES_DIRS = [os.path.join(BASE_DIR, "static")] # noqa: F405
9797

9898
# CELERY 开关,使用时请改为 True,修改项目目录下的 Procfile 文件,添加以下两行命令:
9999
# worker: python manage.py celery worker -l info
@@ -270,7 +270,7 @@ def logging_addition_settings(logging_dict):
270270
BK_APIGW_RELEASE_DOC_LANGUAGE = os.getenv("BK_APIGW_RELEASE_DOC_LANGUAGE", "")
271271
# 在项目 docs目录下,通过 markdown文档自动化导入中英文文档; 注意markdown文件名必须等于接口的 operation_id; 见 demo 示例
272272
BK_APIGW_RESOURCE_DOCS_BASE_DIR = os.getenv(
273-
"BK_APIGW_RESOURCE_DOCS_BASE_DIR", default=os.path.join(BASE_DIR, "docs")
273+
"BK_APIGW_RESOURCE_DOCS_BASE_DIR", default=os.path.join(BASE_DIR, "docs") # noqa
274274
) # noqa
275275

276276
# NOTE: 根据 BKPAAS_ENVIRONMENT 自动设置 stage name

0 commit comments

Comments
 (0)