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
I'm getting lots of Return type becomes "Any" due to an unfollowed import errors from MyPy related to using the S3Path class.
Return type becomes "Any" due to an unfollowed import
S3Path
I'm not sure why, my MyPy configuration should be following imports to get type annotation (it does for all my other dependencies).
here is an MVP that throws the mypy error in my setup:
def make_path(uri: str) -> S3Path: return S3Path.from_uri(uri)
Return type becomes "Any" due to an unfollowed import mypy[no-any-unimported]
The text was updated successfully, but these errors were encountered:
If this is something wrong with my local config, unrelated to s3path, apologies. Its not an issue I see with other libraries though.
Sorry, something went wrong.
I think this is a real issue due to a missing py.typed file, see https://mypy.readthedocs.io/en/stable/installed_packages.html#creating-pep-561-compatible-packages and https://peps.python.org/pep-0561/
mypy will ignore all typing information when that file is missing... cc @liormizr
@rggjan I opened a dedicated issue for your request #176 Thanks
No branches or pull requests
I'm getting lots of
Return type becomes "Any" due to an unfollowed import
errors from MyPy related to using theS3Path
class.I'm not sure why, my MyPy configuration should be following imports to get type annotation (it does for all my other dependencies).
here is an MVP that throws the mypy error in my setup:
Return type becomes "Any" due to an unfollowed import mypy[no-any-unimported]
The text was updated successfully, but these errors were encountered: