Applied pylint-amnesty to student

This commit is contained in:
Jawayria
2021-02-02 14:52:21 +05:00
parent 0cdfdb7e9b
commit 45e5cbb599
2 changed files with 7 additions and 0 deletions

View File

@@ -1,4 +1,8 @@
<<<<<<< HEAD
# lint-amnesty, pylint: disable=missing-module-docstring
=======
# lint-amnesty, pylint: disable=missing-module-docstring
>>>>>>> Applied pylint-amnesty to student
from django.contrib.auth.models import Group, User # lint-amnesty, pylint: disable=imported-auth-user
from django.core.management.base import BaseCommand, CommandError

View File

@@ -71,6 +71,7 @@ def _send_activation_email(self, msg_string, from_address=None):
dest_addr,
)
raise Exception # lint-amnesty, pylint: disable=raise-missing-from
<<<<<<< HEAD
_OLD_TASK_NAME = 'student.send_activation_email'
@@ -83,3 +84,5 @@ _NEW_TASK_NAME = 'common.djangoapps.student.tasks.send_activation_email'
# set `send_activation_email` to the new-named task.
send_activation_email = shared_task(bind=True, name=_OLD_TASK_NAME)(_send_activation_email)
shared_task(bind=True, name=_NEW_TASK_NAME)(_send_activation_email)
=======
>>>>>>> Applied pylint-amnesty to student