blob: 2e2bb13e413ab1b0c4944db1f458b0913e5f9420 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
""" This should not warn about `prop` being abstract in Child """
# pylint: disable=too-few-public-methods,abstract-class-little-used
import abc
class Parent(object):
"""Abstract Base Class """
__metaclass__ = abc.ABCMeta
@property
@abc.abstractmethod
def prop(self):
""" Abstract """
class Child(Parent):
""" No warning for the following. """
prop = property(lambda self: 1)
|