diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index ab501954..73c87792 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -12,7 +12,7 @@ repos:
 # from readme - ruff with autofix must run before
 # other formatters, such as black
 - repo: https://github.com/astral-sh/ruff-pre-commit
-  rev: v0.4.8
+  rev: v0.5.1
   hooks:
   - id: ruff
     args: [ --fix, --exit-non-zero-on-fix , --show-fixes]