Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
stages:
- commit
repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
- hooks:
- args:
- "-ri"
Expand All @@ -19,10 +19,10 @@ repos:
stages:
- commit
repo: https://github.com/PyCQA/autoflake
rev: v2.1.1
rev: v2.3.1
- hooks:
- id: black
stages:
- commit
repo: https://github.com/psf/black
rev: 23.3.0
rev: 24.4.2
6 changes: 3 additions & 3 deletions kratos/client/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ class Settings(BaseSettings):
@root_validator
def validate_settings(cls, values):
if not values["APP_FULL_HOST"]:
values[
"APP_FULL_HOST"
] = f"{values['SCHEME']}://{values['HOST']}:{values['PORT']}"
values["APP_FULL_HOST"] = (
f"{values['SCHEME']}://{values['HOST']}:{values['PORT']}"
)

if not values["CSRF_ENCRYPTION_KEY"]:
key_path = Path(values["CSRF_ENCRYPTION_KEY_PATH"])
Expand Down