diff options
author | Paolo Melchiorre | 2022-12-04 01:14:56 +0100 |
---|---|---|
committer | GitHub | 2022-12-03 17:14:56 -0700 |
commit | c78e446d2f5fdb392f216febfaa81324142f891a (patch) | |
tree | aebe8d51197c9f03485db7c647a1af33bec2876e /.pre-commit-config.yaml | |
parent | 2162b059681a1e475d275b2ea5fe027a20396a23 (diff) | |
download | takahe-c78e446d2f5fdb392f216febfaa81324142f891a.tar.gz takahe-c78e446d2f5fdb392f216febfaa81324142f891a.tar.bz2 takahe-c78e446d2f5fdb392f216febfaa81324142f891a.zip |
Updated pre-commit file (#89)
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e41f599..260a987 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,18 +1,18 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.3.0 + rev: v4.4.0 hooks: - id: check-case-conflict - id: check-merge-conflict - id: check-yaml - id: end-of-file-fixer - id: file-contents-sorter - args: ["--ignore-case"] - files: "^.gitignore$" + args: ["--ignore-case", "--unique"] + files: ^(\.gitignore|\.dockerignore|requirements[-\w]*.txt)$ - id: mixed-line-ending args: ["--fix=lf"] - - id: trailing-whitespace - id: pretty-format-json + - id: trailing-whitespace - repo: https://github.com/psf/black rev: 22.10.0 @@ -26,12 +26,12 @@ repos: args: ["--profile=black"] - repo: https://github.com/pycqa/flake8 - rev: 5.0.4 + rev: 6.0.0 hooks: - id: flake8 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.982 + rev: v0.991 hooks: - id: mypy additional_dependencies: [types-pyopenssl, types-bleach, types-mock] |