diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 92b2660..ee05016 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -9,7 +9,7 @@ repos:
     -   id: check-json
 -   repo: https://github.com/charliermarsh/ruff-pre-commit
     # Ruff version.
-    rev: 'v0.5.5'
+    rev: 'v0.7.3'
     hooks:
     -   id: ruff
         args: [--fix, --exit-non-zero-on-fix]
diff --git a/setup.py b/setup.py
index 73ac6b0..f0ae5e9 100644
--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,7 @@
             'pytest>=8,<9',
             'pytest-cov>=5,<6',
             'pytest-asyncio==0.*',
-            'ruff==0.5.5',
+            'ruff==0.7.3',
             'types-pyserial',
         ]
     },