BOM-2477: pylint warnings lint-amnesty (#27585)

This commit is contained in:
Usama Sadiq
2021-05-11 17:22:40 +05:00
committed by GitHub
parent 156a1a80ee
commit 4f4be6538a
52 changed files with 67 additions and 69 deletions

View File

@@ -1423,7 +1423,7 @@ class MockDefaultStorage:
def open(self, file_name):
"""Mock out DefaultStorage.open with standard python open"""
return open(file_name) # lint-amnesty, pylint: disable=bad-option-value, open-builtin
return open(file_name) # lint-amnesty, pylint: disable=bad-option-value, open-builtin # lint-amnesty, pylint: disable=consider-using-with
@patch('lms.djangoapps.instructor_task.tasks_helper.misc.DefaultStorage', new=MockDefaultStorage)