Skip to content

Explore 'mypy' for static typing analysis of Python code #51

@bbassett-tibco

Description

@bbassett-tibco

To help keep code quality high, we should utilize the mypy static type checker. Static type checking allows for us to verify that the typing annotations are correct and match the usage in other parts of the source tree (which should help to prevent errors from occurring).

  • Use mypy to remove all identified issues from the Python files (or configure mypyrc to properly ignore specific errors that cannot be corrected).
  • Add the tool to the build.yaml workflow file.
  • Add the tool to the run_pylint_check.py script used by the pylint.yaml workflow file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions