From 7f0d594ed3a1a52117a8dc2d7451ff2d7767f822 Mon Sep 17 00:00:00 2001 From: Juliya Smith Date: Thu, 14 Dec 2023 17:08:15 -0600 Subject: [PATCH] chore: put back type ig --- src/ape/api/compiler.py | 4 ++-- tests/functional/test_accounts.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ape/api/compiler.py b/src/ape/api/compiler.py index d3c00b0e7c..2e296e9e10 100644 --- a/src/ape/api/compiler.py +++ b/src/ape/api/compiler.py @@ -1,6 +1,6 @@ from functools import cached_property from pathlib import Path -from typing import Dict, Iterator, List, Optional, Set, Tuple +from typing import Dict, Iterator, List, Optional, Sequence, Set, Tuple from eth_pydantic_types import HexBytes from ethpm_types import ContractType @@ -122,7 +122,7 @@ def compile_code( # type: ignore[empty-body] @raises_not_implemented def get_imports( # type: ignore[empty-body] - self, contract_filepaths: List[Path], base_path: Optional[Path] + self, contract_filepaths: Sequence[Path], base_path: Optional[Path] ) -> Dict[str, List[str]]: """ Returns a list of imports as source_ids for each contract's source_id in a given diff --git a/tests/functional/test_accounts.py b/tests/functional/test_accounts.py index d78a093d1e..69ef84b839 100644 --- a/tests/functional/test_accounts.py +++ b/tests/functional/test_accounts.py @@ -77,7 +77,7 @@ def test_recover_signer(signer, message): def test_sign_eip712_message(signer): - foo = Foo(signer.address) + foo = Foo(signer.address) # type: ignore[call-arg] message = foo.signable_message signature = signer.sign_message(message) assert signer.check_signature(message, signature)