-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #964 from ods/ruff
Use ruff for linting and formatting
- Loading branch information
Showing
77 changed files
with
4,482 additions
and
3,698 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,7 @@ jobs: | |
- name: Lint code | ||
run: | | ||
make flake | ||
make lint | ||
- name: Check readme for package | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,31 @@ | ||
__version__ = '0.10.0' # noqa | ||
__version__ = "0.10.0" # noqa | ||
|
||
from .abc import ConsumerRebalanceListener | ||
from .client import AIOKafkaClient | ||
from .consumer import AIOKafkaConsumer | ||
from .errors import ConsumerStoppedError, IllegalOperation | ||
from .producer import AIOKafkaProducer | ||
from .structs import ( | ||
TopicPartition, ConsumerRecord, OffsetAndTimestamp, OffsetAndMetadata | ||
ConsumerRecord, | ||
OffsetAndMetadata, | ||
OffsetAndTimestamp, | ||
TopicPartition, | ||
) | ||
|
||
|
||
__all__ = [ | ||
# Clients API | ||
"AIOKafkaProducer", | ||
"AIOKafkaConsumer", | ||
# ABC's | ||
"ConsumerRebalanceListener", | ||
# Errors | ||
"ConsumerStoppedError", "IllegalOperation", | ||
"ConsumerStoppedError", | ||
"IllegalOperation", | ||
# Structs | ||
"ConsumerRecord", "TopicPartition", "OffsetAndTimestamp", | ||
"OffsetAndMetadata" | ||
"ConsumerRecord", | ||
"TopicPartition", | ||
"OffsetAndTimestamp", | ||
"OffsetAndMetadata", | ||
] | ||
|
||
AIOKafkaClient |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.