From c573f8b05cfb6ffe1f92bb72bf59d3851a81cbc1 Mon Sep 17 00:00:00 2001 From: Ilya Kamen Date: Sat, 17 Jun 2023 20:38:36 +0200 Subject: [PATCH] precommit --- src/flynt/transform/transform.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/flynt/transform/transform.py b/src/flynt/transform/transform.py index 9106dca..1016c09 100644 --- a/src/flynt/transform/transform.py +++ b/src/flynt/transform/transform.py @@ -57,10 +57,7 @@ def transform_chunk( exc_info=True, ) state.invalid_conversions += 1 - return ( - None, - False, - ) # type:ignore # ideally should return one optional str + return None, False # type:ignore # should return one optional str else: return new_code, changed