Ignore for now note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
pull/693/head
Andrey 2022-11-16 14:13:02 +02:00
rodzic 16a3dc24f0
commit 9c2b3d42a1
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -13,7 +13,7 @@ class TestDeploymentCrawler(TestCase):
batch_size = 10
result = get_batch_block_range(from_block, to_block, batch_size)
last_end: Optional[int] = None
last_end: Optional[int] = None # type: ignore
for batch_start, batch_end in result:
if last_end is not None:
self.assertEqual(batch_start, last_end + 1)
@ -30,7 +30,7 @@ class TestDeploymentCrawler(TestCase):
batch_size = 10
result = get_batch_block_range(from_block, to_block, batch_size)
last_end: Optional[int] = None
last_end: Optional[int] = None # type: ignore
for batch_start, batch_end in result:
if last_end is not None:
self.assertEqual(batch_start, last_end - 1)

Wyświetl plik

@ -240,7 +240,7 @@ def run_tokenomics_queries_handler(args: argparse.Namespace):
for address, type in addresess_erc20_721.items():
for range in ranges:
params: Dict[str, Any] = {
params = {
"address": address,
"type": type,
"time_format": range["time_format"],
@ -264,7 +264,7 @@ def run_tokenomics_queries_handler(args: argparse.Namespace):
for address, type in addresess_erc20_721.items():
for range in ranges:
params: Dict[str, Any] = {
params = {
"address": address,
"type": type,
"time_range": range["time_range"],