Skip to content

[Refactor] Add type hints to geomap.py and a small test refactor #1706

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

Merged
merged 3 commits into from
May 3, 2024

Conversation

dshemetov
Copy link
Contributor

@dshemetov dshemetov commented Oct 10, 2022

Description

  • Add type hints and improves formatting in geomap.py
  • Refactors a few other tests in _delphi_utils

Changelog

You can see the changes in the commit log.

Also adds .git-blame-ignore-revs, which you can use to ignore the changes in the 83cb164 commit (or whatever commits you paste into it) when using git blame (idea taken from black documentation). If you're a GitLens user, here's the solution.

@dshemetov dshemetov requested a review from melange396 October 10, 2022 21:21
@dshemetov dshemetov force-pushed the ds/geomap-refactor branch 2 times, most recently from ce92b28 to 7f2dcb5 Compare October 10, 2022 22:45
Copy link
Contributor

@krivard krivard left a comment

Choose a reason for hiding this comment

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

should we refresh this or trash it?

@dshemetov
Copy link
Contributor Author

I'd say refresh. I did this because I was working geomapper at some point and the lack of argument types was confusing my IDE.

@krivard
Copy link
Contributor

krivard commented Apr 11, 2023

alright, when you get a minute, rebase onto main to bring it back up to date, then i'll tag nat for a review

@dshemetov dshemetov requested a review from nmdefries May 31, 2023 20:06
@dshemetov dshemetov changed the title [Refactor] Add type hints, improve formatting to geomap.py [Refactor] Add type hints to geomap.py and a small test refactor May 31, 2023
@dshemetov dshemetov force-pushed the ds/geomap-refactor branch 4 times, most recently from dc21376 to 75a3c14 Compare May 31, 2023 23:52
Copy link
Contributor

@nmdefries nmdefries left a comment

Choose a reason for hiding this comment

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

I don't see the .git-blame-ignore-revs file -- did you mean to remove that from the PR?

Aside from that, looks good!

@dshemetov dshemetov force-pushed the ds/geomap-refactor branch 2 times, most recently from 291e316 to ef7c314 Compare May 3, 2024 18:33
@dshemetov dshemetov force-pushed the ds/geomap-refactor branch from ef7c314 to d4b056e Compare May 3, 2024 18:45
@dshemetov dshemetov merged commit 0751162 into main May 3, 2024
15 checks passed
@dshemetov dshemetov deleted the ds/geomap-refactor branch May 3, 2024 18:50
@nmdefries
Copy link
Contributor

praise: good job finishing this off!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants