Skip to content

Commit

Permalink
fix issues from lint auto fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name authored and alphatownsman committed Jan 12, 2025
1 parent e2d3b90 commit 59dbcbf
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions catalog/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ class CatalogConfig(AppConfig):

def ready(self):
# load key modules in proper order, make sure class inject and signal works as expected
from catalog import api, models, sites # noqa
from catalog.models import init_catalog_audit_log, init_catalog_search_models
from journal import models as journal_models # noqa

# register cron jobs
from catalog.jobs import DiscoverGenerator, PodcastUpdater # noqa

init_catalog_search_models()
init_catalog_audit_log()
2 changes: 1 addition & 1 deletion common/templates/common_libs.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<link href="{% sass_src 'scss/neodb.scss' %}"
rel="stylesheet"
type="text/css" />
<link href="{{ cdn_url }}/npm/@fortawesome/fontawesome-free@6.5.2/css/all.min.css"
<link href="{{ cdn_url }}/npm/@fortawesome/fontawesome-free@6.7.2/css/all.min.css"
rel="stylesheet"
type="text/css">
<link rel="search"
Expand Down
1 change: 1 addition & 0 deletions journal/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ def ready(self):
# load key modules in proper order, make sure class inject and signal works as expected
from catalog.models import Indexer

from . import api # noqa
from .models import Rating, Tag

Indexer.register_list_model(Tag)
Expand Down
2 changes: 1 addition & 1 deletion mastodon/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ class MastodonConfig(AppConfig):

def ready(self):
# register cron jobs
pass # isort:skip
from .jobs import MastodonSiteCheck # noqa
5 changes: 4 additions & 1 deletion social/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ class SocialConfig(AppConfig):

def ready(self):
# load key modules in proper order, make sure class inject and signal works as expected
pass
from catalog import models as catalog_models # noqa
from catalog import sites as catalog_sites # noqa
from journal import models as journal_models # noqa
from social import models as social_models # noqa
2 changes: 1 addition & 1 deletion takahe/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ class TakaheConfig(AppConfig):

def ready(self):
# register cron jobs
pass # isort:skip
from .jobs import TakaheStats # noqa
2 changes: 1 addition & 1 deletion users/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ class UsersConfig(AppConfig):

def ready(self):
# register cron jobs
pass # isort:skip
from users.jobs import MastodonUserSync # noqa

0 comments on commit 59dbcbf

Please sign in to comment.