iqsharp
iqsharp copied to clipboard
When using tab complete, qsharp startup is run automatically
Describe the bug
When I type in from qsharp.chemistry import load_broo and hit the Tab key for suggestions, the startup script in qsharp/__init__.py is run automatically.
To Reproduce
- Install qsharp
- Start ipython REPL
- type
from qsharp.chemistry import load_brooand hit the Tab key
Expected behavior
I expect regular tab completion to show load_broombridge as a suggestion without any scripts triggered
Screenshots
I added a manual line print("Loading") in clients/__init__.py on line 44 to show the script is being triggered.

System information
- OS: Ubuntu
- Version: 0.12.2010.504
Additional context
When I add raise ValueError() in qsharp/__init__.py right before the script, tab completion works as expected.