mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-08 22:38:05 -05:00
(chore) Fix linting issues across the codebase (#7336)
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user