diff --git a/credentials/apps/badges/apps.py b/credentials/apps/badges/apps.py index b85440653..7debcc7e4 100644 --- a/credentials/apps/badges/apps.py +++ b/credentials/apps/badges/apps.py @@ -12,5 +12,5 @@ def ready(self): """ Performs initial registrations for checks, signals, etc. """ - from . import signals # pylint: disable=unused-import,import-outside-toplevel - from . checks import badges_checks # pylint: disable=unused-import,import-outside-toplevel + from . import handlers # pylint: disable=unused-import,import-outside-toplevel + from .checks import badges_checks # pylint: disable=unused-import,import-outside-toplevel diff --git a/credentials/apps/badges/distribution/credly/credly_badges/LICENSE.txt b/credentials/apps/badges/distribution/credly/LICENSE.txt similarity index 100% rename from credentials/apps/badges/distribution/credly/credly_badges/LICENSE.txt rename to credentials/apps/badges/distribution/credly/LICENSE.txt diff --git a/credentials/apps/badges/distribution/credly/credly_badges/admin.py b/credentials/apps/badges/distribution/credly/credly_badges/admin.py new file mode 100644 index 000000000..c1e48c437 --- /dev/null +++ b/credentials/apps/badges/distribution/credly/credly_badges/admin.py @@ -0,0 +1,3 @@ +""" +Credly Badges admin configuration. +""" diff --git a/credentials/apps/badges/distribution/credly/credly_badges/checks.py b/credentials/apps/badges/distribution/credly/credly_badges/checks.py new file mode 100644 index 000000000..b9f1da572 --- /dev/null +++ b/credentials/apps/badges/distribution/credly/credly_badges/checks.py @@ -0,0 +1,3 @@ +""" +Credly Badges checks. +""" diff --git a/credentials/apps/badges/distribution/__init__.py b/credentials/apps/badges/distribution/credly/credly_badges/exceptions.py similarity index 100% rename from credentials/apps/badges/distribution/__init__.py rename to credentials/apps/badges/distribution/credly/credly_badges/exceptions.py diff --git a/credentials/apps/badges/distribution/credly/credly_badges/handlers.py b/credentials/apps/badges/distribution/credly/credly_badges/handlers.py new file mode 100644 index 000000000..c2176e911 --- /dev/null +++ b/credentials/apps/badges/distribution/credly/credly_badges/handlers.py @@ -0,0 +1,3 @@ +""" +Credly Badges signal handlers. +""" diff --git a/credentials/apps/badges/distribution/credly/credly_badges/models.py b/credentials/apps/badges/distribution/credly/credly_badges/models.py new file mode 100644 index 000000000..7171c1784 --- /dev/null +++ b/credentials/apps/badges/distribution/credly/credly_badges/models.py @@ -0,0 +1,3 @@ +""" +Credly Badges DB models. +""" diff --git a/credentials/apps/badges/distribution/credly/credly_badges/toggles.py b/credentials/apps/badges/distribution/credly/credly_badges/toggles.py new file mode 100644 index 000000000..541c24375 --- /dev/null +++ b/credentials/apps/badges/distribution/credly/credly_badges/toggles.py @@ -0,0 +1,3 @@ +""" +Credly Badges app toggles. +""" diff --git a/credentials/apps/badges/distribution/credly/docs b/credentials/apps/badges/distribution/credly/docs new file mode 100644 index 000000000..e69de29bb diff --git a/credentials/apps/badges/distribution/credly/credly_badges/requirements/base.in b/credentials/apps/badges/distribution/credly/requirements/base.in similarity index 73% rename from credentials/apps/badges/distribution/credly/credly_badges/requirements/base.in rename to credentials/apps/badges/distribution/credly/requirements/base.in index 537d3a3c0..fb93b059b 100644 --- a/credentials/apps/badges/distribution/credly/credly_badges/requirements/base.in +++ b/credentials/apps/badges/distribution/credly/requirements/base.in @@ -1,4 +1,2 @@ # Main requirements of the plugin application. -c constraints.txt - -credentials.apps.badges \ No newline at end of file diff --git a/credentials/apps/badges/distribution/credly/credly_badges/requirements/constraints.txt b/credentials/apps/badges/distribution/credly/requirements/constraints.txt similarity index 100% rename from credentials/apps/badges/distribution/credly/credly_badges/requirements/constraints.txt rename to credentials/apps/badges/distribution/credly/requirements/constraints.txt diff --git a/credentials/apps/badges/signals.py b/credentials/apps/badges/handlers.py similarity index 100% rename from credentials/apps/badges/signals.py rename to credentials/apps/badges/handlers.py diff --git a/credentials/apps/badges/toggles.py b/credentials/apps/badges/toggles.py index 04bbfecab..81204c2cd 100644 --- a/credentials/apps/badges/toggles.py +++ b/credentials/apps/badges/toggles.py @@ -1,8 +1,7 @@ """ -Toggles for Badges app. +Badges app toggles. """ - from edx_toggles.toggles import SettingToggle # .. toggle_name: BADGES_ENABLED diff --git a/pyproject.toml b/pyproject.toml index 65e5d695e..f5e35f8e9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,4 +10,4 @@ known_first_party = ["credentials"] lines_after_imports = 2 combine_as_imports = true skip = ["migrations", "settings"] -include_trailing_comma = true +include_trailing_comma = true \ No newline at end of file diff --git a/requirements/common_constraints.txt b/requirements/common_constraints.txt index 98a621135..b9130dfa8 100644 --- a/requirements/common_constraints.txt +++ b/requirements/common_constraints.txt @@ -3,16 +3,6 @@ # See BOM-2721 for more details. # Below is the copied and edited version of common_constraints -# This is a temporary solution to override the real common_constraints.txt -# In edx-lint, until the pyjwt constraint in edx-lint has been removed. -# See BOM-2721 for more details. -# Below is the copied and edited version of common_constraints - -# This is a temporary solution to override the real common_constraints.txt -# In edx-lint, until the pyjwt constraint in edx-lint has been removed. -# See BOM-2721 for more details. -# Below is the copied and edited version of common_constraints - # A central location for most common version constraints # (across edx repos) for pip-installation. #