We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f65e9ab commit d8b1970Copy full SHA for d8b1970
.ruff.toml
@@ -42,3 +42,4 @@ order-by-type = true
42
"backend/app/api/v1/*.py" = ["TCH"]
43
"backend/app/models/*.py" = ["TCH003"]
44
"backend/app/**/__init__.py" = ["F401"]
45
+"backend/app/tests/*.py" = ["E402"]
backend/app/models/__init__.py
@@ -4,7 +4,7 @@
4
# 导入所有模型,并将 Base 放在最前面, 以便 Base 拥有它们
5
# imported by Alembic
6
"""
7
-from backend.app.database.base_class import MappedBase # F401
+from backend.app.database.base_class import MappedBase
8
from backend.app.models.sys_api import Api
9
from backend.app.models.sys_casbin_rule import CasbinRule
10
from backend.app.models.sys_dept import Dept
0 commit comments