From 73193d52a621dcb5a2f1e6646bdf160bd36362cc Mon Sep 17 00:00:00 2001 From: tserg <8017125+tserg@users.noreply.github.com> Date: Mon, 18 Dec 2023 20:54:47 +0800 Subject: [PATCH] fix lint --- tests/functional/codegen/types/numbers/test_signed_ints.py | 7 ++++++- .../functional/codegen/types/numbers/test_unsigned_ints.py | 7 ++++++- vyper/builtins/_signatures.py | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/tests/functional/codegen/types/numbers/test_signed_ints.py b/tests/functional/codegen/types/numbers/test_signed_ints.py index 359bd6f8fe..b59f41cc5e 100644 --- a/tests/functional/codegen/types/numbers/test_signed_ints.py +++ b/tests/functional/codegen/types/numbers/test_signed_ints.py @@ -4,7 +4,12 @@ import pytest -from vyper.exceptions import InvalidOperation, InvalidType, OverflowException, TypeMismatch, ZeroDivisionException +from vyper.exceptions import ( + InvalidOperation, + OverflowException, + TypeMismatch, + ZeroDivisionException, +) from vyper.semantics.types import IntegerT from vyper.utils import evm_div, evm_mod diff --git a/tests/functional/codegen/types/numbers/test_unsigned_ints.py b/tests/functional/codegen/types/numbers/test_unsigned_ints.py index 72588c95bf..633964b87c 100644 --- a/tests/functional/codegen/types/numbers/test_unsigned_ints.py +++ b/tests/functional/codegen/types/numbers/test_unsigned_ints.py @@ -4,7 +4,12 @@ import pytest -from vyper.exceptions import InvalidOperation, TypeMismatch, OverflowException, ZeroDivisionException +from vyper.exceptions import ( + InvalidOperation, + OverflowException, + TypeMismatch, + ZeroDivisionException, +) from vyper.semantics.types import IntegerT from vyper.utils import evm_div, evm_mod diff --git a/vyper/builtins/_signatures.py b/vyper/builtins/_signatures.py index 20e81894d4..2a86b7ee93 100644 --- a/vyper/builtins/_signatures.py +++ b/vyper/builtins/_signatures.py @@ -138,7 +138,7 @@ def infer_arg_types( ) -> list[VyperType]: # validate arg types and sanity check the return type # TODO: circular call with some `infer_arg_types` - #self.get_return_type(node, expected_type=return_type) + # self.get_return_type(node, expected_type=return_type) ret = [expected for (_, expected) in self._inputs]