add typing support to more aiofiles wrapped functions (#10175)

add stubs for missing functions:

- renames
- unlink
- link
- listdir
This commit is contained in:
Abtin
2023-05-22 16:44:00 +02:00
committed by GitHub
parent 15df17098a
commit 31f4b8cf80
2 changed files with 41 additions and 1 deletions
@@ -58,13 +58,19 @@ aiofiles.threadpool.text.AsyncTextIndirectIOWrapper.writable
# These functions get the wrong signature from functools.wraps()
aiofiles.os.stat
aiofiles.os.rename
aiofiles.os.renames
aiofiles.os.replace
aiofiles.os.remove
aiofiles.os.unlink
aiofiles.os.mkdir
aiofiles.os.makedirs
aiofiles.os.link
aiofiles.os.symlink
aiofiles.os.readlink
aiofiles.os.rmdir
aiofiles.os.removedirs
aiofiles.os.scandir
aiofiles.os.listdir
aiofiles.ospath.exists
aiofiles.ospath.isfile
aiofiles.ospath.isdir