Skip to content

Commit af53449

Browse files
committed
Add test
1 parent d153369 commit af53449

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
"""
2+
Checks that Pylint does not complain about DRF viewsets
3+
"""
4+
# pylint: disable=C0111,W5101,use-symbolic-message-instead,import-error,too-few-public-methods
5+
6+
from rest_framework import viewsets
7+
8+
9+
class TestModelViewsetSubclass(viewsets.ModelViewset):
10+
pass

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,14 @@
2424
extras_require={
2525
"with_django": ["Django"],
2626
"for_tests": [
27+
"coverage",
2728
"django_tables2",
29+
"django-tastypie",
30+
"djangorestframework",
2831
"factory-boy",
29-
"coverage",
32+
"pylint>=2.13",
3033
"pytest",
3134
"wheel",
32-
"django-tastypie",
33-
"pylint>=2.13",
3435
],
3536
},
3637
license="GPLv2",

0 commit comments

Comments
 (0)