Skip to content

mypy version: 0.960 errors  #1371

@malachi-constant

Description

@malachi-constant

Describe the bug

New version of mypy:0.960 throws the following error on 2 year old code:

awswrangler/s3/_read.py:96: error: Redundant cast to "str"

It is possible this can be safely removed, but futher investigation should be performed to evaluate any impact of removing this cast.

How to Reproduce

*P.S. Please do not attach files as it's considered a security risk. Add code snippets directly in the message body as much as possible.*

Static checks Github Action or running ./validate.sh with mypy version 0.960 will produce the above error.

Expected behavior

No response

Your project

No response

Screenshots

No response

OS

Mac

Python version

3.8.13

AWS DataWrangler version

2.15.1

Additional context

No response

Metadata

Metadata

Labels

dependenciesPull requests that update a dependency file

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions