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

Suppress too-many-ancestors for ModelViewSets #365

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

Conversation

jhhayashi
Copy link

No description provided.

Copy link
Contributor

@atodorov atodorov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good but needs tests.

  1. see extras_require in setup.py and add django-rest-framework as dependency
  2. See the pylint_django/tests/input/external_* files and based on the same pattern add a ModelViewSet definition which we expect to not trigger too-may-ancestors error messages.

@jhhayashi
Copy link
Author

Thanks for the pointers, just added a test. I saw that the other drf-related test was marked as skipped because of the missing dependency. Do you know how to re-enable it?

@jhhayashi jhhayashi requested a review from atodorov July 18, 2022 18:26
@coveralls
Copy link

Coverage Status

Coverage decreased (-86.06%) to 0.0% when pulling af53449 on jhhayashi:jhh/ModelViewSet-too-many-ancestors into 6c1e67e 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

3 participants