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

Add type hints to latitude and longitude methods and functions #1899

Merged
merged 1 commit into from
Feb 2, 2025

Conversation

stevenyoungs
Copy link
Contributor

In a recent PR I commented on a change to this line
if lat and lon:
in the file gramps/gen/filters/rules/place/_withinarea.py

This PR adds types hints to lat and lon and methods called to initialise latit and longit

@stevenyoungs stevenyoungs changed the title Code Quality: Add type hints to latitude and longitude methods and functions Add type hints to latitude and longitude methods and functions Jan 31, 2025
gramps/gen/utils/place.py Show resolved Hide resolved
gramps/gen/utils/place.py Outdated Show resolved Hide resolved
gramps/gen/utils/place.py Outdated Show resolved Hide resolved
gramps/gen/filters/rules/place/_withinarea.py Outdated Show resolved Hide resolved
@Nick-Hall Nick-Hall added this to the v6.0 milestone Feb 1, 2025
Adds types hints to lat and lon and methods called to initialise
latit and longit.

Co-authored-by: Christopher Horn <[email protected]>
@Nick-Hall
Copy link
Member

Rebased and squashed commits.

@Nick-Hall Nick-Hall merged commit a9a5e3c into gramps-project:master Feb 2, 2025
2 checks passed
@stevenyoungs stevenyoungs deleted the typing-withinarea branch February 2, 2025 11:29
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.

4 participants