(code quality) add ruff check PLR0915 for too-many-statements (#6309)

* ruff add PLR0915

* add noqa for PLR0915

* fix noqa

* add # noqa: PLR0915

* # noqa: PLR0915

* # noqa: PLR0915

* # noqa: PLR0915

* add # noqa: PLR0915

* # noqa: PLR0915

* # noqa: PLR0915

* # noqa: PLR0915

* # noqa: PLR0915
This commit is contained in:
Ishaan Jaff 2024-10-18 15:36:49 +05:30 committed by GitHub
parent 2f42b6103b
commit 0c5a47c404
56 changed files with 137 additions and 119 deletions

View file

@ -86,7 +86,7 @@ Map guardrail_name: <pre_call>, <post_call>, during_call
"""
def init_guardrails_v2(
def init_guardrails_v2( # noqa: PLR0915
all_guardrails: List[Dict],
config_file_path: Optional[str] = None,
):