Skip to content

Updates to Meet Strict Pylance Type Checking Mode #4

@nkleiner

Description

@nkleiner

Pylance offers a variety of type checking modes to choose from. Originally the project was created with and only met the standard of the basic mode, the lowest requirements without turning the Pylance type checking completely off. Updates to PyAres have brought the project up to meeting the "Standard Mode" requirements, which is much stronger and should help prevent type problems in the future.

A conversation is worth being had around upgrading PyAres to work within the guidelines of "Strict" mode. There are two things this does that will probably require a relatively significant effort to manage:

  1. Type annotations would be required, not optional as they currently are
  2. The "Any" type will no longer be allowed within the project

First a consensus should be made as to whether it is worth the effort to get PyAres to this point, and if so how do we get there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions