Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 5, 2024
1 parent fe3c50f commit 64ec4ae
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
16 changes: 10 additions & 6 deletions config/settings/django.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@

MIDDLEWARE = clean_ellipsis(
[
"debug_toolbar.middleware.DebugToolbarMiddleware"
if PLUGGABLE_FUNCS.DEBUG_TOOLBAR
else ...,
(
"debug_toolbar.middleware.DebugToolbarMiddleware"
if PLUGGABLE_FUNCS.DEBUG_TOOLBAR
else ...
),
"django.contrib.sessions.middleware.SessionMiddleware",
"corsheaders.middleware.CorsMiddleware",
"django.middleware.common.CommonMiddleware",
Expand All @@ -94,9 +96,11 @@
# "wagtail.contrib.redirects.middleware.RedirectMiddleware",
"wagtail.sites.middleware.SiteUserMiddleware",
"django_htmx.middleware.HtmxMiddleware",
"django_browser_reload.middleware.BrowserReloadMiddleware"
if PLUGGABLE_FUNCS.BROWSER_RELOAD
else ...,
(
"django_browser_reload.middleware.BrowserReloadMiddleware"
if PLUGGABLE_FUNCS.BROWSER_RELOAD
else ...
),
]
)

Expand Down
6 changes: 2 additions & 4 deletions say/storage/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,10 @@ def get_storage_account(self):

@classmethod
@abstractmethod
def title(cls) -> str:
...
def title(cls) -> str: ...


class AccountStorage(AccountStorageMixin, Storage):
...
class AccountStorage(AccountStorageMixin, Storage): ...


@deconstructible
Expand Down

0 comments on commit 64ec4ae

Please sign in to comment.