import Callable, Iterable from collections.abs instead of typing.

update tests to reflect changes in the API.

reorganise hatch envs

add black,isort configs to pyproject.toml

add pre-commit config
This commit is contained in:
2025-02-11 09:51:00 +00:00
parent 0fe78197fc
commit 797161a6f2
10 changed files with 94 additions and 41 deletions

View File

@@ -96,10 +96,8 @@ class ObsClient:
auth = base64.b64encode(
hashlib.sha256(
(
secret
+ self.server_hello["d"]["authentication"]["challenge"].encode()
)
secret
+ self.server_hello["d"]["authentication"]["challenge"].encode()
).digest()
).decode()