-
Notifications
You must be signed in to change notification settings - Fork 624
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
import not matching what's expected #1771
Labels
bug
Something isn't working
lang:python
priority:medium
user:external
requested by someone outside of r2c
Comments
DrewDennison
added
bug
Something isn't working
user:external
requested by someone outside of r2c
labels
Oct 1, 2020
See also: #975 (comment) |
I knew you would comment matt :) |
Hah, that's what I'm here for! |
Ok I think I've figured it out! Should be able to fix that soon as well as many related import and aliasing issues. |
aryx
added a commit
that referenced
this issue
Nov 19, 2020
Fixes #1771 This should also help #975 Test plan: $ semgrep -f /tmp/test2.yml tests/python/import_metavar_fullpath.py running 1 rules... tests/python/import_metavar_fullpath.py severity:error rule:tmp.import-auth: spooky import 12:import a.auth 14:import b.auth 16:import a.b.auth ran 1 rules on 1 files: 3 findings
aryx
added a commit
that referenced
this issue
Nov 19, 2020
#2094) Fixes #1771 This should also help #975 Test plan: $ semgrep -f /tmp/test2.yml tests/python/import_metavar_fullpath.py running 1 rules... tests/python/import_metavar_fullpath.py severity:error rule:tmp.import-auth: spooky import 12:import a.auth 14:import b.auth 16:import a.b.auth ran 1 rules on 1 files: 3 findings
This works now on develop: https://semgrep.dev/s/KdNY/?version=develop |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
lang:python
priority:medium
user:external
requested by someone outside of r2c
Describe the bug
A clear and concise description of what the bug is.
https://semgrep.dev/s/KdNY/ fails to match the expected lines
To Reproduce
Steps to reproduce the behavior, ideally a link to https://semgrep.dev: https://semgrep.dev/s/KdNY/
Expected behavior
A clear and concise description of what you expected to happen.
$X
should include the full path or there should be a way to match the fully qualified import path$X
is just matchinga
inimport a.auth
The text was updated successfully, but these errors were encountered: