From a02c5a74053f6b8d60ea07525fa206907e6db06e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 13 Dec 2023 19:56:38 +0545 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#10153) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.6 → v0.1.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.6...v0.1.7) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- dvc/utils/plots.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 98e909ea7..1def6d319 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: - id: sort-simple-yaml - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.1.6' + rev: 'v0.1.7' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/dvc/utils/plots.py b/dvc/utils/plots.py index 6e85bea47..ee7f988c1 100644 --- a/dvc/utils/plots.py +++ b/dvc/utils/plots.py @@ -9,7 +9,7 @@ def get_plot_id(config_plot_id: str, config_file_path: str = ""): def group_definitions_by_id( - definitions: Dict[str, Dict] + definitions: Dict[str, Dict], ) -> Dict[str, Tuple[str, Dict]]: """ Format ID and extracts plot_definition for each plot.