[pre-commit.ci] pre-commit autoupdate (#10487)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
pre-commit-ci[bot]
2024-07-23 07:58:55 +05:45
committed by GitHub
parent cdc1857559
commit 8f50f2509f
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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]
+1 -1
View File
@@ -41,7 +41,7 @@ class Tqdm(tqdm):
"miniters": 1,
}
def __init__( # noqa: PLR0913
def __init__(
self,
iterable=None,
disable=None,
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -93,7 +93,7 @@ class Console:
styled=styled,
)
def write_json( # noqa: PLR0913
def write_json(
self,
data: Any,
indent: Optional[int] = None,