Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zincware/dask4dvc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5e34ce7cbf1c0bd3b080cb526b5bb744e828cab5
Choose a base ref
..
head repository: zincware/dask4dvc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d456518b4b8d9b152dc1b8fbebfa3ebf42e2955f
Choose a head ref
Showing with 2 additions and 13 deletions.
  1. +1 −1 .pre-commit-config.yaml
  2. +0 −1 dask4dvc/__init__.py
  3. +0 −1 dask4dvc/cli/__init__.py
  4. +1 −5 dask4dvc/dvc_repro.py
  5. +0 −1 dask4dvc/utils/dask.py
  6. +0 −1 tests/conftest.py
  7. +0 −1 tests/test_dask4dvc.py
  8. +0 −1 tests/test_repro.py
  9. +0 −1 tests/test_run.py
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ repos:
additional_dependencies: ["tomli"]
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: 'v0.1.5'
rev: 'v0.1.6'
hooks:
- id: ruff
- repo: https://github.com/executablebooks/mdformat
1 change: 0 additions & 1 deletion dask4dvc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""The 'dask4dvc' package."""

import importlib.metadata
import logging
import sys
1 change: 0 additions & 1 deletion dask4dvc/cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""The 'dask4dvc' CLI."""

from dask4dvc.cli import main

__all__ = ["main"]
6 changes: 1 addition & 5 deletions dask4dvc/dvc_repro.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Dask4DVC to DVC repo interface."""

import dataclasses
import logging
import subprocess
@@ -162,10 +161,7 @@ def parallel_submit(
client: dask.distributed.Client,
repo: dvc.repo.Repo,
stages: typing.Dict[PipelineStage, str],
) -> typing.Tuple[
typing.Dict[PipelineStage, dask.distributed.Future],
typing.List[str],
]:
) -> typing.Tuple[typing.Dict[PipelineStage, dask.distributed.Future], typing.List[str],]:
"""Submit experiments in parallel."""
mapping = {}
queue_entries = get_all_queue_entries(repo)
1 change: 0 additions & 1 deletion dask4dvc/utils/dask.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Utils that are related to 'dask'."""

import logging
import pathlib
import typing
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""global pytest fixtures."""

import os
import pathlib
import shutil
1 change: 0 additions & 1 deletion tests/test_dask4dvc.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Test the 'dask4dvc' package."""

import dask4dvc


1 change: 0 additions & 1 deletion tests/test_repro.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Test the 'dask4dvc' CLI."""

import pathlib
import random

1 change: 0 additions & 1 deletion tests/test_run.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Test the 'dask4dvc' CLI."""

import pathlib
import random
import typing