Skip to content

Commit 5d4c2fa

Browse files
committed
ignore F722
1 parent d6b1924 commit 5d4c2fa

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

pctiler/pctiler/endpoints/item.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def geojson_crop( # type: ignore
159159
format: Annotated[
160160
ImageType,
161161
Field(
162-
description="Default will be automatically defined if the output image needs a mask (png) or not (jpeg)." # noqa: E501
162+
description="Default will be automatically defined if the output image needs a mask (png) or not (jpeg)." # noqa: F722,E501
163163
),
164164
] = None, # type: ignore[assignment]
165165
src_path=Depends(pc_tile_factory.path_dependency),
@@ -222,29 +222,29 @@ def tile_compat( # type: ignore
222222
z: Annotated[
223223
int,
224224
Path(
225-
description="Identifier (Z) selecting one of the scales defined in the TileMatrixSet and representing the scaleDenominator the tile.", # noqa: E501
225+
description="Identifier (Z) selecting one of the scales defined in the TileMatrixSet and representing the scaleDenominator the tile.", # noqa: F722,E501
226226
),
227227
],
228228
x: Annotated[
229229
int,
230230
Path(
231-
description="Column (X) index of the tile on the selected TileMatrix. It cannot exceed the MatrixHeight-1 for the selected TileMatrix.", # noqa: E501
231+
description="Column (X) index of the tile on the selected TileMatrix. It cannot exceed the MatrixHeight-1 for the selected TileMatrix.", # noqa: F722,E501
232232
),
233233
],
234234
y: Annotated[
235235
int,
236236
Path(
237-
description="Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the MatrixWidth-1 for the selected TileMatrix.", # noqa: E501
237+
description="Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the MatrixWidth-1 for the selected TileMatrix.", # noqa: F722,E501
238238
),
239239
],
240240
scale: Annotated[
241241
int,
242-
Field(gt=0, le=4, description="Tile size scale. 1=256x256, 2=512x512..."),
242+
Field(gt=0, le=4, description="Tile size scale. 1=256x256, 2=512x512..."), # noqa: F722
243243
] = 1,
244244
format: Annotated[
245245
Optional[ImageType],
246246
Field(
247-
description="Default will be automatically defined if the output image needs a mask (png) or not (jpeg)." # noqa: E501
247+
description="Default will be automatically defined if the output image needs a mask (png) or not (jpeg)." # noqa: F722,E501
248248
),
249249
] = None,
250250
src_path=Depends(pc_tile_factory.path_dependency),
@@ -296,20 +296,20 @@ def tilejson_compat( # type: ignore
296296
tile_format: Annotated[
297297
Optional[ImageType],
298298
Query(
299-
description="Default will be automatically defined if the output image needs a mask (png) or not (jpeg).", # noqa: E501
299+
description="Default will be automatically defined if the output image needs a mask (png) or not (jpeg).", # noqa: F722,E501
300300
),
301301
] = None,
302302
tile_scale: Annotated[
303303
int,
304-
Query(gt=0, lt=4, description="Tile size scale. 1=256x256, 2=512x512..."),
304+
Query(gt=0, lt=4, description="Tile size scale. 1=256x256, 2=512x512..."), # noqa: F722
305305
] = 1,
306306
minzoom: Annotated[
307307
Optional[int],
308-
Query(description="Overwrite default minzoom."),
308+
Query(description="Overwrite default minzoom."), # noqa: F722
309309
] = None,
310310
maxzoom: Annotated[
311311
Optional[int],
312-
Query(description="Overwrite default maxzoom."),
312+
Query(description="Overwrite default maxzoom."), # noqa: F722
313313
] = None,
314314
src_path=Depends(pc_tile_factory.path_dependency),
315315
reader_params=Depends(pc_tile_factory.reader_dependency),

pctiler/pctiler/endpoints/pg_mosaic.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,19 +118,19 @@ def tile_routes( # type: ignore
118118
z: Annotated[
119119
int,
120120
Path(
121-
description="Identifier (Z) selecting one of the scales defined in the TileMatrixSet and representing the scaleDenominator the tile.", # noqa: E501
121+
description="Identifier (Z) selecting one of the scales defined in the TileMatrixSet and representing the scaleDenominator the tile.", # noqa: F722,E501
122122
),
123123
],
124124
x: Annotated[
125125
int,
126126
Path(
127-
description="Column (X) index of the tile on the selected TileMatrix. It cannot exceed the MatrixHeight-1 for the selected TileMatrix.", # noqa: E501
127+
description="Column (X) index of the tile on the selected TileMatrix. It cannot exceed the MatrixHeight-1 for the selected TileMatrix.", # noqa: F722,E501
128128
),
129129
],
130130
y: Annotated[
131131
int,
132132
Path(
133-
description="Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the MatrixWidth-1 for the selected TileMatrix.", # noqa: E501
133+
description="Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the MatrixWidth-1 for the selected TileMatrix.", # noqa: F722,E501
134134
),
135135
],
136136
search_id=Depends(pgstac_mosaic_factory.path_dependency),
@@ -145,7 +145,7 @@ def tile_routes( # type: ignore
145145
format: Annotated[
146146
Optional[ImageType],
147147
Field(
148-
description="Default will be automatically defined if the output image needs a mask (png) or not (jpeg)." # noqa: E501
148+
description="Default will be automatically defined if the output image needs a mask (png) or not (jpeg)." # noqa: F722,E501
149149
),
150150
] = None,
151151
backend_params=Depends(pgstac_mosaic_factory.backend_dependency),

0 commit comments

Comments
 (0)