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

[pre-commit.ci] pre-commit autoupdate #54

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -20,25 +20,25 @@ repos:
- id: sort-simple-yaml
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies: ["tomli"]
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: 'v0.0.278'
rev: 'v0.5.2'
hooks:
- id: ruff
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.16
rev: 0.7.17
hooks:
- id: mdformat
args: ["--wrap=80"]
1 change: 1 addition & 0 deletions dask4dvc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""The 'dask4dvc' package."""

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

from dask4dvc.cli import main

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

import dataclasses
import logging
import subprocess
Expand Down Expand Up @@ -161,7 +162,10 @@ 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)
Expand Down
1 change: 1 addition & 0 deletions dask4dvc/utils/dask.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utils that are related to 'dask'."""

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

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

import dask4dvc


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

import pathlib
import random

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

import pathlib
import random
import typing
Expand Down
Loading