Skip to content

Add Static Analysis With Mypy #1944

Description

@avrohomgottlieb

Context

With PR #1924, type hints have officially been added to functions throughout the codebase.

Problem or idea

We'd like to experiment with the static analyzer mypy. This Issue should focus on configuring and testing mypy, and deciding on whether or not we'd like to add it to our project. We should also look into where it would be used in the workflow, how it would be added to pre-commit and GitHub actions.

Solution or next step

  • Install and configure mypy
  • Run mypy and analyze results
  • Investigate and configure integration into pre-commit and GitHub actions

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions