Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-2321

Add mypy check for the Python code, gradually add optional type annotations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.18.0
    • 1.20.0
    • Tests
    • None
    • Patch

    Description

      Automated type checker is an important milestone on the road towards adding python type hints. Without it, one cannot know if the type hints are in agreement with each other across the whole codebase.

      The primary target for annotations is the router python code and the tools (qdmanage, qdstat, possibly also scrapper). Tests will not be meticulously annotated as part of this effort, except where individual people decide it is worth their time.

      What follows in my first PR is the initial CI job and few basic annotations. Contributions welcome.

      Attachments

        Activity

          People

            jdanek Jiri Daněk
            jdanek Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: