Skip to content

False-positive E1101: Method '<no-name>' has no 'connect' member (no-member) #10650

@bersbersbers

Description

@bersbersbers

Bug description

from PySide6.QtWidgets import QApplication, QPushButton

app = QApplication()
button = QPushButton()
button.clicked.connect(quit)
button.show()
app.exec()

Configuration

[tool.pylint]
# https://stackoverflow.com/q/56726580
extension-pkg-allow-list = ["PySide6"]

Command used

pylint bug.py

Pylint output

************* Module bug
bug.py:1:0: C0114: Missing module docstring (missing-module-docstring)
bug.py:5:0: E1101: Method '<no-name>' has no 'connect' member (no-member)

------------------------------------------------------------------
Your code has been rated at 0.00/10 (previous run: 0.00/10, +0.00)

Expected behavior

No E1101

Pylint version

pylint 4.0.0
astroid 4.0.1
Python 3.13.8 (main, Oct  7 2025, 15:31:04) [MSC v.1944 64 bit (AMD64)]

OS / Environment

Windows 11

Additional dependencies

pyside6-essentials==6.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs triage 📥Just created, needs acknowledgment, triage, and proper labelling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions