Make CI pass; add black and isort to CI; add reformat commit to .git-blame-ignore-revs.

This commit is contained in:
Felix Fontein
2025-10-06 18:57:33 +02:00
parent d65d37e9e9
commit bb39e67c8f
11 changed files with 35 additions and 20 deletions
@@ -59,7 +59,7 @@ class NpipeHTTPConnectionPool(urllib3.connectionpool.HTTPConnectionPool):
if self.block:
raise urllib3.exceptions.EmptyPoolError(
self,
"Pool reached maximum size and no more " "connections are allowed.",
"Pool reached maximum size and no more connections are allowed.",
)
pass # Oh well, we'll create a new connection then
@@ -81,7 +81,7 @@ class SSHSocket(socket.socket):
def _write(self, data):
if not self.proc or self.proc.stdin.closed:
raise Exception(
"SSH subprocess not initiated." "connect() must be called first."
"SSH subprocess not initiated. connect() must be called first."
)
written = self.proc.stdin.write(data)
self.proc.stdin.flush()
@@ -96,7 +96,7 @@ class SSHSocket(socket.socket):
def recv(self, n):
if not self.proc:
raise Exception(
"SSH subprocess not initiated." "connect() must be called first."
"SSH subprocess not initiated. connect() must be called first."
)
return self.proc.stdout.read(n)
@@ -166,7 +166,7 @@ class SSHConnectionPool(urllib3.connectionpool.HTTPConnectionPool):
if self.block:
raise urllib3.exceptions.EmptyPoolError(
self,
"Pool reached maximum size and no more " "connections are allowed.",
"Pool reached maximum size and no more connections are allowed.",
)
pass # Oh well, we'll create a new connection then