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 3, 2025
1 parent 73eb2d0 commit 83c9af7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions userCode/lib/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ def __init__(
self.name = "gleaner"
self.source = source

assert Path("/tmp/geoconnex/").exists(), (
"the /tmp/geoconnex directory does not exist. This must exist for us to share configs with the docker socket on the host"
)
assert Path(
"/tmp/geoconnex/"
).exists(), "the /tmp/geoconnex directory does not exist. This must exist for us to share configs with the docker socket on the host"

def run(self, args: list[str]):
run_scheduler_docker_image(
Expand Down
6 changes: 3 additions & 3 deletions userCode/lib/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ def strict_env(key: str):

DAGSTER_YAML_CONFIG: str = os.path.join(userCodeRoot, "dagster.yaml")

assert Path(DAGSTER_YAML_CONFIG).exists(), (
f"the dagster.yaml file does not exist at {DAGSTER_YAML_CONFIG}"
)
assert Path(
DAGSTER_YAML_CONFIG
).exists(), f"the dagster.yaml file does not exist at {DAGSTER_YAML_CONFIG}"


NABU_PROFILING = strict_env("NABU_PROFILING")
Expand Down

0 comments on commit 83c9af7

Please sign in to comment.