Skip to content

Commit 48e9fe0

Browse files
[pre-commit.ci] pre-commit autoupdate (#325)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.3 → v0.11.2](astral-sh/ruff-pre-commit@v0.9.3...v0.11.2) - [github.com/codespell-project/codespell: v2.4.0 → v2.4.1](codespell-project/codespell@v2.4.0...v2.4.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>
1 parent 09f2b19 commit 48e9fe0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ repos:
2020
- id: sort-simple-yaml
2121
- id: trailing-whitespace
2222
- repo: https://github.com/astral-sh/ruff-pre-commit
23-
rev: 'v0.9.3'
23+
rev: 'v0.11.2'
2424
hooks:
2525
- id: ruff
2626
args: [--fix, --exit-non-zero-on-fix]
2727
- id: ruff-format
2828
- repo: https://github.com/codespell-project/codespell
29-
rev: v2.4.0
29+
rev: v2.4.1
3030
hooks:
3131
- id: codespell
3232
additional_dependencies: ["tomli"]

src/dvc_objects/fs/callbacks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ def __getattr__(self, attr):
2222

2323

2424
def wrap_file(file, callback: "fsspec.Callback") -> BinaryIO:
25-
return cast(BinaryIO, CallbackStream(file, callback))
25+
return cast("BinaryIO", CallbackStream(file, callback))

0 commit comments

Comments
 (0)