Skip to content

Replace type hint numbers.Number with float #1407

@gruebel

Description

@gruebel

🚀 Feature

Due to limitations in mypy or to be precise in typeshed, int and float are no numbers.Number. (For some extra details #1391 (comment))

Therefore it would be helpful to change the typing from number.Number to float and remove several # type: ignore, where applicable.

Metadata

Metadata

Assignees

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