mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-09 09:47:42 +00:00
Sync with latest dtk-template
This commit is contained in:
6
tools/transform_dep.py
Normal file → Executable file
6
tools/transform_dep.py
Normal file → Executable file
@@ -25,7 +25,7 @@ def in_wsl() -> bool:
|
||||
return "microsoft-standard" in uname().release
|
||||
|
||||
|
||||
def import_d_file(in_file) -> str:
|
||||
def import_d_file(in_file: str) -> str:
|
||||
out_text = ""
|
||||
|
||||
with open(in_file) as file:
|
||||
@@ -60,7 +60,7 @@ def import_d_file(in_file) -> str:
|
||||
return out_text
|
||||
|
||||
|
||||
def main():
|
||||
def main() -> None:
|
||||
parser = argparse.ArgumentParser(
|
||||
description="""Transform a .d file from Wine paths to normal paths"""
|
||||
)
|
||||
@@ -81,4 +81,4 @@ def main():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user