Bump black version

This commit is contained in:
xs5871
2023-02-12 16:51:15 +00:00
committed by xs5871
parent 5a38af6632
commit 2852420ea8
3 changed files with 82 additions and 167 deletions

View File

@@ -120,7 +120,7 @@ class Easypoint(Module):
return x, y
def getSignedNumber(self, number, bitLength=8):
mask = (2 ** bitLength) - 1
mask = (2**bitLength) - 1
if number & (1 << (bitLength - 1)):
return number | ~mask
else: