mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-20 22:38:11 +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
|
||||
# -----------------------------
|
||||
|
||||
|
||||
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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user