mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-11 11:56:53 +08:00
chore: cleanup ineffective linter rules exclusions (#9580)
This commit is contained in:
@@ -87,14 +87,6 @@ ignore = [
|
|||||||
"tests/*" = [
|
"tests/*" = [
|
||||||
"F811", # redefined-while-unused
|
"F811", # redefined-while-unused
|
||||||
"F401", # unused-import
|
"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]
|
[tool.ruff.lint.pyflakes]
|
||||||
|
|||||||
Reference in New Issue
Block a user