summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorAndrea Censi <acensi@ethz.ch>2022-02-22 14:09:51 +0100
committerAndrea Censi <acensi@ethz.ch>2022-02-22 14:10:39 +0100
commitc9c95b13effa1840b921a0606936510d7eafa611 (patch)
tree9597478c419420a1359b1dc582a6c9325b5fd822 /.pre-commit-config.yaml
parentUpdate README.md (diff)
downloadact4e-c9c95b13effa1840b921a0606936510d7eafa611.tar.gz
act4e-c9c95b13effa1840b921a0606936510d7eafa611.zip
updates
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml18
1 files changed, 2 insertions, 16 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index d373e7a..f4adb4c 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v3.4.0
+ rev: v4.1.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
@@ -16,27 +16,13 @@ repos:
# - id: flake8
# args: [--max-line-length=100]
- repo: https://github.com/psf/black
- rev: 20.8b1
+ rev: 22.1.0
hooks:
- id: black
- language_version: python3.8
args: [-l, '110']
-#- repo: https://github.com/adrienverge/yamllint.git
-# rev: v1.26.1 # or higher tag
-# hooks:
-# - id: yamllint
-# args: [--format, parsable]
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.1.0 # or specific tag
hooks:
- id: yamlfmt
args: [--mapping, '2', --sequence, '2', --offset, '0', --width, '150', --preserve-quotes]
-
-# args: [--mapping, '2', --sequence, '0', --offset, '0', --width, '150']
-
-
-#exclude: .bumpversion.cfg
-
files: (^src/.*py)|(.*yaml)
-
-# sigil 3d9109598d23dfbb339c65e4dae064bd