Skip to content

Commit e8383ea

Browse files
authored
Chore: minor cleanup (#971)
1 parent 82695b0 commit e8383ea

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ Running tests with coverage::
8888

8989
make cov
9090

91-
To run tests with a specific version of Kafka (default one is 1.0.2) use KAFKA_VERSION variable::
91+
To run tests with a specific version of Kafka (default one is 2.8.1) use KAFKA_VERSION variable::
9292

93-
make cov KAFKA_VERSION=0.10.2.1
93+
make cov SCALA_VERSION=2.11 KAFKA_VERSION=0.10.2.1
9494

9595
Test running cheatsheat:
9696

aiokafka/protocol/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class RequestHeader(Struct):
1212
("client_id", String("utf-8")),
1313
)
1414

15-
def __init__(self, request, correlation_id=0, client_id="kafka-python"):
15+
def __init__(self, request, correlation_id=0, client_id="aiokafka"):
1616
super(RequestHeader, self).__init__(
1717
request.API_KEY, request.API_VERSION, correlation_id, client_id
1818
)
@@ -28,7 +28,7 @@ class RequestHeaderV2(Struct):
2828
("tags", TaggedFields),
2929
)
3030

31-
def __init__(self, request, correlation_id=0, client_id="kafka-python", tags=None):
31+
def __init__(self, request, correlation_id=0, client_id="aiokafka", tags=None):
3232
super(RequestHeaderV2, self).__init__(
3333
request.API_KEY, request.API_VERSION, correlation_id, client_id, tags or {}
3434
)

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,7 @@ skip_empty = true
8383

8484

8585
[tool.ruff]
86-
target-version = "py38"
87-
line-length = 88
88-
89-
# For the reference, check https://beta.ruff.rs/docs/rules/
86+
# For the reference, check https://docs.astral.sh/ruff/rules/
9087
select = [
9188
"F", # pyflakes
9289
"E", "W", # pycodestyle

0 commit comments

Comments
 (0)