Skip to content

Commit 04aa839

Browse files
committed
Apply ruff format to all code
1 parent db37982 commit 04aa839

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+4014
-3329
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ setup:
1414

1515
.PHONY: format
1616
format:
17-
ruff format $(FORMATTED_AREAS) setup.py
17+
ruff format aiokafka tests setup.py
1818
ruff check --fix aiokafka tests setup.py
1919

2020
.PHONY: lint
2121
lint:
22-
ruff format --check $(FORMATTED_AREAS) setup.py
22+
ruff format --check aiokafka tests setup.py
2323
ruff check aiokafka tests setup.py
2424
mypy --install-types --non-interactive $(FORMATTED_AREAS)
2525

aiokafka/__init__.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '0.10.0' # noqa
1+
__version__ = "0.10.0" # noqa
22

33
from .abc import ConsumerRebalanceListener
44
from .client import AIOKafkaClient
@@ -19,10 +19,13 @@
1919
# ABC's
2020
"ConsumerRebalanceListener",
2121
# Errors
22-
"ConsumerStoppedError", "IllegalOperation",
22+
"ConsumerStoppedError",
23+
"IllegalOperation",
2324
# Structs
24-
"ConsumerRecord", "TopicPartition", "OffsetAndTimestamp",
25-
"OffsetAndMetadata"
25+
"ConsumerRecord",
26+
"TopicPartition",
27+
"OffsetAndTimestamp",
28+
"OffsetAndMetadata",
2629
]
2730

2831
AIOKafkaClient

aiokafka/abc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,5 @@ def extensions(self):
143143

144144
__all__ = [
145145
"ConsumerRebalanceListener",
146-
"AbstractTokenProvider"
146+
"AbstractTokenProvider",
147147
]

0 commit comments

Comments
 (0)