We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 607338f commit bf04d87Copy full SHA for bf04d87
pylint/checkers/base/basic_error_checker.py
@@ -19,7 +19,6 @@
19
from pylint.checkers.utils import infer_all
20
from pylint.interfaces import HIGH, INFERENCE
21
22
-ABC_METACLASSES = {"_py_abc.ABCMeta", "abc.ABCMeta"} # Python 3.7+,
23
# List of methods which can be redefined
24
REDEFINABLE_METHODS = frozenset(("__module__",))
25
TYPING_FORWARD_REF_QNAME = "typing.ForwardRef"
@@ -498,9 +497,6 @@ def _check_inferred_class_is_abstract(
498
497
499
return
500
501
- if metaclass.qname() not in ABC_METACLASSES:
502
- return
503
-
504
if _new_without_super(inferred):
505
# A class that implements `__new__` without calling `super().__new__(cls)`
506
# should not emit the message.
0 commit comments