CI: Use latest actions and reusable workflows
[releng/lftools.git] / .pre-commit-config.yaml
index 291a1b0..9986c0b 100644 (file)
@@ -5,12 +5,12 @@ repos:
   ###########
 
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.3.0
+    rev: v4.6.0
     hooks:
       - id: trailing-whitespace
 
   - repo: https://github.com/jorisroovers/gitlint
-    rev: v0.17.0
+    rev: v0.19.1
     hooks:
       - id: gitlint
 
@@ -19,23 +19,23 @@ repos:
   ##########
 
   - repo: https://github.com/ambv/black
-    rev: 22.8.0
+    rev: 24.4.2
     hooks:
-    - id: black
+      - id: black
 
   - repo: https://github.com/PyCQA/isort
-    rev: 5.10.1
+    rev: 5.13.2
     hooks:
       - id: isort
 
-  - repo: https://gitlab.com/pycqa/flake8
-    rev: 3.9.2
+  - repo: https://github.com/PyCQA/flake8
+    rev: 7.0.0
     hooks:
       - id: flake8
         args: ["--max-line-length=120"]
 
   - repo: https://github.com/pre-commit/mirrors-mypy
-    rev: v0.971
+    rev: v1.10.0
     hooks:
       - id: mypy
         additional_dependencies:
@@ -43,3 +43,8 @@ repos:
           - types-requests
           - types-six
           - types-PyYAML
+
+  - repo: https://github.com/rhysd/actionlint
+    rev: ea8102762106cdca9c88829f1295b39a544706f3  # frozen: v1.6.26
+    hooks:
+      - id: actionlint