diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index e048084..31af6d3 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.7.0'
     hooks:
     -   id: ruff
         args: [--fix, --exit-non-zero-on-fix]
diff --git a/setup.py b/setup.py
index 157a076..7ca6f5e 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@
             'pytest',
             'pytest-cov',
             'pytest-asyncio',
-            'ruff==0.4.7',
+            'ruff==0.7.0',
             'types-pyserial',
         ],
     },