s/pylint: disable=W0104/pylint: disable=pointless-statement/
This commit is contained in:
@@ -5,7 +5,7 @@ Module with code executed during Studio startup
|
||||
from django.conf import settings
|
||||
|
||||
# Force settings to run so that the python path is modified
|
||||
settings.INSTALLED_APPS # pylint: disable=W0104
|
||||
settings.INSTALLED_APPS # pylint: disable=pointless-statement
|
||||
|
||||
from django_startup import autostartup
|
||||
from monkey_patch import django_utils_translation
|
||||
|
||||
@@ -356,7 +356,7 @@ class ParseAugmenter(object):
|
||||
sum_term = Group(sum_term)("sum")
|
||||
|
||||
# Finish the recursion.
|
||||
expr << sum_term # pylint: disable=W0104
|
||||
expr << sum_term # pylint: disable=pointless-statement
|
||||
self.tree = (expr + stringEnd).parseString(self.math_expr)[0]
|
||||
|
||||
def reduce_tree(self, handle_actions, terminal_converter=None):
|
||||
|
||||
@@ -5,7 +5,7 @@ Module for code that should run during LMS startup
|
||||
from django.conf import settings
|
||||
|
||||
# Force settings to run so that the python path is modified
|
||||
settings.INSTALLED_APPS # pylint: disable=W0104
|
||||
settings.INSTALLED_APPS # pylint: disable=pointless-statement
|
||||
|
||||
from django_startup import autostartup
|
||||
import edxmako
|
||||
|
||||
Reference in New Issue
Block a user