diff options
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2021-12-13 08:24:13 +0200 |
---|---|---|
committer | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2021-12-13 08:24:13 +0200 |
commit | 4a74ce214ba23ab6c0404a2ec31ab7429e8f42c6 (patch) | |
tree | 83042f135035760ccbd0d6c8fe5d90aeebb2507f | |
parent | 7f1a6b48ac1343c46cab7a84d15883f80e566e3a (diff) | |
download | isodate-4a74ce214ba23ab6c0404a2ec31ab7429e8f42c6.tar.gz |
Update pre-commit
-rw-r--r-- | .pre-commit-config.yaml | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 05cc6be..30b419f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,19 +1,38 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v2.10.0 + rev: v2.29.1 hooks: - id: pyupgrade - args: ["--py37-plus"] + args: [--py37-plus] + + - repo: https://github.com/psf/black + rev: 21.12b0 + hooks: + - id: black + args: [--target-version=py36] + + - repo: https://github.com/PyCQA/isort + rev: 5.10.1 + hooks: + - id: isort - repo: https://github.com/pycqa/flake8 - rev: 3.9.1 + rev: 4.0.1 hooks: - id: flake8 + additional_dependencies: [flake8-2020, flake8-implicit-str-concat] args: - "--max-line-length=88" + - repo: https://github.com/pre-commit/pygrep-hooks + rev: v1.9.0 + hooks: + - id: python-check-blanket-noqa + - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 + rev: v4.0.1 hooks: - id: check-merge-conflict - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace |