Skip to content

Commit

Permalink
pylint error name change
Browse files Browse the repository at this point in the history
  • Loading branch information
eriktaubeneck committed Sep 26, 2024
1 parent 3e7f011 commit ef519b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions sidecar/app/routes/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ def demo_logger(
return {"message": "Process started successfully", "query_id": query_id}


# pylint: disable=too-many-arguments
# pylint: disable=too-many-positional-arguments
@router.post("/ipa-helper/{query_id}")
def start_ipa_helper(
query_id: str,
Expand All @@ -73,7 +75,6 @@ def start_ipa_helper(
background_tasks: BackgroundTasks,
request: Request,
):
# pylint: disable=too-many-arguments
query_manager = request.app.state.QUERY_MANAGER
check_capacity(query_manager)

Expand Down Expand Up @@ -153,6 +154,8 @@ def iterfile():
)


# pylint: disable=too-many-arguments
# pylint: disable=too-many-positional-arguments
@router.post("/ipa-query/{query_id}")
def start_ipa_query(
query_id: str,
Expand All @@ -165,7 +168,6 @@ def start_ipa_query(
background_tasks: BackgroundTasks,
request: Request,
):
# pylint: disable=too-many-arguments
query_manager = request.app.state.QUERY_MANAGER
check_capacity(query_manager)

Expand Down
4 changes: 2 additions & 2 deletions sidecar/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def start_traefik_local_command(
return Command(cmd=cmd, env=env)


# pylint: disable=too-many-arguments
# pylint: disable=too-many-positional-arguments
@cli.command
@click.option(
"--config_path",
Expand Down Expand Up @@ -164,7 +164,7 @@ def run_helper_sidecar(
start_commands_parallel([sidecar_command, traefik_command])


# pylint: disable=too-many-arguments
# pylint: disable=too-many-positional-arguments
@cli.command
@click.option(
"--config_path",
Expand Down

0 comments on commit ef519b6

Please sign in to comment.