From c78e446d2f5fdb392f216febfaa81324142f891a Mon Sep 17 00:00:00 2001 From: Paolo Melchiorre Date: Sun, 4 Dec 2022 01:14:56 +0100 Subject: Updated pre-commit file (#89) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '.pre-commit-config.yaml') 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] -- cgit v1.2.3