Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional suppressions for classes #396

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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.

None yet

2 participants