Skip to content

Commit

Permalink
chore(commands): reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
maugde committed Jan 9, 2025
1 parent b6a58a4 commit 4a3b1ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion antarest/login/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_current_user() -> Optional[JWTUser]:


@contextlib.contextmanager
def current_user_context(token: JWTUser) -> t.Iterator[JWTUser|None]:
def current_user_context(token: JWTUser) -> t.Iterator[JWTUser | None]:
global _current_user
jwt_user = token
_current_user.set(jwt_user)
Expand Down
2 changes: 1 addition & 1 deletion tests/core/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ def test_ts_generation_task(
raw_study.id,
repository=study_service.repository,
storage_service=study_service.storage_service,
event_bus=study_service.event_bus
event_bus=study_service.event_bus,
)

task_id = study_service.task_service.add_task(
Expand Down

0 comments on commit 4a3b1ef

Please sign in to comment.