Skip to content

Commit 82f0a99

Browse files
committed
fix: valid uints
1 parent 0b2a1fd commit 82f0a99

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sphinx_autodoc_vyper/parser.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
from pathlib import Path
77
from typing import List, Optional
88

9-
10-
VALID_VYPER_TYPES = {"address", "uint256", "int128", "bool", "bytes32", "string"}
9+
valid_ints = {f"int{8 * i}" for i in range(1, 32)}
10+
valid_uints = {f"uint{8 * i}" for i in range(1, 32)}
11+
VALID_VYPER_TYPES = {*valid_ints, *valid_uints, "address", "bool", "bytes32", "string"}
1112

1213
@dataclass
1314
class Parameter:

0 commit comments

Comments
 (0)