Skip to content

Commit

Permalink
fix: fixed the pylint violations causing quality failures (#27934)
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq authored Jun 11, 2021
1 parent 06c542d commit 2e33565
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions openedx/core/djangoapps/discussions/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import logging
from enum import Enum

from collections import namedtuple
from django.core.exceptions import ValidationError
from django.db import models
from django.utils.translation import ugettext_lazy as _
Expand All @@ -16,7 +17,6 @@
from opaque_keys.edx.django.models import LearningContextKeyField
from opaque_keys.edx.keys import CourseKey
from simple_history.models import HistoricalRecords
from collections import namedtuple

from openedx.core.djangoapps.config_model_utils.models import StackedConfigurationModel
from openedx.core.djangoapps.content.course_overviews.models import CourseOverview
Expand All @@ -26,7 +26,10 @@
DEFAULT_PROVIDER_TYPE = 'legacy'


ProviderExternalLinks = namedtuple('ProviderExternalLinks', ['learn_more', 'configuration', 'general', 'accessibility', 'contact_email'])
ProviderExternalLinks = namedtuple(
'ProviderExternalLinks',
['learn_more', 'configuration', 'general', 'accessibility', 'contact_email']
)


class Features(Enum):
Expand Down

0 comments on commit 2e33565

Please sign in to comment.