Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#608)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.3 → v0.7.4](astral-sh/ruff-pre-commit@v0.7.3...v0.7.4)

* ignore RUF009 since NewType returns an immutable str in this case

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ivan Shcheklein <shcheklein@gmail.com>
  • Loading branch information
pre-commit-ci[bot] and shcheklein authored Nov 19, 2024
1 parent 976b5fd commit 2fa5db3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repos:
- id: trailing-whitespace
exclude: '^LICENSES/'
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.7.3'
rev: 'v0.7.4'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
2 changes: 1 addition & 1 deletion src/datachain/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Node:
last_modified: Optional[datetime] = None
size: int = 0
location: Optional[str] = None
source: StorageURI = StorageURI("")
source: StorageURI = StorageURI("") # noqa: RUF009
dir_type: int = DirType.FILE

@property
Expand Down

0 comments on commit 2fa5db3

Please sign in to comment.