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 617320e commit 88cd38b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ogdc_runner/recipe/simple.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from __future__ import annotations

import fsspec
from pathlib import Path

import fsspec
from hera.workflows import (
Artifact,
Container,
Expand Down Expand Up @@ -56,10 +56,10 @@ def _cmds_from_simple_recipe(recipe_dir: str) -> list[str]:
* `/output_dir/`: output written by each command. It is expected that
each command in a simple recipe will place data in `/output_dir/`.
"""
recipe_path = recipe_dir + '/' + SIMPLE_RECIPE_FILENAME
recipe_path = recipe_dir + "/" + SIMPLE_RECIPE_FILENAME
# read the commands from the recipe
if 'github' in recipe_path:
fs = fsspec.filesystem("github", org='QGreenland-Net', repo='ogdc-recipes')
if "github" in recipe_path:
fs = fsspec.filesystem("github", org="QGreenland-Net", repo="ogdc-recipes")
try:
with fs.open(recipe_path, "rt") as f:
lines = f.read().split("\n")
Expand Down

0 comments on commit 88cd38b

Please sign in to comment.