MCPcopy Create free account
hub / github.com/ddnet/ddnet / main

Function main

scripts/check_dilate.py:37–50  ·  view source on GitHub ↗
(arguments)

Source from the content-addressed store, hash-verified

35
36
37def main(arguments):
38 if len(arguments) != 3:
39 print(f"Usage: {arguments[0]} <dilate executable folder> <check folder>")
40 return 1
41
42 dilate_path = arguments[1]
43 check_path = arguments[2]
44
45 errors = check_dir(dilate_path, check_path)
46 if errors > 0:
47 return 1
48
49 print(f"Success: All .png files in '{check_path}' are dilated.")
50 return 0
51
52
53if __name__ == "__main__":

Callers 1

check_dilate.pyFile · 0.70

Calls 1

check_dirFunction · 0.70

Tested by

no test coverage detected