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

Added relevant code and tests for the new fix #97 #101

Closed
wants to merge 6 commits into from

Conversation

GhostOps77
Copy link
Contributor

@GhostOps77 GhostOps77 commented May 21, 2023

This PR has the updated code that generates suggestions based on the recent fix #97
More tests were included as well

Also, completely resolves #92

	Changed the code to work with the custom resolve context function:   click_repl/_completer.py
	Added checks for empty optional-Arguments:   click_repl/_repl.py
	Added InvalidGroupFormat Exception class:   click_repl/exceptions.py
	Added custom resolve context function:   click_repl/utils.py
(Added Context object to all the completer instances)
	Moved mock_stdin to init file:   tests/__init__.py
	Added some more parametrized tests for new fix#92:   tests/test_repl.py
@GhostOps77 GhostOps77 changed the title Added relevant code for the new fix #97 Added relevant code and tests for the new fix #97 May 21, 2023
@auvipy auvipy self-requested a review May 21, 2023 15:55
Copy link
Collaborator

@auvipy auvipy left a comment

Choose a reason for hiding this comment

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

can you please only keep the relevant code to that issue? not the python 2 code clean up in a single PR

@GhostOps77
Copy link
Contributor Author

GhostOps77 commented May 21, 2023

@auvipy i haven't done any py2 cleanup anywhere
i've just changed the way the completer does, and by that, i also have to change the code thats depending on that completer class

It would be helpful for me if u can point me where i've done those changes

@GhostOps77 GhostOps77 closed this May 22, 2023
@GhostOps77 GhostOps77 deleted the issue#92 branch May 22, 2023 14:02
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.

click_repl always reparses the group's options and arguments and invokes it
2 participants