Skip to content

Commit

Permalink
chore: typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jnicoulaud-ledger committed Oct 10, 2024
1 parent 399eeda commit 14b2eea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/erc7730/lint/lint_validate_display_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ def _validate_eip712_paths(cls, descriptor: ResolvedERC7730Descriptor, out: Outp
out.debug(
title="Optional Display field missing",
message=f"Display field for path `{path}` is missing for message {schema.primaryType}. "
f"If intentionally excluded, please add it to `exclude` list to avoid this "
f"If intentionally excluded, please add it to `excluded` list to avoid this "
f"warning.",
)
else:
out.warning(
title="Missing Display field",
message=f"Display field for path `{path}` is missing for message {schema.primaryType}. "
f"If intentionally excluded, please add it to `exclude` list to avoid this "
f"If intentionally excluded, please add it to `excluded` list to avoid this "
f"warning.",
)
for path in format_paths - eip712_paths:
Expand Down Expand Up @@ -129,13 +129,13 @@ def _validate_abi_paths(cls, descriptor: ResolvedERC7730Descriptor, out: OutputA
out.debug(
title="Optional Display field missing",
message=f"Display field for path `{path}` is missing for selector {function}. If "
f"intentionally excluded, please add it to `exclude` list to avoid this warning.",
f"intentionally excluded, please add it to `excluded` list to avoid this warning.",
)
else:
out.warning(
title="Missing Display field",
message=f"Display field for path `{path}` is missing for selector {function}. If "
f"intentionally excluded, please add it to `exclude` list to avoid this warning.",
f"intentionally excluded, please add it to `excluded` list to avoid this warning.",
)
for path in format_paths - abi_paths:
out.error(
Expand Down

0 comments on commit 14b2eea

Please sign in to comment.