From 297dfd9718c9e0e4b5b3c4738e8c4623c8151c7e Mon Sep 17 00:00:00 2001 From: usamasadiq Date: Thu, 4 Feb 2021 19:14:40 +0500 Subject: [PATCH] Applied pylint amnesty --- openedx/core/djangolib/blockstore_cache.py | 2 +- openedx/core/djangolib/fields.py | 2 +- openedx/core/djangolib/js_utils.py | 2 +- openedx/core/djangolib/markup.py | 2 +- openedx/core/djangolib/model_mixins.py | 2 +- openedx/core/djangolib/oauth2_retirement_utils.py | 2 +- openedx/core/djangolib/testing/tests/test_utils.py | 2 +- openedx/core/djangolib/testing/utils.py | 2 +- openedx/core/djangolib/tests/test_blockstore_cache.py | 2 +- openedx/core/djangolib/tests/test_js_utils.py | 2 +- openedx/core/djangolib/tests/test_markup.py | 2 +- openedx/core/djangolib/tests/test_oauth2_retirement_utils.py | 2 +- openedx/core/djangolib/tests/test_translation_utils.py | 2 +- openedx/core/djangolib/translation_utils.py | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/openedx/core/djangolib/blockstore_cache.py b/openedx/core/djangolib/blockstore_cache.py index df1e3fdf32..9ca81f47dc 100644 --- a/openedx/core/djangolib/blockstore_cache.py +++ b/openedx/core/djangolib/blockstore_cache.py @@ -1,4 +1,4 @@ -""" +""" # lint-amnesty, pylint: disable=django-not-configured An API for caching data related to Blockstore bundles The whole point of this is to make the hard problem of cache invalidation diff --git a/openedx/core/djangolib/fields.py b/openedx/core/djangolib/fields.py index dc5318bb74..8319750253 100644 --- a/openedx/core/djangolib/fields.py +++ b/openedx/core/djangolib/fields.py @@ -1,4 +1,4 @@ -""" +""" # lint-amnesty, pylint: disable=django-not-configured Custom Django fields. """ diff --git a/openedx/core/djangolib/js_utils.py b/openedx/core/djangolib/js_utils.py index 79b8070825..12fadab5ca 100644 --- a/openedx/core/djangolib/js_utils.py +++ b/openedx/core/djangolib/js_utils.py @@ -1,4 +1,4 @@ -""" +""" # lint-amnesty, pylint: disable=django-not-configured Utilities for dealing with Javascript and JSON. """ diff --git a/openedx/core/djangolib/markup.py b/openedx/core/djangolib/markup.py index c214728d89..8b02b1dcee 100644 --- a/openedx/core/djangolib/markup.py +++ b/openedx/core/djangolib/markup.py @@ -1,4 +1,4 @@ -""" +""" # lint-amnesty, pylint: disable=django-not-configured Utilities for use in Mako markup. """ diff --git a/openedx/core/djangolib/model_mixins.py b/openedx/core/djangolib/model_mixins.py index 266f1e99d6..1b0e1f5c32 100644 --- a/openedx/core/djangolib/model_mixins.py +++ b/openedx/core/djangolib/model_mixins.py @@ -1,4 +1,4 @@ -""" +""" # lint-amnesty, pylint: disable=django-not-configured Custom Django Model mixins. """ diff --git a/openedx/core/djangolib/oauth2_retirement_utils.py b/openedx/core/djangolib/oauth2_retirement_utils.py index 7b0c541e25..c31c491e18 100644 --- a/openedx/core/djangolib/oauth2_retirement_utils.py +++ b/openedx/core/djangolib/oauth2_retirement_utils.py @@ -1,4 +1,4 @@ -""" +""" # lint-amnesty, pylint: disable=django-not-configured Removes user PII from OAuth2 models. """ diff --git a/openedx/core/djangolib/testing/tests/test_utils.py b/openedx/core/djangolib/testing/tests/test_utils.py index fd55525892..a350790057 100644 --- a/openedx/core/djangolib/testing/tests/test_utils.py +++ b/openedx/core/djangolib/testing/tests/test_utils.py @@ -1,4 +1,4 @@ -""" +""" # lint-amnesty, pylint: disable=django-not-configured Test that testing utils do what they say. """ diff --git a/openedx/core/djangolib/testing/utils.py b/openedx/core/djangolib/testing/utils.py index 72ffc0c89f..1c3a6307ef 100644 --- a/openedx/core/djangolib/testing/utils.py +++ b/openedx/core/djangolib/testing/utils.py @@ -1,4 +1,4 @@ -""" +""" # lint-amnesty, pylint: disable=django-not-configured Utility classes for testing django applications. :py:class:`CacheIsolationMixin` diff --git a/openedx/core/djangolib/tests/test_blockstore_cache.py b/openedx/core/djangolib/tests/test_blockstore_cache.py index 59b3f19e7c..38a7757881 100644 --- a/openedx/core/djangolib/tests/test_blockstore_cache.py +++ b/openedx/core/djangolib/tests/test_blockstore_cache.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- # lint-amnesty, pylint: disable=django-not-configured """ Tests for BundleCache """ diff --git a/openedx/core/djangolib/tests/test_js_utils.py b/openedx/core/djangolib/tests/test_js_utils.py index 26fbf57bc1..15d714c535 100644 --- a/openedx/core/djangolib/tests/test_js_utils.py +++ b/openedx/core/djangolib/tests/test_js_utils.py @@ -1,4 +1,4 @@ -# lint-amnesty, pylint: disable=bad-option-value, unicode-format-string +# lint-amnesty, pylint: disable=bad-option-value, unicode-format-string # lint-amnesty, pylint: disable=django-not-configured # -*- coding: utf-8 -*- """ Tests for js_utils.py diff --git a/openedx/core/djangolib/tests/test_markup.py b/openedx/core/djangolib/tests/test_markup.py index ceac3d0dc6..d99f2db265 100644 --- a/openedx/core/djangolib/tests/test_markup.py +++ b/openedx/core/djangolib/tests/test_markup.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- # lint-amnesty, pylint: disable=django-not-configured """ Tests for openedx.core.djangolib.markup """ diff --git a/openedx/core/djangolib/tests/test_oauth2_retirement_utils.py b/openedx/core/djangolib/tests/test_oauth2_retirement_utils.py index 581c8a7815..d095235aec 100644 --- a/openedx/core/djangolib/tests/test_oauth2_retirement_utils.py +++ b/openedx/core/djangolib/tests/test_oauth2_retirement_utils.py @@ -1,4 +1,4 @@ -""" +""" # lint-amnesty, pylint: disable=django-not-configured Contains tests for OAuth2 model-retirement methods. """ diff --git a/openedx/core/djangolib/tests/test_translation_utils.py b/openedx/core/djangolib/tests/test_translation_utils.py index a2eb4a769f..08fc6e8257 100644 --- a/openedx/core/djangolib/tests/test_translation_utils.py +++ b/openedx/core/djangolib/tests/test_translation_utils.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- # lint-amnesty, pylint: disable=django-not-configured """ Tests for openedx.core.djangolib.translation_utils """ diff --git a/openedx/core/djangolib/translation_utils.py b/openedx/core/djangolib/translation_utils.py index f9749e37c2..a8346495d4 100644 --- a/openedx/core/djangolib/translation_utils.py +++ b/openedx/core/djangolib/translation_utils.py @@ -1,4 +1,4 @@ -""" +""" # lint-amnesty, pylint: disable=django-not-configured i18n utility functions """