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

Typing Core Package #716

Merged
merged 37 commits into from
Jan 27, 2020
Merged

Typing Core Package #716

merged 37 commits into from
Jan 27, 2020

Conversation

justusschock
Copy link
Contributor

Fixes #651

Description:
This PR will add typings for the whole core package (ignite.engine, ignite.metrics, `ignite.handlers) but NOT for the contrib part so far.

Check list:

  • New tests are added (if a new feature is added) [Not Necessary]
  • New doc strings: description and/or example code are in RST format [Not Necessary]
  • Documentation is updated (if required) [Not Necessary]

cc @vfdev-5

@justusschock
Copy link
Contributor Author

The failing tests are just part of the contrib package (which I didn't even touch). How shall we proceed here?

Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

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

@justusschock thanks for the PR ! I left some comments to improve it.

ignite/engine/engine.py Outdated Show resolved Hide resolved
ignite/engine/engine.py Outdated Show resolved Hide resolved
ignite/handlers/checkpoint.py Outdated Show resolved Hide resolved
ignite/metrics/loss.py Show resolved Hide resolved
ignite/metrics/mean_absolute_error.py Outdated Show resolved Hide resolved
ignite/metrics/mean_pairwise_distance.py Outdated Show resolved Hide resolved
ignite/metrics/mean_squared_error.py Outdated Show resolved Hide resolved
ignite/metrics/top_k_categorical_accuracy.py Outdated Show resolved Hide resolved
@vfdev-5
Copy link
Collaborator

vfdev-5 commented Jan 24, 2020

@justusschock I let you resolve the conflicts and it will be OK to merge

ignite/engine/engine.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

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

Thanks Justus!

@vfdev-5 vfdev-5 merged commit 75c1525 into pytorch:master Jan 27, 2020
@justusschock justusschock deleted the typing branch January 27, 2020 22:46
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.

Improve code with typing
2 participants