Skip to content

Commit 92c4f01

Browse files
committed
Add ruff exception for function name "dir"
1 parent fd378f6 commit 92c4f01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/smb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ def shares(self):
904904
return permissions
905905

906906

907-
def dir(self):
907+
def dir(self): # noqa: A003
908908
search_path = ntpath.join(self.args.dir, "*")
909909
try:
910910
contents = self.conn.listPath(self.args.share, search_path)

0 commit comments

Comments
 (0)