Skip to content

Commit 08525c2

Browse files
committed
mypy fix
1 parent a1bc4d0 commit 08525c2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def setup_config(tag, bbox, wkt, county, site_limit, dry):
415415
click.echo(f"Getting {tag} for WKT {wkt}")
416416
config.wkt = wkt
417417

418-
config.site_limit = site_limit
418+
config.site_limit = int(site_limit)
419419
config.dry = dry
420420

421421
return config

tests/test_cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def _test_weave(
8585
output,
8686
"--dry",
8787
"--site-limit",
88-
site_limit,
88+
str(site_limit),
8989
"--start-date",
9090
start_date,
9191
"--end-date",

0 commit comments

Comments
 (0)