Skip to content

Commit 702f21a

Browse files
pyright: Skip warning on renamed arg: FTPAccessor.access(name->path)
Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
1 parent c4b0b3a commit 702f21a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

xcp/accessor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,8 @@ def finish(self):
315315
self.cleanup = False
316316
self.ftp = None
317317

318-
def access(self, path): # pylint: disable=arguments-differ,arguments-renamed
318+
# pylint: disable-next=arguments-differ,arguments-renamed
319+
def access(self, path): # pyright: ignore[reportIncompatibleMethodOverride]
319320
try:
320321
logger.debug("Testing "+path)
321322
self._cleanup()

0 commit comments

Comments
 (0)