Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 13, 2024
1 parent c307d0d commit d65db7f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/autotest_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,9 @@ def settings(settings_id, **_kw):
@authorize
def create_settings(user):
settings_id = REDIS_CONNECTION.incr("autotest:settings_id")
REDIS_CONNECTION.hset("autotest:settings", key=settings_id,
value=json.dumps({"_user": user, "_env_status": "setup"}))
REDIS_CONNECTION.hset(
"autotest:settings", key=settings_id, value=json.dumps({"_user": user, "_env_status": "setup"})
)
_update_settings(settings_id, user)
return {"settings_id": settings_id}

Expand Down

0 comments on commit d65db7f

Please sign in to comment.