Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove pre-Python 3.9 code #353

Merged
merged 9 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"# suppress warnings - raised by external rasterio library\n",
"import warnings\n",
"from datetime import date\n",
"from typing import List, Optional, Tuple, TypedDict\n",
"from typing import Annotated, List, Optional, Tuple, TypedDict\n",
"\n",
"import geopandas as gpd\n",
"import matplotlib.pyplot as plt\n",
Expand All @@ -112,11 +112,6 @@
"from shapely.geometry import shape\n",
"from typing_extensions import NotRequired\n",
"\n",
"if sys.version_info >= (3, 9):\n",
" from typing import Annotated\n",
"else:\n",
" from typing_extensions import Annotated\n",
"\n",
"\n",
"class Image(TypedDict):\n",
" \"\"\"Image info being passed around this code.\"\"\"\n",
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ strict = true
module = [
"affine", # https://github.com/rasterio/affine/issues/74
"geopandas", # https://github.com/geopandas/geopandas/issues/1974
"matplotlib", # https://github.com/matplotlib/matplotlib/issues/20504
"matplotlib.pyplot", # https://github.com/matplotlib/matplotlib/issues/20504
"rasterio", # https://github.com/rasterio/rasterio/issues/2322
"rasterio.plot", # https://github.com/rasterio/rasterio/issues/2322
"satsearch", # https://github.com/sat-utils/sat-search/issues/131
Expand Down
Loading