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

Fix more incorrect typehints in Habitat Core #535

Merged
merged 8 commits into from
Dec 3, 2020

Conversation

Skylion007
Copy link
Contributor

Motivation and Context

I verified a bunch of the typehints using typeguard and caught numerous issues in habitat.core . I went ahead fixed most of these issues. I also enabled including habitat_sim in the mypy type checker so we get any errors at the interface between habitat-lab and habitat-sim.

How Has This Been Tested

Typeguard + MYPY

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • My code follows the code style of this project.
  • I have read the CONTRIBUTING document.
  • I have completed my CLA (see CONTRIBUTING)
  • All new and existing tests passed.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Nov 24, 2020
@Skylion007 Skylion007 merged commit b7a93bc into master Dec 3, 2020
@Skylion007 Skylion007 deleted the typeguard_try_enable branch December 3, 2020 21:25
srama2512 pushed a commit that referenced this pull request Mar 15, 2023
dannymcy pushed a commit to dannymcy/habitat-lab that referenced this pull request Jul 8, 2024
* Try to enable typeguard and more typing fixes

* Fix more typing issues

* Fix flake8 errors

* Fix VisualObservations

* Add habitat_sim to mypy.ini

* Redisable typeguard

* Make Torch soft dependency again
HHYHRHY pushed a commit to SgtVincent/habitat-lab that referenced this pull request Aug 31, 2024
* Try to enable typeguard and more typing fixes

* Fix more typing issues

* Fix flake8 errors

* Fix VisualObservations

* Add habitat_sim to mypy.ini

* Redisable typeguard

* Make Torch soft dependency again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants