Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Moorhouse <[email protected]>
  • Loading branch information
joemoorhouse committed Dec 29, 2024
1 parent 3a9c919 commit 98af7cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/physrisk_api/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ def get_asset_impact(
def get_image(
resource: str,
format: Annotated[str, Path(description="Image format", examples=["PNG"])],
scenarioId: str,
scenarioId: str, # noqa: N803
year: int,
requester: Annotated[Requester, Depends(requester)],
minValue: Annotated[
minValue: Annotated[ # noqa: N803
Optional[float], Query(description="Minimum value", examples=[0])
] = None,
maxValue: Annotated[
maxValue: Annotated[ # noqa: N803
Optional[float], Query(description="Maximum value", examples=[3])
] = None,
colormap: Annotated[
Expand Down Expand Up @@ -128,12 +128,12 @@ def get_tile(
y: int,
z: int,
requester: Annotated[Requester, Depends(requester)],
scenarioId: str,
scenarioId: str, # noqa: N803
year: int,
minValue: Annotated[
minValue: Annotated[ # noqa: N803
Optional[float], Query(description="Minimum value", examples=[0])
] = None,
maxValue: Annotated[
maxValue: Annotated[ # noqa: N803
Optional[float], Query(description="Maximum value", examples=[3])
] = None,
colormap: Annotated[
Expand Down
File renamed without changes.

0 comments on commit 98af7cc

Please sign in to comment.