1
Fork 0

Apply changes to fix python linting errors

This commit is contained in:
Trevor Gross 2023-06-10 12:06:17 -04:00 committed by Trevor Gross
parent 4b71d79c97
commit 22d00dcd47
22 changed files with 58 additions and 49 deletions

View file

@ -119,7 +119,7 @@ def print_singletons(uppers, lowers, uppersname, lowersname):
print("#[rustfmt::skip]")
print("const {}: &[u8] = &[".format(lowersname))
for i in range(0, len(lowers), 8):
print(" {}".format(" ".join("{:#04x},".format(l) for l in lowers[i:i+8])))
print(" {}".format(" ".join("{:#04x},".format(x) for x in lowers[i:i+8])))
print("];")
def print_normal(normal, normalname):