Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (iterative#10487)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jul 23, 2024
1 parent cdc1857 commit 8f50f25
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion dvc/progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Tqdm(tqdm):
"miniters": 1,
}

def __init__( # noqa: PLR0913
def __init__(
self,
iterable=None,
disable=None,
Expand Down
2 changes: 1 addition & 1 deletion dvc/repo/artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def _download_studio(
return len(to_infos), relpath(localfs.commonpath(to_infos))

@classmethod
def get( # noqa: PLR0913
def get(
cls,
url: str,
name: str,
Expand Down
2 changes: 1 addition & 1 deletion dvc/ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def error_write(
styled=styled,
)

def write_json( # noqa: PLR0913
def write_json(
self,
data: Any,
indent: Optional[int] = None,
Expand Down

0 comments on commit 8f50f25

Please sign in to comment.