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 Dec 19, 2024
1 parent def1bc5 commit ea65851
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion paraffin/cli.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import os
import subprocess
import time
import typing as t

import git
import networkx as nx
import typer
import os

from paraffin.submit import submit_node_graph
from paraffin.utils import (
Expand Down
5 changes: 2 additions & 3 deletions paraffin/worker/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import logging
import os
import pathlib
import random
import subprocess
import time
import git
import os

import git
from celery import Celery

log = logging.getLogger(__name__)
Expand Down Expand Up @@ -92,7 +92,6 @@ def repro(self, *args, name: str, branch: str, origin: str | None, commit: bool)
# TODO: what about dvc credentials?
raise RuntimeError("Not in a git repository")


popen = subprocess.Popen(
["dvc", "repro", "--single-item", name],
stdout=subprocess.PIPE,
Expand Down

0 comments on commit ea65851

Please sign in to comment.