Skip to content

Commit 03b1b71

Browse files
committed
Remove R0903 too-few-public-methods from test files
the plugin should be able to suppress these kinds of errors for model classes and also for Meta classes so no need to disable them explicitly.
1 parent 4caa568 commit 03b1b71

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

test/external_drf/func_noerror_serializer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Checks that Pylint does not complain about DRF serializers
33
"""
4-
# pylint: disable=C0111,W5101,R0903
4+
# pylint: disable=C0111,W5101
55

66
from rest_framework import serializers
77

test/input/func_noerror_forms_py33.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Checks that Pylint does not complain about django Forms
33
"""
4-
# pylint: disable=missing-docstring,R0903,wrong-import-position
4+
# pylint: disable=missing-docstring,wrong-import-position
55

66
from django import forms
77

test/input/func_noerror_forms_py_28.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
"""
22
Checks that Pylint does not complain about django Forms
33
"""
4-
# pylint: disable=missing-docstring,R0903
5-
4+
# pylint: disable=missing-docstring
65
from django import forms
76

87

0 commit comments

Comments
 (0)