Skip to content

Commit 606969c

Browse files
Merge pull request #2747 from avinashkranjan/deepsource-transform-be409b90
format code with autopep8
2 parents 239a1ed + 50bbde4 commit 606969c

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

TradingView/python/fixtool/message.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,7 @@ def from_dict(d):
702702

703703
class SessionSendMessage:
704704
"""Request message be sent from server to client."""
705+
705706
def __init__(self, name: str, payload: bytes):
706707
self.type = "session_send"
707708
self.name = name
@@ -723,6 +724,7 @@ def from_dict(d):
723724

724725
class SessionSentMessage:
725726
"""Acknowledge message was sent from server to client."""
727+
726728
def __init__(self, name: str, result: bool, message: str):
727729
self.type = "session_sent"
728730
self.name = name

TradingView/python/tests/test_basic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def test_create_server():
6767
proxy.shutdown()
6868
return
6969

70+
7071
def xxx_test_connect_disconnect():
7172
proxy = fixtool.FixToolProxy("localhost", 11011)
7273
client = proxy.create_client("c1")

TradingView/setup.py

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#
2424
########################################################################
2525

26+
from fixtool import VERSION
2627
import inspect
2728
import os
2829
import sys
@@ -34,8 +35,6 @@
3435
d = os.path.join(d, "python")
3536
sys.path.append(d)
3637

37-
from fixtool import VERSION
38-
3938

4039
with open("README.rst") as readme:
4140
long_description = readme.read()
@@ -50,23 +49,23 @@
5049
license="MIT",
5150
keywords="fix testing",
5251
install_requires=["simplefix>=1.0.8"],
53-
package_dir= {"": "python"},
52+
package_dir={"": "python"},
5453
packages=["fixtool"],
5554
entry_points={
5655
"console_scripts": [
5756
"fixtool-agent=fixtool.agent:main"
5857
]
5958
},
6059
classifiers=[
61-
'Development Status :: 3 - Alpha',
62-
'Topic :: System :: Networking',
63-
'Intended Audience :: Developers',
64-
'License :: OSI Approved :: MIT License',
65-
'Operating System :: OS Independent',
66-
'Programming Language :: Python',
67-
'Programming Language :: Python :: 3.5',
68-
'Programming Language :: Python :: 3.6',
69-
],
60+
'Development Status :: 3 - Alpha',
61+
'Topic :: System :: Networking',
62+
'Intended Audience :: Developers',
63+
'License :: OSI Approved :: MIT License',
64+
'Operating System :: OS Independent',
65+
'Programming Language :: Python',
66+
'Programming Language :: Python :: 3.5',
67+
'Programming Language :: Python :: 3.6',
68+
],
7069
)
7170

7271

0 commit comments

Comments
 (0)