diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index e048084..8cffa48 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -8,7 +8,7 @@ repos:
     -   id: check-added-large-files
     -   id: check-json
 -   repo: https://github.com/charliermarsh/ruff-pre-commit
-    rev: 'v0.4.7'
+    rev: 'v0.8.4'
     hooks:
     -   id: ruff
         args: [--fix, --exit-non-zero-on-fix]
diff --git a/setup.py b/setup.py
index de56760..c14c5c1 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@
             'pytest',
             'pytest-cov',
             'pytest-asyncio',
-            'ruff==0.4.7',
+            'ruff==0.8.4',
             'types-pyserial',
         ],
     },