Skip to content

Commit 2466c62

Browse files
authored
BRAYNS-640 Bump black to slient dependabot. (#1262)
1 parent 8ba4f66 commit 2466c62

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
websockets==10.3
2424
pyright==1.1.331
25-
black==23.9.1
25+
black==24.4.2
2626
flake8==6.1.0
2727
sphinx-bluebrain-theme==0.4.2
2828
sphinx-jsonschema==1.19.1

python/testapi/network/test_connector.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,16 @@ def _start_service(self, secure: bool = False) -> brayns.Process:
7171
service = brayns.Service(
7272
uri=self.uri,
7373
max_clients=3,
74-
ssl_context=brayns.SslServerContext(
75-
private_key_file=str(self.key),
76-
private_key_passphrase="test",
77-
certificate_file=str(self.certificate),
78-
ca_location=str(self.certificate),
79-
)
80-
if secure
81-
else None,
74+
ssl_context=(
75+
brayns.SslServerContext(
76+
private_key_file=str(self.key),
77+
private_key_passphrase="test",
78+
certificate_file=str(self.certificate),
79+
ca_location=str(self.certificate),
80+
)
81+
if secure
82+
else None
83+
),
8284
executable=self.executable,
8385
env=self.env,
8486
)

0 commit comments

Comments
 (0)