Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwise-constructs committed Jan 31, 2025
1 parent f6081d9 commit c62e1d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ape_solidity/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,9 @@ def _resolve_import_remapping(self, project: "ProjectManager"):
valid_matches: list[tuple[str, str]] = []
for check_remap_key, check_remap_value in import_remapping.items():
# Match with a trailing slash to avoid partial matches.
key_to_check = check_remap_key if check_remap_key.endswith("/") else f"{check_remap_key}/"
key_to_check = (
check_remap_key if check_remap_key.endswith("/") else f"{check_remap_key}/"
)
if key_to_check not in self.value:
continue

Expand Down

0 comments on commit c62e1d6

Please sign in to comment.