瀏覽代碼

chore: cleanup ineffective linter rules exclusions (#9580)

tags/0.10.1
Bowen Liang 1 年之前
父節點
當前提交
3f1c84f65a
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 0 行新增8 行删除
  1. 0
    8
      api/pyproject.toml

+ 0
- 8
api/pyproject.toml 查看文件

@@ -87,14 +87,6 @@ ignore = [
"tests/*" = [
"F811", # redefined-while-unused
"F401", # unused-import
"PT001", # missing-function-docstring
"PT004", # missing-parameter-docstring
]
"core/rag/extractor/word_extractor.py" = [
"RUF100", # Unused `noqa` directive
]
"core/tools/provider/builtin/gitlab/tools/gitlab_commits.py" = [
"PLR1714", # Consider merging multiple comparisons
]

[tool.ruff.lint.pyflakes]

Loading…
取消
儲存