Commit 8c3f574
authored
typesafety: add thorough typechecks to UPath interface (#414)
* typesafety: add extensive type checks for UPath and implementations
* upath: add basic PathInfo implementation for UPath
* upath.types: adjust PathLike types
* upath.types._abc: stricter types for pathlib_abc base types
* upath.core: fix type annotations
* upath.implementations: fix type annotations
* upath.implementations.local: fix annotations and backport methods
* upath.extensions: fix method signatures and types
* typesafety: adjust JoinablePath tests
* upath.types: do not register pathlib_abc ABCs on python 3.141 parent 0716d42 commit 8c3f574
File tree
5 files changed
+1093
-8
lines changed- .github/workflows
- typesafety
- upath/types
5 files changed
+1093
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| |||
0 commit comments