Skip to content

Commit 07b1dbb

Browse files
remove ruff lint
1 parent 6d85a31 commit 07b1dbb

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,4 @@ preview = true
7676
"PLR6301",
7777
"SIM117",
7878
"TRY301",
79-
"SLF001",
8079
]

tests/lambda_service_test.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747
@pytest.fixture
4848
def reset_lambda_client_cache():
4949
"""Reset the class-level boto3 client cache before and after each test."""
50-
LambdaClient._cached_boto_client = None
50+
LambdaClient._cached_boto_client = None # noqa: SLF001
5151
yield
52-
LambdaClient._cached_boto_client = None
52+
LambdaClient._cached_boto_client = None # noqa: SLF001
5353

5454

5555
# =============================================================================
@@ -2117,7 +2117,9 @@ def test_lambda_client_cache_is_class_level(
21172117
LambdaClient.initialize_client()
21182118

21192119
# Verify the boto3 client is cached at class level
2120-
assert LambdaClient._cached_boto_client is mock_client
2120+
assert LambdaClient._cached_boto_client is mock_client # noqa: SLF001
2121+
2122+
21212123
# Tests for Operation JSON Serialization Methods
21222124
# =============================================================================
21232125

0 commit comments

Comments
 (0)