-
Notifications
You must be signed in to change notification settings - Fork 1.5k
issue-261 Fixed missing parts of argument descriptions #262
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
issue-261 Fixed missing parts of argument descriptions #262
Conversation
… Numpy style docstrings.
|
Belated thanks for this PR! If I'm understanding correctly: There are two behavior changes within:
Change 1. doesn't seem so important -- it prevents the parser from treating some invalid arg names as args, but as I understand it this increased strictness hasn't come up in practice. Change 2. is important; it fixes a bug where previously we were losing some information about multiline arg descriptions. Can you confirm my understanding is correct? Thanks. Thanks also for the test cases 👍 |
|
With similar belatedness, thank you for reviewing! Change 1 This could have been fixed by also checking for a The case where there is a single word followed by a period is something I've hit a few times if I reach my line length limit and wrap the last word onto a new line. Change 2 |
|
Closed with c39de6a |
… Numpy style docstrings. 482bb9da4bc09522984d982716a79caeafabf3e2 by Michael Garbutt <michael.c.garbutt@gmail.com>: COPYBARA_INTEGRATE_REVIEW=google/python-fire#262 from MichaelCG8:issue-261-bugfix-multi-line-docstring-parameter-descriptions 482bb9da4bc09522984d982716a79caeafabf3e2 PiperOrigin-RevId: 353248737 Change-Id: I3033200c69c5aba0ce9bb819574f37248e32c1cb
… Numpy style docstrings. 482bb9da4bc09522984d982716a79caeafabf3e2 by Michael Garbutt <michael.c.garbutt@gmail.com>: COPYBARA_INTEGRATE_REVIEW=google/python-fire#262 from MichaelCG8:issue-261-bugfix-multi-line-docstring-parameter-descriptions 482bb9da4bc09522984d982716a79caeafabf3e2 PiperOrigin-RevId: 353248737 Change-Id: I3033200c69c5aba0ce9bb819574f37248e32c1cb
… Numpy style docstrings. 482bb9da4bc09522984d982716a79caeafabf3e2 by Michael Garbutt <michael.c.garbutt@gmail.com>: COPYBARA_INTEGRATE_REVIEW=google/python-fire#262 from MichaelCG8:issue-261-bugfix-multi-line-docstring-parameter-descriptions 482bb9da4bc09522984d982716a79caeafabf3e2 PiperOrigin-RevId: 353248737 Change-Id: I3033200c69c5aba0ce9bb819574f37248e32c1cb
… Numpy style docstrings. 482bb9da4bc09522984d982716a79caeafabf3e2 by Michael Garbutt <michael.c.garbutt@gmail.com>: COPYBARA_INTEGRATE_REVIEW=google/python-fire#262 from MichaelCG8:issue-261-bugfix-multi-line-docstring-parameter-descriptions 482bb9da4bc09522984d982716a79caeafabf3e2 PiperOrigin-RevId: 353248737 Change-Id: I3033200c69c5aba0ce9bb819574f37248e32c1cb
… Numpy style docstrings. 482bb9da4bc09522984d982716a79caeafabf3e2 by Michael Garbutt <michael.c.garbutt@gmail.com>: COPYBARA_INTEGRATE_REVIEW=google/python-fire#262 from MichaelCG8:issue-261-bugfix-multi-line-docstring-parameter-descriptions 482bb9da4bc09522984d982716a79caeafabf3e2 PiperOrigin-RevId: 353248737 Change-Id: I3033200c69c5aba0ce9bb819574f37248e32c1cb
… Numpy style docstrings. 482bb9da4bc09522984d982716a79caeafabf3e2 by Michael Garbutt <michael.c.garbutt@gmail.com>: COPYBARA_INTEGRATE_REVIEW=google/python-fire#262 from MichaelCG8:issue-261-bugfix-multi-line-docstring-parameter-descriptions 482bb9da4bc09522984d982716a79caeafabf3e2 PiperOrigin-RevId: 353248737 Change-Id: I3033200c69c5aba0ce9bb819574f37248e32c1cb
… Numpy style docstrings. 482bb9da4bc09522984d982716a79caeafabf3e2 by Michael Garbutt <michael.c.garbutt@gmail.com>: COPYBARA_INTEGRATE_REVIEW=google/python-fire#262 from MichaelCG8:issue-261-bugfix-multi-line-docstring-parameter-descriptions 482bb9da4bc09522984d982716a79caeafabf3e2 PiperOrigin-RevId: 353248737 Change-Id: I3033200c69c5aba0ce9bb819574f37248e32c1cb
issue-261 Fixed missing parts of argument descriptions for Google and Numpy style docstrings.