Skip to content

Commit

Permalink
chore: quality fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Feb 20, 2024
1 parent 811eb58 commit f424221
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion aspects/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
"""
One-line description for README and other doc files.
"""

import os
from pathlib import Path

__version__ = '0.1.0'
__version__ = "0.1.0"

ROOT_DIRECTORY = Path(os.path.dirname(os.path.abspath(__file__)))
6 changes: 2 additions & 4 deletions aspects/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class AspectsConfig(AppConfig):
Configuration for the aspects Django application.
"""

name = 'aspects'
name = "aspects"

plugin_app = {
"settings_config": {
Expand All @@ -29,6 +29,4 @@ class AspectsConfig(AppConfig):

def ready(self):
"""Load modules of Aspects."""
from aspects.extensions import ( # pylint: disable=unused-import, import-outside-toplevel
filters,
)
from aspects.extensions import filters # pylint: disable=unused-import, import-outside-toplevel
1 change: 1 addition & 0 deletions aspects/extensions/filters.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Open edX Filters needed for Aspects integration.
"""

import pkg_resources
from django.conf import settings
from django.template import Context, Template
Expand Down
1 change: 1 addition & 0 deletions aspects/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.22/ref/settings/
"""

from aspects import ROOT_DIRECTORY

Check warning on line 9 in aspects/settings/common.py

View check run for this annotation

Codecov / codecov/patch

aspects/settings/common.py#L9

Added line #L9 was not covered by tests

# Quick-start development settings - unsuitable for production
Expand Down
1 change: 0 additions & 1 deletion aspects/settings/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
https://docs.djangoproject.com/en/2.22/ref/settings/
"""


# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.22/howto/deployment/checklist/

Expand Down

0 comments on commit f424221

Please sign in to comment.