diff --git a/src/erc7730/lint/lint_validate_display_fields.py b/src/erc7730/lint/lint_validate_display_fields.py index 7ff8180..d5101bf 100644 --- a/src/erc7730/lint/lint_validate_display_fields.py +++ b/src/erc7730/lint/lint_validate_display_fields.py @@ -49,7 +49,6 @@ def _validate_eip712_paths(cls, descriptor: ResolvedERC7730Descriptor, out: Outp excluded = primary_type_format.excluded or [] for path in eip712_paths - format_paths: - allowed = False for excluded_path in excluded: if path.startswith(excluded_path): @@ -128,7 +127,6 @@ def _validate_abi_paths(cls, descriptor: ResolvedERC7730Descriptor, out: OutputA function = cls._display(selector, keccak) for path in abi_paths - format_paths: - allowed = False for excluded_path in excluded: if path.startswith(excluded_path): diff --git a/tests/model/test_model_serialization.py b/tests/model/test_model_serialization.py index fe5f86e..64a409e 100644 --- a/tests/model/test_model_serialization.py +++ b/tests/model/test_model_serialization.py @@ -20,9 +20,6 @@ def test_schema(input_file: Path) -> None: """Test model serializes to JSON that matches the schema.""" assert_valid_erc_7730(InputERC7730Descriptor.load(input_file)) -def test_poap() -> None: - """Test model serializes to JSON that matches the schema.""" - InputERC7730Descriptor.load(Path("/home/jnicoulaud/work/ledger/backend/cal/python-erc7730/python-erc7730-1/tests/registries/clear-signing-erc7730-registry/registry/poap/calldata-PoapBridge.json")) @pytest.mark.parametrize("input_file", ERC7730_DESCRIPTORS, ids=path_id) def test_round_trip(input_file: Path) -> None: