diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1ca56c596f586712bf10a3a429857b8e11ef08c6..55a4c3399e398a1bb660987fd21c51da06323658 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -12,7 +12,7 @@ exclude: >
 repos:
 
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.3.0
+    rev: v4.4.0
     hooks:
     - id: check-json
     - id: check-yaml
@@ -37,16 +37,16 @@ repos:
       entry: python scripts/check_doc_requirements.py
 
   - repo: https://github.com/pycqa/isort
-    rev: 5.10.1
+    rev: 5.12.0
     hooks:
     - id: isort
 
   - repo: https://github.com/psf/black
-    rev: 22.10.0
+    rev: 23.1.0
     hooks:
     - id: black
 
   - repo: https://github.com/PyCQA/flake8
-    rev: 5.0.4
+    rev: 6.0.0
     hooks:
     - id: flake8
diff --git a/jupyter_book/__init__.py b/jupyter_book/__init__.py
index 207bf5ed279ece28d7048216a49fcca635980caf..2d82ca88366b6b17c1df16e92e5adde39dc16a7d 100644
--- a/jupyter_book/__init__.py
+++ b/jupyter_book/__init__.py
@@ -5,7 +5,6 @@ __version__ = "0.13.1"
 
 # We connect this function to the step after the builder is initialized
 def setup(app):
-
     app.add_config_value("use_jupyterbook_latex", True, "env")
     app.add_config_value("use_multitoc_numbering", True, "env")
 
diff --git a/jupyter_book/cli/main.py b/jupyter_book/cli/main.py
index 7f4896cf0562ed14003a2fdd3fec408f4cbe5460..13603fcf708b0d26a6976e2a10b42e5cecfbd935 100644
--- a/jupyter_book/cli/main.py
+++ b/jupyter_book/cli/main.py
@@ -231,7 +231,6 @@ def build(
         toc = PATH_SRC_FOLDER.joinpath("_toc.yml") if toc is None else Path(toc)
 
         if not get_config_only:
-
             if not toc.exists():
                 _error(
                     "Couldn't find a Table of Contents file. "
diff --git a/jupyter_book/config.py b/jupyter_book/config.py
index 752e7e8e59c8f20d0f836f8b6c099c2939b13358..0b1b2569a4e170fbb8906e754b323366e210ee4c 100644
--- a/jupyter_book/config.py
+++ b/jupyter_book/config.py
@@ -272,7 +272,6 @@ def yaml_to_sphinx(yaml: dict):
     # HTML
     html = yaml.get("html")
     if html:
-
         for spx_key, yml_key in [
             ("html_favicon", "favicon"),
             ("html_baseurl", "baseurl"),