-
Notifications
You must be signed in to change notification settings - Fork 2
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 #4 from qubidt/test-fixes
- Loading branch information
Showing
7 changed files
with
101 additions
and
55 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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
[flake8] | ||
max-line-length = 99 | ||
exclude = | ||
.venv, | ||
.git |
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,15 +1,13 @@ | ||
from .adapters import ( # noqa: F401 | ||
BaseConnection as BaseConnection, | ||
BlockingConnection as BlockingConnection, | ||
SelectConnection as SelectConnection, | ||
) | ||
from .adapters.utils.connection_workflow import ( # noqa: F401 | ||
AMQPConnectionWorkflow as AMQPConnectionWorkflow, | ||
) | ||
from .connection import ( # noqa: F401 | ||
ConnectionParameters as ConnectionParameters, | ||
SSLOptions as SSLOptions, | ||
URLParameters as URLParameters, | ||
) | ||
from .credentials import PlainCredentials as PlainCredentials # noqa: F401 | ||
from .spec import BasicProperties as BasicProperties # noqa: F401 | ||
from .connection import ConnectionParameters as ConnectionParameters | ||
from .connection import SSLOptions as SSLOptions | ||
from .connection import URLParameters as URLParameters | ||
from .credentials import PlainCredentials as PlainCredentials | ||
from .spec import BasicProperties as BasicProperties | ||
from .delivery_mode import DeliveryMode as DeliveryMode | ||
|
||
from . import adapters | ||
from .adapters import BaseConnection as BaseConnection | ||
from .adapters import BlockingConnection as BlockingConnection | ||
from .adapters import SelectConnection as SelectConnection | ||
|
||
from .adapters.utils.connection_workflow import AMQPConnectionWorkflow as AMQPConnectionWorkflow |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from enum import Enum | ||
|
||
|
||
class DeliveryMode(Enum): | ||
Transient: int | ||
Persistent: int |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from enum import Enum | ||
|
||
|
||
class ExchangeType(Enum): | ||
direct: str | ||
fanout: str | ||
headers: str | ||
topic: str |
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 |
---|---|---|
|
@@ -28,3 +28,6 @@ install_requires = | |
dev = | ||
flake8~=3.8.3 | ||
mypy~=0.780 | ||
tornado | ||
twisted | ||
gevent |