Skip to content

Commit 9c9c6e4

Browse files
committed
Add ruff lint rule - T
1 parent bf2305a commit 9c9c6e4

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

packages/smithy-core/tests/unit/test_retries.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ def test_exponential_backoff_strategy(
5252

5353
for delay_index, delay_expected in enumerate(expected_delays):
5454
delay_actual = bos.compute_next_backoff_delay(retry_attempt=delay_index)
55-
delay_expected2 = delay_expected
56-
print(f"{delay_index=} {delay_actual=} {delay_expected2=}")
5755
assert delay_actual == pytest.approx(delay_expected) # type: ignore
5856

5957

packages/smithy-http/tests/integration/aio/test_crt.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ async def test_basic_request_local(sample_request: HTTPRequest) -> None:
1111
session = AWSCRTHTTPClient(client_config=config)
1212
response = await session.send(request=sample_request)
1313
assert response.status == 200
14-
print(f"{response=}")
1514
body = await response.consume_body_async()
16-
print(f"{body=}")
1715
assert b"aws" in body
1816

1917

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ target-version = "py312"
5050
# perhaps in the future: N, PYI, TC, TID
5151
# probably not, a lot of work: DOC, D, PL, TRY
5252

53-
# TODO: T, UP
54-
select = [ "ASYNC", "E1", "E4", "E7", "E9", "F", "FURB", "G", "I", "LOG", "S" ]
53+
# TODO: UP
54+
select = [ "ASYNC", "E1", "E4", "E7", "E9", "F", "FURB", "G", "I", "LOG", "S", "T" ]
5555
exclude = [ "packages/smithy-core/src/smithy_core/rfc3986.py" ]
5656

5757
[tool.ruff.lint.per-file-ignores]

0 commit comments

Comments
 (0)