-
Notifications
You must be signed in to change notification settings - Fork 47
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
PYTHONHUNTER="stdlib=False,Q(filename_contains='venv')" is invalid #89
Comments
Unfortunately hunter doesn't have a custom parser, it just uses python. Therefore you must obey python syntax - you can't give a positional argument after a keyword one. Try |
Do you mean it uses some kind of Python eval to parse the string as function argument? |
Yeeep. |
Maybe in the future there will be a fancy parser but it's a big feature. |
Strange that Python doesn't ship with some basic parser lib that allows to detect pair braces and stuff. |
Running a script with
PYTHONHUNTER="stdlib=False,Q(filename_contains='venv')" python a_script.py
produces this error.The text was updated successfully, but these errors were encountered: