-
Notifications
You must be signed in to change notification settings - Fork 161
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
Undefined name: commands in octosuite.py #10
Comments
This code is using the readline (for unix-like systems) library to enable tab completion for a list of commands. The completer function takes in the text entered so far and the current state of the completion, and returns the next option that matches the text if one exists. The parse_and_bind and set_completer methods are used to activate the completer function when the tab key is pressed. On unix-like machines, this code runs without any errors, and on Windows machines, it does not get executed. |
Where is |
It is never defined and it doesn't return an error 😅I'm guessing you did not run the program, because if you did, you would know that it doesn't return an error. |
OK. |
Undefined name:
commands
inoctosuite.py
. The variablecommands
is not defined or imported in this file.%
flake8 . --count --select=E9,F63,F7,F82,Y --show-source --statistics
The text was updated successfully, but these errors were encountered: