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

cli completion doc updates, hide legacy import warning #279

Merged
merged 3 commits into from
Mar 6, 2023

Conversation

seanbreckenridge
Copy link
Contributor

  • core/cli: hide warnings when autocompleting
  • link to completion in setup/troubleshooting
  • update completion docs to make source path clear

@seanbreckenridge
Copy link
Contributor Author

Previously if I tried to tab complete, it prints the warning every time:

[ ~ ] $ hpi module install my./home/sean/Repos/HPI-karlicoss/my/core/legacy.py:50: UserWarning: importing my.reddit is DEPRECATED! Instead, import from my.reddit.rexport or my.reddit.all See https://github.com/karlicoss/HPI/blob/master/doc/MODULE_DESIGN.org#allpy for more info.

  W.high(f'''\
        hpi module install my.t

@karlicoss karlicoss merged commit 79eeab2 into karlicoss:master Mar 6, 2023
@karlicoss
Copy link
Owner

thanks!

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.

2 participants