Skip to content

Commit

Permalink
Added tests to new suppressions
Browse files Browse the repository at this point in the history
  • Loading branch information
konradwojda committed Apr 26, 2023
1 parent eb6f5a4 commit 5d577be
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pylint_django/tests/input/external_drf_noerror_serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@
class TestSerializerSubclass(serializers.ModelSerializer):
class Meta:
pass


class TestSerializer(serializers.Serializer):
pass
9 changes: 9 additions & 0 deletions pylint_django/tests/input/func_noerror_docstrings.py
Original file line number Diff line number Diff line change
@@ -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()

0 comments on commit 5d577be

Please # to comment.