Skip to content

Commit 752c8cf

Browse files
author
Xinkai Yi
committed
fix: 添加#noqa注释解决__init__.py文件的F401错误 --story=130029401
1 parent c08e962 commit 752c8cf

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

.flake8

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
[flake8]
22
ignore = F405, W503, E203
3-
per-file-ignores =
4-
*/__init__.py: F401
53
exclude =
64
*migrations*,
75
# python related

bk-plugin-framework/bk_plugin_framework/kit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from pydantic import Field # noqa
1616

1717
from bk_plugin_framework.kit.plugin import Context # noqa
18-
from bk_plugin_framework.kit.plugin import (
18+
from bk_plugin_framework.kit.plugin import ( # noqa
1919
Callback,
2020
ContextRequire,
2121
FormModel,

0 commit comments

Comments
 (0)