diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index c87086f8d66d10ed173548e74e88403c7311d61d..a6b122aa687374548f75d9fae59a1ab306767179 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,6 +1,6 @@
 repos:
   - repo: https://github.com/ambv/black
-    rev: 19.10b0
+    rev: 22.3.0
     hooks:
       - id: black
   - repo: https://github.com/pre-commit/pre-commit-hooks
diff --git a/PythonServer/pos-python-server.py b/PythonServer/pos-python-server.py
index 671f34fadea5c93e3a02e9fc6b9ab55481da5539..72ff2b6307fa5037364f50d74e3c756fd68aff96 100755
--- a/PythonServer/pos-python-server.py
+++ b/PythonServer/pos-python-server.py
@@ -239,5 +239,7 @@ def search_cf(searchlist: str, output: str):
 
 if __name__ == "__main__":
     uvicorn.run(
-        app, host="0.0.0.0", port=PORT_NUMBER,
+        app,
+        host="0.0.0.0",
+        port=PORT_NUMBER,
     )