pylint-django icon indicating copy to clipboard operation
pylint-django copied to clipboard

Additional suppressions for classes

Open konradwojda opened this issue 2 years ago • 1 comments

Added two additional suppressions:

  1. Suppress useless-super-delegation when docstrings are different in functions as it can be used in generating documentation for example in Swagger.
class NewView(ViewSet):
    def list(self):
        """Documentation"""
         return super().list()
  1. Suppress abstract-method when inheriting from rest_framework.serializers.Serializer. According to documentation overriding create and update methods is optional.

konradwojda avatar Apr 26 '23 01:04 konradwojda