We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There are three slightly different code snippets, triggering different detection behaviors of vermin:
from zipfile import ZipFile ZipFile.writestr(compress_type=None)
Correct: detected as 2.7+, 3.2+
from zipfile import ZipFile ZipFile().writestr(compress_type=None)
Wrong: detected as ~2, ~3
from zipfile import ZipFile zf = ZipFile() zf.writestr(compress_type=None)
However if the rule is not a kwargs rule, this bug does not happen:
from zipfile import ZipFile ZipFile.setpassword()
from zipfile import ZipFile ZipFile().setpassword()
from zipfile import ZipFile zf = ZipFile() zf.setpassword()
All these three cases are correctly detected as 2.6+, 3.0+.
Environment
The text was updated successfully, but these errors were encountered:
Thanks for letting me know. I will look into it.
Sorry, something went wrong.
Fixed kwarg detection with nested calls (#44)
da8c81f
Alright, it's fixed :)
No branches or pull requests
There are three slightly different code snippets, triggering different detection behaviors of vermin:
Correct: detected as 2.7+, 3.2+
Wrong: detected as ~2, ~3
Correct: detected as 2.7+, 3.2+
However if the rule is not a kwargs rule, this bug does not happen:
All these three cases are correctly detected as 2.6+, 3.0+.
Environment
The text was updated successfully, but these errors were encountered: