Skip to content

Commit c857cdb

Browse files
committed
Update Ruff config
1 parent 17abdc9 commit c857cdb

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

betterproto2/pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ select = [
7777

7878
[tool.ruff.lint.isort]
7979
combine-as-imports = true
80+
known-first-party = ["tests"]
81+
known-third-party = ["grpclib"]
8082

8183
[tool.pytest.ini_options]
8284
python_files = "test_*.py"

betterproto2/tests/inputs/timestamp_dict_encode/test_timestamp_dict_encode.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
from datetime import (
2-
datetime,
3-
timedelta,
4-
timezone,
5-
)
1+
from datetime import datetime, timedelta, timezone
62

73
import pytest
84

0 commit comments

Comments
 (0)