diff --git a/pyproject.toml b/pyproject.toml index 9a6e34a..65ca2fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,7 @@ line-length = 88 target-version = "py311" [tool.ruff.lint] -select = ["E4", "E7", "E9", "F", "UP", "S", "ANN", "C4", "I", "RUF", "SIM", "PLR", "ERA", "RET"] +select = ["E4", "E7", "E9", "F", "UP", "S", "ANN", "C4", "I", "RUF", "SIM", "PLR", "ERA", "RET", "B"] # select = ["ALL"] ignore = ["ANN003", "ANN401", "D", "COM"] diff --git a/tests/test_ratelimits.py b/tests/test_ratelimits.py index 0cbc0ad..8cd7ad9 100644 --- a/tests/test_ratelimits.py +++ b/tests/test_ratelimits.py @@ -135,7 +135,7 @@ async def make_request() -> None: # Make as many requests as possible without exceeding max_request_num = xbl_client.people.RATE_LIMITS["burst"] - for i in range(max_request_num): + for _ in range(max_request_num): await make_request() # Make another request, ensure that it raises the exception.