Skip to content

Commit 729e926

Browse files
committed
Fixed path separator on windows
1 parent 1c6eb33 commit 729e926

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ target/
5656

5757
# Local utility scripts
5858
analyze.py
59+
/out/
5960

6061
# Editor backup files
6162
*~

pyrightconfig.stricter.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@
9090
"stubs/tzlocal/tzlocal/utils.pyi",
9191
"stubs/ttkthemes",
9292
"stubs/urllib3",
93-
"stubs/vobject"
93+
"stubs/vobject",
94+
"stubs/D3DShot"
9495
],
9596
"typeCheckingMode": "basic",
9697
"strictListInference": true,

scripts/create_baseline_stubs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def main() -> None:
167167
sys.exit(1)
168168
project, version = info
169169

170-
stub_dir = os.path.join("stubs", project)
170+
stub_dir = os.path.join("stubs", project).replace("\\", "/")
171171
if os.path.exists(stub_dir):
172172
sys.exit(f"Error: {stub_dir} already exists (delete it first)")
173173

0 commit comments

Comments
 (0)