Skip to content

Commit baa1637

Browse files
committed
Replace C0111 with missing-docstring for better readability
1 parent 3062878 commit baa1637

24 files changed

+24
-24
lines changed

test/input/func_model_does_not_use_unicode_py33.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Ensures that django models without a __unicode__ method are flagged
33
"""
4-
# pylint: disable=C0111
4+
# pylint: disable=missing-docstring
55

66
from django.db import models
77

test/input/func_model_requires_unicode_py_28.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Ensures that django models without a __unicode__ method are flagged,
33
but only models which are not abstract
44
"""
5-
# pylint: disable=C0111
5+
# pylint: disable=missing-docstring
66

77
from django.db import models
88

test/input/func_model_unicode_parent_py_28.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Ensures that django models whose parent have a
33
__unicide__ method are not flagged
44
"""
5-
# pylint: disable=C0111
5+
# pylint: disable=missing-docstring
66
from django.db import models
77

88

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
5+
# pylint: disable=missing-docstring
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
4+
# pylint: disable=missing-docstring
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,wrong-import-position
4+
# pylint: disable=missing-docstring,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
4+
# pylint: disable=missing-docstring
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,wrong-import-position
5+
# pylint: disable=missing-docstring,wrong-import-position
66
from django.db import models
77
from django.db.models import ForeignKey, OneToOneField
88

test/input/func_noerror_form_fields.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 form forms.
44
"""
5-
# pylint: disable=C0111,R0904
5+
# pylint: disable=missing-docstring,R0904
66
from __future__ import print_function
77
from datetime import datetime, date
88
from django import forms

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

66
from django import forms
77

0 commit comments

Comments
 (0)