Skip to content

Commit d151ee4

Browse files
committed
Rename package
1 parent f8cd6d0 commit d151ee4

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Install deps
4949
run: poetry install
5050
- name: Run pytest check
51-
run: poetry run pytest -vv -n auto --cov="taskiq_kafka" .
51+
run: poetry run pytest -vv -n auto --cov="taskiq_aio_kafka" .
5252
- name: Generate report
5353
run: poetry run coverage xml
5454
- name: Upload coverage reports to Codecov with GitHub Action

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ repos:
4141
language: system
4242
pass_filenames: false
4343
types: [python]
44-
args: [--count, taskiq_kafka]
44+
args: [--count, taskiq_aio_kafka]
4545

4646
- id: mypy
4747
name: Validate types with MyPy
4848
entry: poetry run mypy
4949
language: system
5050
types: [python]
51-
args: [taskiq_kafka]
51+
args: [taskiq_aio_kafka]
5252

5353
- id: yesqa
5454
name: Remove usless noqa

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This lirary provides you with aiokafka broker for taskiq.
44

55
Usage:
66
```python
7-
from taskiq_kafka import AioKafkaBroker
7+
from taskiq_aio_kafka import AioKafkaBroker
88

99
broker = AioKafkaBroker(bootstrap_servers="localhost")
1010

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ classifiers = [
2121
"Development Status :: 3 - Alpha",
2222
]
2323
keywords = ["taskiq", "tasks", "distributed", "async", "kafka", "aiokafka"]
24-
packages = [{ include = "taskiq_kafka" }]
24+
packages = [{ include = "taskiq_aio_kafka" }]
2525

2626
[tool.poetry.dependencies]
2727
python = "^3.7"
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""Taskiq integration with aiokafka."""
2-
from taskiq_kafka.broker import AioKafkaBroker
2+
from taskiq_aio_kafka.broker import AioKafkaBroker
33

44
__all__ = ["AioKafkaBroker"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from taskiq import AsyncResultBackend, BrokerMessage
99
from taskiq.abc.broker import AsyncBroker
1010

11-
from taskiq_kafka.exceptions import WrongAioKafkaBrokerParametersError
11+
from taskiq_aio_kafka.exceptions import WrongAioKafkaBrokerParametersError
1212

1313
_T = TypeVar("_T") # noqa: WPS111
1414

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from aiokafka import AIOKafkaConsumer, AIOKafkaProducer
77
from kafka.admin import NewTopic
88

9-
from taskiq_kafka.broker import AioKafkaBroker
9+
from taskiq_aio_kafka.broker import AioKafkaBroker
1010

1111

1212
@pytest.fixture(scope="session")

tests/test_broker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from aiokafka import AIOKafkaProducer
88
from taskiq import BrokerMessage
99

10-
from taskiq_kafka.broker import AioKafkaBroker
10+
from taskiq_aio_kafka.broker import AioKafkaBroker
1111

1212

1313
async def get_first_task(broker: AioKafkaBroker) -> BrokerMessage: # type: ignore

0 commit comments

Comments
 (0)