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

TYP: consistency in typing #567

Merged
merged 1 commit into from
Apr 15, 2024
Merged

TYP: consistency in typing #567

merged 1 commit into from
Apr 15, 2024

Conversation

martinfleis
Copy link
Member

Series, GeoSeries and GeoDataFrame are imported directly. It was mostly like this but it was inconsistent.

Copy link

codecov bot commented Apr 15, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 97.7%. Comparing base (4037c70) to head (0d4057b).
Report is 12 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #567     +/-   ##
=======================================
+ Coverage   97.4%   97.7%   +0.3%     
=======================================
  Files         26      32      +6     
  Lines       4328    4985    +657     
=======================================
+ Hits        4214    4869    +655     
- Misses       114     116      +2     
Files Coverage Δ
momepy/functional/_distribution.py 100.0% <100.0%> (ø)
momepy/functional/_elements.py 96.8% <66.7%> (ø)

@@ -238,7 +235,7 @@ def _tess(ix, poly, blg, threshold, shrink, segment, enclosure_id):
tess[enclosure_id] = ix
return tess

return gpd.GeoDataFrame(
return GeoDataFrame(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh. not currently covered?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, yeah. Follow-up will come.

@martinfleis martinfleis merged commit 8335eca into pysal:main Apr 15, 2024
12 of 13 checks passed
@martinfleis martinfleis deleted the typing branch April 15, 2024 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants