diff options
author | Andrea Censi <acensi@ethz.ch> | 2022-02-21 17:28:48 +0100 |
---|---|---|
committer | Andrea Censi <acensi@ethz.ch> | 2022-02-21 17:28:48 +0100 |
commit | fe30f8bc7f8ce822ae412d5b939b4dc414b68b99 (patch) | |
tree | 430cf066a5bd1db6826272a2d4557f53bed20ed8 | |
parent | Bump to version 7.1.2202211124 [ci skip] (diff) | |
download | act4e-fe30f8bc7f8ce822ae412d5b939b4dc414b68b99.tar.gz act4e-fe30f8bc7f8ce822ae412d5b939b4dc414b68b99.zip |
fix
Diffstat (limited to '')
-rw-r--r-- | .pre-commit-config.yaml | 61 | ||||
-rw-r--r-- | setup.json | 2 |
2 files changed, 22 insertions, 41 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d373e7a..a5c6e90 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,42 +1,23 @@ ---- -repos: -- repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 - hooks: - - id: check-added-large-files - - id: check-case-conflict - - id: check-executables-have-shebangs - - id: check-merge-conflict - - id: check-symlinks -# - id: trailing-whitespace -# - id: end-of-file-fixer -# - id: check-yaml -# - id: check-json -# - id: check-docstring-first -# - id: flake8 -# args: [--max-line-length=100] -- repo: https://github.com/psf/black - rev: 20.8b1 - 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 - +exclude: .pre-commit-config.yaml files: (^src/.*py)|(.*yaml) +repos: +- hooks: + - {id: check-added-large-files} + - {id: check-case-conflict} + - {id: check-executables-have-shebangs} + - {id: check-merge-conflict} + - {id: check-symlinks} + repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.1.0 +- hooks: + - args: [-l, '110', -t, py38] + id: black + repo: https://github.com/psf/black + rev: 21.12b0 +- hooks: + - args: [--mapping, '2', --sequence, '2', --offset, '0', --width, '150', --preserve-quotes] + id: yamlfmt + repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt + rev: 0.1.0 -# sigil 3d9109598d23dfbb339c65e4dae064bd +# sigil 1b050e28e72b639bc7781ce39208defb @@ -11,7 +11,7 @@ "modules": [ "act4e_solutions" ], - "version": "7.1.2202211124", + "version": "0.1", "author": "", "author_email": "", "url": "" |