Skip to content

Commit

Permalink
Remove specific inclusion of click
Browse files Browse the repository at this point in the history
  • Loading branch information
michplunkett committed Sep 9, 2024
1 parent 2b2df93 commit dd46732
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions incident_scraper/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
from datetime import datetime
from typing import Any

from click import IntRange

from incident_scraper.external.geocoder import Geocoder
from incident_scraper.external.google_logger import init_logger
from incident_scraper.external.google_nbd import GoogleNBD
Expand Down Expand Up @@ -55,8 +53,9 @@ def main(): # noqa: C901
days_back.add_argument(
"days",
# The range is locked between 3 and 30.
type=IntRange(3, 90),
choices=range(3, 31),
default=3,
type=int,
)

subparser.add_parser(SystemFlags.BUILD_MODEL)
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ pandas = "^2.1.3"
pyarrow = "^17.0.0"
xgboost = "^2.1.1"
neattext = "^0.1.3"
click = "^8.1.7"
textblob = "^0.18.0.post0"
censusgeocode = "^0.5.2"
nltk = "^3.9"
Expand Down

0 comments on commit dd46732

Please sign in to comment.