comparison contrib/check-config.py @ 51690:493034cc3265

black: format the codebase with 23.3.0 The CI has moved to 23.3.0, which is the last version that supports 3.7 at runtime, so we should honor this change. # skip-blame mass-reformating only
author Raphaël Gomès <rgomes@octobus.net>
date Thu, 18 Jul 2024 12:36:12 +0200
parents 6000f5b25c9b
children 7f0cb9ee0534
comparison
equal deleted inserted replaced
51689:39e2b2d062c1 51690:493034cc3265
54 54
55 def mkstr(b): 55 def mkstr(b):
56 if isinstance(b, str): 56 if isinstance(b, str):
57 return b 57 return b
58 return b.decode('utf8') 58 return b.decode('utf8')
59
60 59
61 else: 60 else:
62 mkstr = lambda x: x 61 mkstr = lambda x: x
63 62
64 63