Reformatted some code in a few more files.

这个提交包含在:
Sai Suraj
2023-04-18 18:12:16 +05:30
父节点 3ba49bfd14
当前提交 9e37e5864a
共有 4 个文件被更改,包括 25 次插入28 次删除

查看文件

@@ -134,12 +134,12 @@ if 'cleanall' in sys.argv:
for file in cythonfiles:
filebase = os.path.splitext(file)[0]
# Remove Cython C files
if os.path.isfile(filebase + '.c'):
if os.path.isfile(f'{filebase}.c'):
try:
os.remove(filebase + '.c')
print(f'Removed: {filebase + ".c"}')
os.remove(f'{filebase}.c')
print(f'Removed: {filebase}.c')
except OSError:
print(f'Could not remove: {filebase + ".c"}')
print(f'Could not remove: {filebase}.c')
# Remove compiled Cython modules
libfile = (glob.glob(os.path.join(os.getcwd(),
os.path.splitext(file)[0]) + '*.pyd') +