Skip to content

Commit 2c6f4e7

Browse files
committed
Stop adding parens to pytest decorators
1 parent 9ae2b02 commit 2c6f4e7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ exclude = [
1414
# Same as Black
1515
line-length = 88
1616

17-
# Assume Python 3.10
18-
target-version = "py310"
17+
# Assume Python 3.12
18+
target-version = "py312"
1919

2020
[tool.ruff.lint]
2121
# Enable various rules
22-
select = ["E", "F", "B", "I", "N", "UP", "C4", "PT", "RET", "SIM", "TID"]
22+
select = ["E", "F", "B", "I", "N", "UP", "C4", "RET", "SIM", "TID"]
2323
# Exclude COM812 which conflicts with the formatter
2424
ignore = ["COM812"]
2525

tests/test_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def test_get_model_config(model_name, expected_provider, expected_max_tokens):
194194
assert config.max_tokens == expected_max_tokens
195195

196196

197-
@pytest.mark.asyncio()
197+
@pytest.mark.asyncio
198198
async def test_model_client_factory():
199199
"""Test the ModelClientFactory"""
200200
# Test with OpenAI model

0 commit comments

Comments
 (0)