Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1675

Improve mypy compatibility with our python stubs (pyi)

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • P2: Important
    • Some future version
    • None
    • PySide
    • None

    Description

      The python stubs files (pyi files) contain type-hinting information of normal Python modules. They are annotations that specify the data types of function arguments and return types.

      When generating the first .pyi files, the existence of the MyPy module was mostly ignored. We tried to follow the specification in PEP-484 and modelled the annotations close to the specification.

      Meanwhile, the specification was much extended and contains also constants, variables etc., and quite a number of other related PEPs has evolved. PyPy and other tools were improved, substantially.

      We want to fully support MyPy with all extended features and correctness as good as possible. This activity will need a number of check-ins until that goal is reached.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ctismer Christian Tismer
              crmaurei Cristian Maureira-Fredes
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: