diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1699220bf..76d8dda9e 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,6 +1,6 @@
 repos:
     - repo: https://github.com/astral-sh/ruff-pre-commit
-      rev: v0.8.6
+      rev: v0.9.1
       hooks:
           - id: ruff
             name: ruff linter
diff --git a/mne_icalabel/utils/config.py b/mne_icalabel/utils/config.py
index 606d2c8cd..68e8c1875 100644
--- a/mne_icalabel/utils/config.py
+++ b/mne_icalabel/utils/config.py
@@ -43,9 +43,9 @@ def sys_info(fid: Optional[IO] = None, developer: bool = False):
     out("Logical cores:".ljust(ljust) + str(psutil.cpu_count(True)) + "\n")
     # memory information
     out("RAM:".ljust(ljust))
-    out(f"{psutil.virtual_memory().total / float(2 ** 30):0.1f} GB\n")
+    out(f"{psutil.virtual_memory().total / float(2**30):0.1f} GB\n")
     out("SWAP:".ljust(ljust))
-    out(f"{psutil.swap_memory().total / float(2 ** 30):0.1f} GB\n")
+    out(f"{psutil.swap_memory().total / float(2**30):0.1f} GB\n")
     # package information
     out(f"{package}:".ljust(ljust) + version(package) + "\n")