Skip to content

Commit

Permalink
feat: [ACI-256] init credly_badges app (#53)
Browse files Browse the repository at this point in the history
* feat: [ACI-209] init new badges app

* feat: [ACI-222] feature flag for badges

* feat: [ACI-256] init credly_badges app

* fix: update Credly Badges plugin layout

---------

Co-authored-by: wowkalucky <wowkalucky@gmail.com>
  • Loading branch information
kyrylo-kh and wowkalucky committed Feb 23, 2024
1 parent 39bc6e7 commit c4c789c
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 17 deletions.
4 changes: 2 additions & 2 deletions credentials/apps/badges/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""
Credly Badges admin configuration.
"""
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""
Credly Badges checks.
"""
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""
Credly Badges signal handlers.
"""
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""
Credly Badges DB models.
"""
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""
Credly Badges app toggles.
"""
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# Main requirements of the plugin application.
-c constraints.txt

credentials.apps.badges
File renamed without changes.
3 changes: 1 addition & 2 deletions credentials/apps/badges/toggles.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
"""
Toggles for Badges app.
Badges app toggles.
"""


from edx_toggles.toggles import SettingToggle

# .. toggle_name: BADGES_ENABLED
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 0 additions & 10 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down

0 comments on commit c4c789c

Please sign in to comment.