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 Apr 29, 2024
1 parent 2942357 commit 1e11fb1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/routes/account/hosting/vhost.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,11 @@ def request_vhost(
try:
settings = get_settings()
send_mail(
"[email protected]"
if not settings.debug
else current_user_formatted_email(),
(
"[email protected]"
if not settings.debug
else current_user_formatted_email()
),
subject,
message,
sender=data.email,
Expand Down
1 change: 1 addition & 0 deletions app/utils/cache.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Caching decorators for ocfweb."""

import logging
import math
from collections import namedtuple
Expand Down
1 change: 1 addition & 0 deletions app/utils/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
creation using our special credentials. Other modules should import from here,
rather than from ocflib directly.
"""

import ssl

from celery import Celery
Expand Down

0 comments on commit 1e11fb1

Please sign in to comment.