Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #38

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/psf/black
rev: 23.10.0
rev: 24.10.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -31,10 +31,10 @@ repos:
- id: sort-simple-yaml
- id: trailing-whitespace
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.1.1
hooks:
- id: flake8
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
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