[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
|
||||
) -> None:
|
||||
print("OnRspError!")
|
||||
|
||||
|
||||
# pylint: enable=invalid-name
|
||||
|
||||
|
||||
|
@ -18,7 +18,9 @@ def check_flake8():
|
||||
def check_pylint():
|
||||
passed = True
|
||||
try:
|
||||
subprocess.check_call(["pylint", "-j", "0", "vnpy", "binding", "tests"])
|
||||
subprocess.check_call(
|
||||
["pylint", "-j", "0", "vnpy", "binding", "tests"]
|
||||
)
|
||||
except subprocess.SubprocessError:
|
||||
passed = False
|
||||
return passed
|
||||
|
Loading…
Reference in New Issue
Block a user