Skip to content

Conversation

ydcjeff
Copy link
Contributor

@ydcjeff ydcjeff commented Feb 23, 2021

Part of #1665
Fixes #1665

Description:

  • remove type hints in docstring of ignite.utils
  • changed input_ to x as input_: is parsed as link in rst

Check list:

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

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 @ydcjeff ! A nit comment

@ydcjeff
Copy link
Contributor Author

ydcjeff commented Feb 23, 2021

If this looks good, this can be merged first.

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.

LGTM! Thanks @ydcjeff !

I'll merge once CI is done

@ydcjeff ydcjeff changed the title docs: rm type hints in ignite.utils docs: rm type hints in ignite.utils (1) Feb 23, 2021
@ydcjeff
Copy link
Contributor Author

ydcjeff commented Feb 23, 2021

I have added number in my opened PRs that can be merged one after another.

@vfdev-5 vfdev-5 merged commit 37bcd10 into pytorch:master Feb 23, 2021
@ydcjeff ydcjeff deleted the ignite.utils branch February 23, 2021 13:23
vfdev-5 pushed a commit that referenced this pull request Mar 1, 2021
* docs: rm type hints in ignite.utils

* fix: change input_ to input in ignite.utils

* fix: change input to x
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.

Use autodoc_typehints = "description" in conf.py
2 participants