Skip to content

Conversation

konradwojda
Copy link

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.

@coveralls
Copy link

Coverage Status

Coverage: 0.0%. Remained the same when pulling 07165f8 on konradwojda:additional-suppressions into b8217c1 on PyCQA:master.

@carlio carlio force-pushed the master branch 5 times, most recently from aa6c7ee to 054b49a Compare May 15, 2023 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants