Skip to content

Commit

Permalink
pylint: suppress overridden fs.walk() args warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrowla committed Nov 7, 2023
1 parent 652bc2d commit 55abea5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dvc_objects/fs/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ def isfile(self, path) -> bool:
def isdir(self, path) -> bool:
return os.path.isdir(path)

def walk(self, path, maxdepth=None, topdown=True, detail=False, **kwargs):
def walk( # pylint: disable=arguments-renamed
self, path, maxdepth=None, topdown=True, detail=False, **kwargs
):
"""Directory fs generator.
See `os.walk` for the docs. Differences:
Expand Down

0 comments on commit 55abea5

Please sign in to comment.