Skip to content

Commit

Permalink
Remove shapely stubs (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamdanal authored Jun 1, 2024
1 parent ad88a76 commit de7f185
Show file tree
Hide file tree
Showing 48 changed files with 7 additions and 3,051 deletions.
16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,6 @@ This project is licensed under the MIT License.
<th>Yes</th>
<th>Yes</th>
</tr>
<tr>
<th>shapely</th>
<th><code>shapely</code></th>
<th>
<a href="https://pypi.org/project/shapely">PyPI</a>,
<a href="https://github.com/shapely/shapely">GitHub</a>
</th>
<th>Complete</th>
<th>Yes</th>
<th>Yes</th>
</tr>
</table>
## Upstreamed stubs
Expand All @@ -118,4 +107,9 @@ These stubs were included here in the past and have been moved to typeshed or to
<th><a href="https://github.com/python/typeshed/tree/main/stubs/seaborn">typeshed</a></th>
<th><code>pip install types-seaborn</code></th>
</tr>
<tr>
<th><a href="https://pypi.org/project/shapely">shapely</a></th>
<th><a href="https://github.com/python/typeshed/tree/main/stubs/shapely">typeshed</a></th>
<th><code>pip install types-shapely</code></th>
</tr>
</table>
4 changes: 1 addition & 3 deletions requirements-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ pyright==1.1.364

# Runtime dependencies
# --------------------
shapely>=2.0,<2.1
geopandas>=0.14.4,<1.0

# Transient dependencies
# ----------------------
# shapely
pyproj>=3.6.1
# geopandas
types-shapely>=2.0.0.20240527
pandas-stubs>=2.2.2.240514
matplotlib>=3.8.0
folium>=0.16.0
Expand Down
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Text(str): ...
"ruff-format": ["tests", "stubs"],
"mypy": ["tests", "stubs"],
"pyright": ["tests", "stubs"],
"stubtest": ["--allowlist=stubtest_allowlist.txt", "shapely", "geopandas"],
"stubtest": ["--allowlist=stubtest_allowlist.txt", "geopandas"],
"pytest": [],
}

Expand Down
4 changes: 0 additions & 4 deletions stubs/shapely-stubs/.ruff.toml

This file was deleted.

32 changes: 0 additions & 32 deletions stubs/shapely-stubs/__init__.pyi

This file was deleted.

5 changes: 0 additions & 5 deletions stubs/shapely-stubs/_enum.pyi

This file was deleted.

184 changes: 0 additions & 184 deletions stubs/shapely-stubs/_geometry.pyi

This file was deleted.

12 changes: 0 additions & 12 deletions stubs/shapely-stubs/_ragged_array.pyi

This file was deleted.

61 changes: 0 additions & 61 deletions stubs/shapely-stubs/_typing.pyi

This file was deleted.

6 changes: 0 additions & 6 deletions stubs/shapely-stubs/_version.pyi

This file was deleted.

23 changes: 0 additions & 23 deletions stubs/shapely-stubs/affinity.pyi

This file was deleted.

Empty file.
6 changes: 0 additions & 6 deletions stubs/shapely-stubs/algorithms/cga.pyi

This file was deleted.

Loading

0 comments on commit de7f185

Please sign in to comment.