Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 7, 2025
1 parent 5460428 commit 1939765
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ogdc_runner/recipe/simple.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from __future__ import annotations

from typing import Union
from pathlib import Path

import fsspec
Expand Down Expand Up @@ -75,7 +74,7 @@ def _cmds_from_simple_recipe(recipe_dir: str) -> list[str]:
return commands


def make_simple_workflow(recipe_dir: Union[str, Path]) -> Workflow:
def make_simple_workflow(recipe_dir: str | Path) -> Workflow:
"""Run the workflow and return its name as a str."""
commands = _cmds_from_simple_recipe(recipe_dir)
recipe_config = get_recipe_config(recipe_dir)
Expand Down

0 comments on commit 1939765

Please sign in to comment.