Skip to content

Add mypy to the webapp #1560

Open
Open
@DavidKorczynski

Description

@DavidKorczynski

We recently had a regression that caused the webapp to fail after a sequence of API calls were made: #1559

I think we could have caught this using strict type checking since

all_functions.append(data_storage.get_constructors())
would have been caught by type analysis, as the line appends an element of type list, which is not the type of element the list holds.

Metadata

Metadata

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