ethspecify 0.2.8__py3-none-any.whl → 0.2.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ethspecify might be problematic. Click here for more details.
- ethspecify/core.py +10 -2
- {ethspecify-0.2.8.dist-info → ethspecify-0.2.9.dist-info}/METADATA +1 -1
- ethspecify-0.2.9.dist-info/RECORD +9 -0
- ethspecify-0.2.8.dist-info/RECORD +0 -9
- {ethspecify-0.2.8.dist-info → ethspecify-0.2.9.dist-info}/WHEEL +0 -0
- {ethspecify-0.2.8.dist-info → ethspecify-0.2.9.dist-info}/entry_points.txt +0 -0
- {ethspecify-0.2.8.dist-info → ethspecify-0.2.9.dist-info}/licenses/LICENSE +0 -0
- {ethspecify-0.2.8.dist-info → ethspecify-0.2.9.dist-info}/top_level.txt +0 -0
ethspecify/core.py
CHANGED
|
@@ -964,6 +964,14 @@ def process_generated_specrefs(specrefs, exceptions, version):
|
|
|
964
964
|
# Check if singular form exists when we have plural
|
|
965
965
|
elif exception_key.endswith('s') and exception_key[:-1] in exceptions:
|
|
966
966
|
type_exceptions = exceptions[exception_key[:-1]]
|
|
967
|
+
|
|
968
|
+
# Special handling for ssz_objects/containers
|
|
969
|
+
if spec_type in ['ssz_object', 'container'] and not type_exceptions:
|
|
970
|
+
# Check for 'containers' as an alternative key
|
|
971
|
+
if 'containers' in exceptions:
|
|
972
|
+
type_exceptions = exceptions['containers']
|
|
973
|
+
elif 'container' in exceptions:
|
|
974
|
+
type_exceptions = exceptions['container']
|
|
967
975
|
|
|
968
976
|
# Build set of what we found
|
|
969
977
|
found_items = set()
|
|
@@ -1141,8 +1149,8 @@ def run_checks(project_dir, config):
|
|
|
1141
1149
|
|
|
1142
1150
|
# Map tag types to exception keys (support both singular and plural)
|
|
1143
1151
|
exception_key_map = {
|
|
1144
|
-
'ssz_object': ['ssz_objects', 'ssz_object'],
|
|
1145
|
-
'container': ['ssz_objects', 'ssz_object'],
|
|
1152
|
+
'ssz_object': ['ssz_objects', 'ssz_object', 'containers', 'container'],
|
|
1153
|
+
'container': ['ssz_objects', 'ssz_object', 'containers', 'container'],
|
|
1146
1154
|
'config_var': ['configs', 'config_variables', 'config_var'],
|
|
1147
1155
|
'preset_var': ['presets', 'preset_variables', 'preset_var'],
|
|
1148
1156
|
'dataclass': ['dataclasses', 'dataclass'],
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
ethspecify/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
ethspecify/cli.py,sha256=Ida4n7BSjZrkvwINyzh3M61JzFqdLPc93i62JIQ_64g,8183
|
|
3
|
+
ethspecify/core.py,sha256=GwXLoCWKJ-BTyjkVP58eR1Gay2bGegdH6RvAaqLUwas,48832
|
|
4
|
+
ethspecify-0.2.9.dist-info/licenses/LICENSE,sha256=Awxsr73mm9YMBVhBYnzeI7bNdRd-bH6RDtO5ItG0DaM,1071
|
|
5
|
+
ethspecify-0.2.9.dist-info/METADATA,sha256=AhTvvhzxBaGj3gjs1dvsubn0YFTIznMIUWP5cF9-anA,9212
|
|
6
|
+
ethspecify-0.2.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
7
|
+
ethspecify-0.2.9.dist-info/entry_points.txt,sha256=09viGkCg9J3h0c9BFRN-BKaJUEaIc4JyULNgBP5EL_g,51
|
|
8
|
+
ethspecify-0.2.9.dist-info/top_level.txt,sha256=0klaMvlVyOkXW09fwZTijJpdybITEp2c9zQKV5v30VM,11
|
|
9
|
+
ethspecify-0.2.9.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
ethspecify/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
ethspecify/cli.py,sha256=Ida4n7BSjZrkvwINyzh3M61JzFqdLPc93i62JIQ_64g,8183
|
|
3
|
-
ethspecify/core.py,sha256=KbBKCMh4vz2ZBtHIqj4kgEUkf8f0ZHU4fRatm4f7od0,48375
|
|
4
|
-
ethspecify-0.2.8.dist-info/licenses/LICENSE,sha256=Awxsr73mm9YMBVhBYnzeI7bNdRd-bH6RDtO5ItG0DaM,1071
|
|
5
|
-
ethspecify-0.2.8.dist-info/METADATA,sha256=gk24-jye3bZ4NnRmStuTwQsQDIfAgBHTVjcGQcamET4,9212
|
|
6
|
-
ethspecify-0.2.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
7
|
-
ethspecify-0.2.8.dist-info/entry_points.txt,sha256=09viGkCg9J3h0c9BFRN-BKaJUEaIc4JyULNgBP5EL_g,51
|
|
8
|
-
ethspecify-0.2.8.dist-info/top_level.txt,sha256=0klaMvlVyOkXW09fwZTijJpdybITEp2c9zQKV5v30VM,11
|
|
9
|
-
ethspecify-0.2.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|