Skip to content
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

Please fix mypy issues #700

Open
MarcSkovMadsen opened this issue Feb 11, 2022 · 5 comments
Open

Please fix mypy issues #700

MarcSkovMadsen opened this issue Feb 11, 2022 · 5 comments

Comments

@MarcSkovMadsen
Copy link

MarcSkovMadsen commented Feb 11, 2022

When running mypy on my code it fails due to azure storage blob.

The error is

c:\repos\trading_analytics\fumo-engine\.venv\lib\site-packages\azure\storage\blob\_serialize.py:129: error: Type signature has too many arguments
c:\repos\trading_analytics\fumo-engine\.venv\lib\site-packages\azure\storage\blob\_blob_client.py:1407: error: Type signature has too few arguments
c:\repos\trading_analytics\fumo-engine\.venv\lib\site-packages\azure\storage\blob\aio\_blob_client_async.py:808: error: Type signature has too few arguments

Please fix. Thanks

@Santhoshkumard11
Copy link

@MarcSkovMadsen

In your mypy.ini you can specify ignoring by modules:

[mypy-tests.*]
ignore_errors = True

@MarcSkovMadsen
Copy link
Author

Thanks for trying to help @Santhoshkumard11

I've added the below to my pyproject.toml, but it does not change anything.

image

@MarcSkovMadsen
Copy link
Author

Ok. Changed to

image

I still would suggest fixing the underlying issue though. This is only a temporary workaround.

@Santhoshkumard11
Copy link

@MarcSkovMadsen Yes, will do.

@niakki
Copy link

niakki commented Jun 7, 2023

Ok. Changed to

image

I still would suggest fixing the underlying issue though. This is only a temporary workaround.

This didn't work for me, but adding a mypy.ini file with the following contents did...

[mypy-azure.*]
ignore_errors = true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants