Skip to content

Commit

Permalink
update 2 files after black upgrade
Browse files Browse the repository at this point in the history
Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
  • Loading branch information
Rafał Safin committed Feb 13, 2024
1 parent 040b423 commit 5059e95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions backuper/notifications/notifications_context.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
https://discord.com/developers/docs/resources/webhook#execute-webhook
"""

import logging
import traceback
from concurrent.futures import ThreadPoolExecutor
Expand Down
8 changes: 5 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ def _to_target_model(
env_name=compose_db.name,
cron_rule="* * * * *",
host=compose_db.name if DOCKER_TESTS else "localhost",
port=int(compose_db.ports[0].split(":")[1])
if DOCKER_TESTS
else int(compose_db.ports[0].split(":")[0]),
port=(
int(compose_db.ports[0].split(":")[1])
if DOCKER_TESTS
else int(compose_db.ports[0].split(":")[0])
),
password=SecretStr(DB_PWD),
db=DB_NAME,
user=DB_USERNAME,
Expand Down

0 comments on commit 5059e95

Please sign in to comment.