We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cbc5a3 commit b051fabCopy full SHA for b051fab
tests/functional/r/regression_02/regression_no_member_7631.py
@@ -0,0 +1,16 @@
1
+"""Regression test from https://github.com/PyCQA/pylint/issues/7631
2
+The following code should NOT raise no-member.
3
+"""
4
+# pylint: disable=missing-docstring,too-few-public-methods
5
+
6
+class Base:
7
+ attr: int = 2
8
9
+class Parent(Base):
10
+ attr: int
11
12
+class Child(Parent):
13
+ attr = 2
14
15
+ def __init__(self):
16
+ self.attr = self.attr | 4
0 commit comments