[tools] format python code

This commit is contained in:
Meco Man
2022-08-02 01:33:29 -04:00
committed by Man, Jianting (Meco)
parent af82606dd3
commit eafcdd0bc2
22 changed files with 345 additions and 345 deletions

View File

@@ -139,7 +139,7 @@ def PrefixPath(prefix, path):
if path.startswith(prefix):
return True
return False
def ListMap(l):
@@ -197,7 +197,7 @@ def ProjectInfo(env):
# process FILES and DIRS
if len(FILES):
# use absolute path
# use absolute path
for i in range(len(FILES)):
FILES[i] = os.path.abspath(str(FILES[i]))
DIRS.append(os.path.dirname(FILES[i]))
@@ -211,7 +211,7 @@ def ProjectInfo(env):
# process CPPPATH
if len(CPPPATH):
# use absolute path
# use absolute path
for i in range(len(CPPPATH)):
CPPPATH[i] = os.path.abspath(CPPPATH[i])