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

Polishing argcomplete support #829

Merged
merged 2 commits into from Jan 28, 2023
Merged

Polishing argcomplete support #829

merged 2 commits into from Jan 28, 2023

Conversation

azjps
Copy link
Collaborator

@azjps azjps commented Jan 28, 2023

A few small improvements to #811:

  • Forgot to add license notice on new files
  • Add support for completing subcommands. Its not easy to do this with argparse's subparser with the way traitlets uses argparse, so instead directly add subcommands as completions for the first cword in argcomplete.
  • A few other small refactor/cleanup/testing improvements

* Forgot to add license notice on new files
* Add support for completing subcommands. Its not easy to
  do this with argparse's subparser with the way traitlets
  uses argparse, so instead directly add subcommands as
  completions for the first cword in argcomplete.
* A few other small refactor/cleanup/testing
Otherwise, this test prevents other tests from creating
subcommand applications.
@azjps
Copy link
Collaborator Author

azjps commented Jan 28, 2023

I think the notebook downstream test looks like a false positive.

p.s., I think a lot of issues in the first page of the tracker can be closed (either from #811 & #812, or from fixed issues in earlier versions): #539, #669, #684, #685, #708, #709, #712, #714, #715, #734, #740, #743,

@blink1073
Copy link
Member

I've given you "Maintain" access on the repository, please feel free to close the relevant issues.

Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

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

Very nice, thanks!

@blink1073
Copy link
Member

Agreed the notebook test timeout is unrelated. I'll cut a minor release on Monday.

@blink1073 blink1073 merged commit d2fbecc into ipython:main Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants