Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 6, 2025
1 parent 6187220 commit deb590a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dvc_objects/fs/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def copy(self, path1, path2, recursive=False, on_error=None, **kwargs):
raise

def open(self, path, mode="r", encoding=None, **kwargs):
return open(path, mode=mode, encoding=encoding) # noqa: SIM115
return open(path, mode=mode, encoding=encoding)

def symlink(self, path1, path2):
return self.fs.symlink(path1, path2)
Expand Down
2 changes: 1 addition & 1 deletion src/dvc_objects/obj.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


class Object:
__slots__ = ("path", "fs", "oid")
__slots__ = ("fs", "oid", "path")

def __init__(
self,
Expand Down

0 comments on commit deb590a

Please sign in to comment.