all: Upgrade to ruff v0.9.6.

Signed-off-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
Christian Clauss
2025-02-18 10:01:09 +01:00
parent 3f0dd13d93
commit dc2fcfcc55
54 changed files with 73 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ for i in range(len(s)):
# Test all three forms of Unicode escape, and
# all blocks of UTF-8 byte patterns
s = "a\xA9\xFF\u0123\u0800\uFFEE\U0001F44C"
s = "a\xa9\xff\u0123\u0800\uffee\U0001f44c"
for i in range(-len(s), len(s)):
print("s[%d]: %s %X" % (i, s[i], ord(s[i])))
print("s[:%d]: %d chars, '%s'" % (i, len(s[:i]), s[:i]))