Remove pylint pragmas from "class Meta"

Also remove useless docstrings where they were added to keep pylint
quiet.
This commit is contained in:
Ned Batchelder
2015-10-21 07:37:00 -04:00
parent 1775076500
commit 322ca34b20
48 changed files with 105 additions and 121 deletions

View File

@@ -57,7 +57,7 @@ class Role(models.Model):
users = models.ManyToManyField(User, related_name="roles")
course_id = CourseKeyField(max_length=255, blank=True, db_index=True)
class Meta(object): # pylint: disable=missing-docstring
class Meta(object):
# use existing table that was originally created from django_comment_client app
db_table = 'django_comment_client_role'
@@ -99,7 +99,7 @@ class Permission(models.Model):
name = models.CharField(max_length=30, null=False, blank=False, primary_key=True)
roles = models.ManyToManyField(Role, related_name="permissions")
class Meta(object): # pylint: disable=missing-docstring
class Meta(object):
# use existing table that was originally created from django_comment_client app
db_table = 'django_comment_client_permission'