diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 85014cc..2d84e12 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.5.5'
+    rev: 'v0.6.3'
     hooks:
     -   id: ruff
         args: [--fix, --exit-non-zero-on-fix]
diff --git a/setup.py b/setup.py
index b2d995d..2a04c19 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@
             'pytest-cov>=5,<6',
             'pytest-asyncio==0.*',
             'pytest-xdist==3.*',
-            'ruff==0.5.5',
+            'ruff==0.6.3',
             'mypy==1.11.2',
             'types-pyserial==3.5.0.20240311'
         ],