Skip to content

Commit c8f067d

Browse files
committed
Use pixi to run ruff-format
1 parent 4222906 commit c8f067d

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ repos:
1717
entry: pixi run ruff check
1818
args: [--fix, --exit-non-zero-on-fix]
1919
- id: ruff-format
20+
entry: pixi run ruff format
2021
- repo: local
2122
hooks:
2223
- id: mypy

tests/test_workflow.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ def test_simple_test_workflow_with_dataset(nova_instance: Connection) -> None:
7676
name="simple_test_workflow_with_dataset", published=True
7777
)
7878

79-
assert (
80-
len(workflows) > 0
81-
), "'simple_test_workflow_with_dataset' not found. Please ensure it's published in Galaxy."
79+
assert len(workflows) > 0, (
80+
"'simple_test_workflow_with_dataset' not found. Please ensure it's published in Galaxy."
81+
)
8282

8383
workflow_id = workflows[0]["id"]
8484
params = WorkflowParameters()
@@ -95,9 +95,9 @@ def test_simple_test_workflow_with_dataset(nova_instance: Connection) -> None:
9595
workflow.run(data_store=ds, params=params, wait=True)
9696

9797
# Assertions for successful completion
98-
assert (
99-
workflow.get_status() == WorkState.FINISHED
100-
), f"Workflow did not finish successfully. Current status: {workflow.get_status()}"
98+
assert workflow.get_status() == WorkState.FINISHED, (
99+
f"Workflow did not finish successfully. Current status: {workflow.get_status()}"
100+
)
101101

102102

103103
def test_workflow_initial_state() -> None:

0 commit comments

Comments
 (0)