(chore) Fix linting issues across the codebase (#7336)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Engel Nyst
2025-03-19 05:42:26 +01:00
committed by GitHub
parent 8a73184801
commit d9e40f721c
3 changed files with 21 additions and 21 deletions

View File

@@ -91,7 +91,7 @@ async def store_settings(
# Handle token updates immutably
if settings.unset_github_token:
settings = settings.model_copy(update={"secrets_store": SecretStore()})
settings = settings.model_copy(update={'secrets_store': SecretStore()})
else: # Only merge if not unsetting tokens
if settings.provider_tokens:
@@ -170,8 +170,8 @@ def convert_to_settings(settings_with_token_data: POSTSettingsModel) -> Settings
)
# Create new SecretStore with tokens
settings = settings.model_copy(update={"secrets_store": SecretStore(
provider_tokens=tokens
)})
settings = settings.model_copy(
update={'secrets_store': SecretStore(provider_tokens=tokens)}
)
return settings