diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b8b434f67..d787cf606 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.5.2' + rev: 'v0.5.4' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/dvc/progress.py b/dvc/progress.py index 00cb09e39..bdb1723f7 100644 --- a/dvc/progress.py +++ b/dvc/progress.py @@ -41,7 +41,7 @@ class Tqdm(tqdm): "miniters": 1, } - def __init__( # noqa: PLR0913 + def __init__( self, iterable=None, disable=None, diff --git a/dvc/repo/artifacts.py b/dvc/repo/artifacts.py index 00b91ab78..e61cdaaaa 100644 --- a/dvc/repo/artifacts.py +++ b/dvc/repo/artifacts.py @@ -283,7 +283,7 @@ class Artifacts: return len(to_infos), relpath(localfs.commonpath(to_infos)) @classmethod - def get( # noqa: PLR0913 + def get( cls, url: str, name: str, diff --git a/dvc/ui/__init__.py b/dvc/ui/__init__.py index 4be2d744f..94b47c5a5 100644 --- a/dvc/ui/__init__.py +++ b/dvc/ui/__init__.py @@ -93,7 +93,7 @@ class Console: styled=styled, ) - def write_json( # noqa: PLR0913 + def write_json( self, data: Any, indent: Optional[int] = None,