mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-22 23:38:13 +00:00
fix minor lint problems
This commit is contained in:
parent
7df788c7d5
commit
f3a517b6f6
@ -6,6 +6,7 @@ from typing_inspect import get_origin
|
|||||||
# SSZ integers
|
# SSZ integers
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
|
|
||||||
|
|
||||||
class uint(int):
|
class uint(int):
|
||||||
byte_len = 0
|
byte_len = 0
|
||||||
|
|
||||||
@ -23,6 +24,7 @@ class uint8(uint):
|
|||||||
raise ValueError("value out of bounds for uint8")
|
raise ValueError("value out of bounds for uint8")
|
||||||
return super().__new__(cls, value)
|
return super().__new__(cls, value)
|
||||||
|
|
||||||
|
|
||||||
# Alias for uint8
|
# Alias for uint8
|
||||||
byte = NewType('byte', uint8)
|
byte = NewType('byte', uint8)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user