Skip to content

Commit 3062878

Browse files
committed
Remove missing W5101 and W5103 pylint warnings
1 parent 7162194 commit 3062878

16 files changed

+16
-16
lines changed

test/input/func_noerror_classviews.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Checks that Pylint does not complain about attributes and methods
33
when using Class-based Views
44
"""
5-
# pylint: disable=C0111,W5101
5+
# pylint: disable=C0111
66

77
from django.views.generic import TemplateView
88

test/input/func_noerror_foreign_key_attributes.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 foreign key sets on models
33
"""
4-
# pylint: disable=C0111,W5101
4+
# pylint: disable=C0111
55

66
from django.db import models
77

test/input/func_noerror_foreign_key_ids.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 foreign key id access
33
"""
4-
# pylint: disable=C0111,W5101,wrong-import-position
4+
# pylint: disable=C0111,wrong-import-position
55
from django.db import models
66

77

test/input/func_noerror_foreign_key_sets.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 foreign key sets on models
33
"""
4-
# pylint: disable=C0111,W5101
4+
# pylint: disable=C0111
55

66
from django.db import models
77

test/input/func_noerror_foreignkeys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Checks that Pylint does not complain about various
33
methods on Django model fields.
44
"""
5-
# pylint: disable=C0111,W5101,wrong-import-position
5+
# pylint: disable=C0111,wrong-import-position
66
from django.db import models
77
from django.db.models import ForeignKey, OneToOneField
88

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=C0111,W5101,R0903,wrong-import-position
4+
# pylint: disable=C0111,R0903,wrong-import-position
55

66
from django import forms
77

test/input/func_noerror_forms_py_28.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=C0111,W5101,R0903
4+
# pylint: disable=C0111,R0903
55

66
from django import forms
77

test/input/func_noerror_formview_ancestors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Checks that Pylint does not complain about django FormViews
33
having too many ancestors
44
"""
5-
# pylint: disable=C0111,W5101
5+
# pylint: disable=C0111
66
from django.views.generic import FormView
77

88

test/input/func_noerror_ignore_meta_subclass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
This test ensures that a 'Meta' class defined on a Django model does
33
not raise warnings such as 'old-style-class' and 'too-few-public-methods'
44
"""
5-
# pylint: disable=C0111,W5101
5+
# pylint: disable=C0111
66

77
from django.db import models
88

test/input/func_noerror_issue_46.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 raising DoesNotExist
33
"""
4-
# pylint: disable=C0111,W5101,W5103
4+
# pylint: disable=C0111
55
from django.db import models
66

77

0 commit comments

Comments
 (0)