From 170be6f4ee46b3007a02498c3d9bd76d5da0c73d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 15 Feb 2024 12:47:59 -0500 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#760) 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.8 → v0.2.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.8...v0.2.1) * [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> Co-authored-by: Dave Berenbaum --- .pre-commit-config.yaml | 2 +- src/dvclive/live.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 11e3e7b5..2a089d24 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: .*\.ipynb )$ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.8 + rev: "v0.2.1" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/src/dvclive/live.py b/src/dvclive/live.py index b6f983eb..f2b12fb7 100644 --- a/src/dvclive/live.py +++ b/src/dvclive/live.py @@ -325,7 +325,7 @@ def _init_test(self): ) @property - def dir(self) -> str: # noqa: A003 + def dir(self) -> str: """Location of the directory to store outputs.""" return self._dir