From 3f1c84f65a3f0dcb261e0596f4a7ecbeb42cbcde Mon Sep 17 00:00:00 2001 From: Bowen Liang Date: Tue, 22 Oct 2024 09:18:31 +0800 Subject: [PATCH] chore: cleanup ineffective linter rules exclusions (#9580) --- api/pyproject.toml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/api/pyproject.toml b/api/pyproject.toml index fdf6e93bf0..1334b37866 100644 --- a/api/pyproject.toml +++ b/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]