Skip to content

Commit

Permalink
chore: types
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Dec 14, 2023
1 parent 5a33de6 commit 5a9f721
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ape/api/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def add_compiler_data(self, compiler_data: Sequence[Compiler]) -> List[Compiler]

if compilers == existing_compilers:
# No updates.
return
return compilers

manifest = self.update_manifest(compilers=compilers)
return manifest.compilers or compilers # Or for mypy.
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/test_accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def test_recover_signer(signer, message):


def test_sign_eip712_message(signer):
foo = Foo(signer.address) # type: ignore
foo = Foo(signer.address)
message = foo.signable_message
signature = signer.sign_message(message)
assert signer.check_signature(message, signature)
Expand Down

0 comments on commit 5a9f721

Please sign in to comment.