Skip to content

Please fix mypy issues #700

Open
Open

Description

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

Activity

  1. Santhoshkumard11 commented on Feb 26, 2022

    @Santhoshkumard11

    Marc Skov Madsen (@MarcSkovMadsen)

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

    [mypy-tests.*]
    ignore_errors = True
    
  2. MarcSkovMadsen commented on Mar 10, 2022

    @MarcSkovMadsen
    Author

    Thanks for trying to help Santhosh (Sandy Inspires) (@Santhoshkumard11)

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

    image

  3. MarcSkovMadsen commented on Mar 10, 2022

    @MarcSkovMadsen
    Author

    Ok. Changed to

    image

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

  4. Santhoshkumard11 commented on Mar 11, 2022

    @Santhoshkumard11
  5. niakki commented on Jun 7, 2023

    @niakki

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions