[Mod] black格式化
This commit is contained in:
parent
37f528ba08
commit
45ae431d83
@ -65,6 +65,8 @@ class Spi(CThostFtdcTraderSpi):
|
|||||||
self, pRspInfo: CThostFtdcRspInfoField, nRequestID: int, bIsLast: bool
|
self, pRspInfo: CThostFtdcRspInfoField, nRequestID: int, bIsLast: bool
|
||||||
) -> None:
|
) -> None:
|
||||||
print("OnRspError!")
|
print("OnRspError!")
|
||||||
|
|
||||||
|
|
||||||
# pylint: enable=invalid-name
|
# pylint: enable=invalid-name
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,7 +18,9 @@ def check_flake8():
|
|||||||
def check_pylint():
|
def check_pylint():
|
||||||
passed = True
|
passed = True
|
||||||
try:
|
try:
|
||||||
subprocess.check_call(["pylint", "-j", "0", "vnpy", "binding", "tests"])
|
subprocess.check_call(
|
||||||
|
["pylint", "-j", "0", "vnpy", "binding", "tests"]
|
||||||
|
)
|
||||||
except subprocess.SubprocessError:
|
except subprocess.SubprocessError:
|
||||||
passed = False
|
passed = False
|
||||||
return passed
|
return passed
|
||||||
|
Loading…
Reference in New Issue
Block a user