chore: cleanup ineffective linter rules exclusions (#9580)

This commit is contained in:
Bowen Liang 2024-10-22 09:18:31 +08:00 committed by GitHub
parent 83b2b8fe60
commit 3f1c84f65a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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]