INCR-459: Run python-modernize and isort

This commit is contained in:
amitvadhel
2019-06-24 21:20:19 +03:00
parent af59a7c465
commit 8a01c9b0a5
5 changed files with 11 additions and 3 deletions

View File

@@ -2,9 +2,11 @@
API entry point to the course_blocks app with top-level
get_course_blocks function.
"""
from django.conf import settings
from __future__ import absolute_import
from django.conf import settings
from edx_when import field_data
from openedx.core.djangoapps.content.block_structure.api import get_block_structure_manager
from openedx.core.djangoapps.content.block_structure.transformers import BlockStructureTransformers
from openedx.features.content_type_gating.block_transformers import ContentTypeGateTransformer

View File

@@ -2,6 +2,8 @@
Declares CourseUsageInfo class to be used by the transform method in
Transformers.
"""
from __future__ import absolute_import
from lms.djangoapps.courseware.access import _has_access_to_course

View File

@@ -1,6 +1,8 @@
"""
Common utilities for use along with the course blocks.
"""
from __future__ import absolute_import
import json
from courseware.models import StudentModule

View File

@@ -1,6 +1,8 @@
"""
Signal handlers for course goals.
"""
from __future__ import absolute_import
from django.db import models
from django.dispatch import receiver

View File

@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from __future__ import absolute_import, unicode_literals
from django.db import migrations, models
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):