style: format python files with isort and double-quote-string-fixer

This commit is contained in:
Fu Hanxi
2021-01-26 10:49:01 +08:00
parent dc8402ea61
commit 0146f258d7
276 changed files with 8241 additions and 8162 deletions
+3 -2
View File
@@ -17,9 +17,10 @@
# protocomm endpoint with security type protocomm_security0
from __future__ import print_function
from future.utils import tobytes
import proto
from future.utils import tobytes
from .security import Security
@@ -54,7 +55,7 @@ class Security0(Security):
setup_resp.ParseFromString(tobytes(response_data))
# Check if security scheme matches
if setup_resp.sec_ver != proto.session_pb2.SecScheme0:
print("Incorrect sec scheme")
print('Incorrect sec scheme')
def encrypt_data(self, data):
# Passive. No encryption when security0 used