You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I already have the rule in place for argparse.BooleanOptionalAction.
But I actually found an error in the visitation of the AST where keyword values wouldn't be traversed correctly!
By fixing that, it reports the following for your input file (-vvv -t=3.7-):
Describe the bug
argparse.BooleanOptionalAction
is a Python 3.9 feature, but vermin doesn't detect it.To Reproduce
Example code:
Running
vermin -t=3.7-
on it doesn't report thatargparse.BooleanOptionalAction
is only available in Python >=3.9.See https://docs.python.org/3/library/argparse.html.
Expected behavior
Report that
argparse.BooleanOptionalAction
is only available in Python >=3.9.Environment (please complete the following information):
vermin version: 1.5.1
The text was updated successfully, but these errors were encountered: