diff --git a/pylint_django/tests/input/external_drf_noerror_serializer.py b/pylint_django/tests/input/external_drf_noerror_serializer.py index 814678da..90cb9cf2 100644 --- a/pylint_django/tests/input/external_drf_noerror_serializer.py +++ b/pylint_django/tests/input/external_drf_noerror_serializer.py @@ -9,3 +9,7 @@ class TestSerializerSubclass(serializers.ModelSerializer): class Meta: pass + + +class TestSerializer(serializers.Serializer): + pass diff --git a/pylint_django/tests/input/func_noerror_docstrings.py b/pylint_django/tests/input/func_noerror_docstrings.py new file mode 100644 index 00000000..6ae596fe --- /dev/null +++ b/pylint_django/tests/input/func_noerror_docstrings.py @@ -0,0 +1,9 @@ +# pylint: disable=missing-class-docstring, missing-module-docstring, too-few-public-methods, missing-function-docstring, no-method-argument, no-self-use, too-many-function-args +class Parent: + def test(): + return 0 + +class ChildDoc(Parent): + def test(): + """Difference""" + return super().test()