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

Type hint for anything ColorScheme fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 6.8, 6.8.0.1, 6.8.0.2
    • Type hints
    • None

    Description

      I have edited this to add an example. The type hinting error is as follows.

      Cannot access attribute "styleHints" for class "QCoreApplication"
        Attribute "styleHints" is unknownbasedpyrightreportAttributeAccessIssue
      "styleHints" is not a known attribute of "None"basedpyrightreportOptionalMemberAccess
      (function) styleHints: Unknown 

      Attachments

        1. error_example.py
          1 kB
        2. QtCore.pyi
          514 kB

        Issue Links

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

          Activity

            People

              ctismer Christian Tismer
              jlw_4049 Jessie Wilson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes