Skip to content

Commit

Permalink
Rollup merge of #112499 - tgross35:py-ruff-fixes, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Fix python linting errors

These were flagged by `ruff`, run using the config in rust-lang/rust#112482
  • Loading branch information
compiler-errors authored Jun 20, 2023
2 parents 297d040 + 1e20083 commit 2d73c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/unicode/printable.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2d73c4b

Please sign in to comment.