Skip to content

Commit

Permalink
refactor: not is None
Browse files Browse the repository at this point in the history
Co-authored-by: antazoey <[email protected]>
  • Loading branch information
mikeshultz and antazoey authored Mar 19, 2024
1 parent f39f231 commit 93f82e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ape_vyper/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ def _match_source(import_path: str) -> Optional[PackageManifest]:
return None

if matched_source := _match_source(import_path):
if matched_source.contract_types is None:
if not matched_source.contract_types:
continue

abis = [
Expand Down

0 comments on commit 93f82e2

Please sign in to comment.