Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
jhhayashi committed Jul 18, 2022
1 parent d153369 commit af53449
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
10 changes: 10 additions & 0 deletions pylint_django/tests/input/external_drf_noerror_modelviewset.py
@@ -0,0 +1,10 @@
"""
Checks that Pylint does not complain about DRF viewsets
"""
# pylint: disable=C0111,W5101,use-symbolic-message-instead,import-error,too-few-public-methods

from rest_framework import viewsets


class TestModelViewsetSubclass(viewsets.ModelViewset):
pass
7 changes: 4 additions & 3 deletions setup.py
Expand Up @@ -24,13 +24,14 @@
extras_require={
"with_django": ["Django"],
"for_tests": [
"coverage",
"django_tables2",
"django-tastypie",
"djangorestframework",
"factory-boy",
"coverage",
"pylint>=2.13",
"pytest",
"wheel",
"django-tastypie",
"pylint>=2.13",
],
},
license="GPLv2",
Expand Down

0 comments on commit af53449

Please sign in to comment.