Skip to content

Commit 7183ce3

Browse files
committed
Revert failed attempt. Specify target Python version and apply automatic fixes.
1 parent 181c256 commit 7183ce3

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

lambdas/redis_sync/tests/test_handler.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
import unittest
55
from unittest.mock import patch
66

7-
from constants import RedisCacheKey
8-
97
import redis_sync
8+
from constants import RedisCacheKey
109

1110

1211
class TestHandler(unittest.TestCase):

lambdas/redis_sync/tests/test_handler_decorator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
from common.s3_event import S3EventRecord
88
from constants import RedisCacheKey
9-
109
from redis_sync import handler
1110

1211

ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
src = ["."]
21
line-length = 121
2+
target-version = "py311"
33

44
[lint]
55
# TODO - consider enabling more rulesets, e.g. B, C90, N, RET, S, UP

0 commit comments

Comments
 (0)