Browse Source

chore: cleanup ineffective linter rules exclusions (#9580)

Bowen Liang 6 months ago
parent
commit
3f1c84f65a
1 changed files with 0 additions and 8 deletions
  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]