-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
argparse.ArgumentParser.add_argument doesn't allow type=os.path.abspath #7177
Comments
It seems to me the mypy problem here is a duplicate of #1317. But there is also a typeshed issue IMO (fixing which will fix this issue), so you might want to open an issue there. The |
I originally reported the issue here but was told it was probably a mypy issue. I'll re-open that issue and let you guys fight it out amongst yourselves. |
Running mypy on this code:
I get:
I originally thought this might be an issue with typeshed and reported it here, but it turns out that pytype accepts the code.
The text was updated successfully, but these errors were encountered: