fix minor lint problems

This commit is contained in:
protolambda 2019-06-01 02:32:11 +02:00
parent 7df788c7d5
commit f3a517b6f6
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623

View File

@ -6,6 +6,7 @@ from typing_inspect import get_origin
# SSZ integers
# -----------------------------
class uint(int):
byte_len = 0
@ -23,6 +24,7 @@ class uint8(uint):
raise ValueError("value out of bounds for uint8")
return super().__new__(cls, value)
# Alias for uint8
byte = NewType('byte', uint8)