From b92ec7575e7e3de14b853ae495bb564b88a2a282 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Wed, 26 Oct 2022 11:45:40 +0200 Subject: [PATCH] Bump pre-commit hooks versions (#442) Pylint wasn't supported by Python 3.11 Fix new report --- .pre-commit-config.yaml | 16 ++++++++-------- silkaj/wot/revocation.py | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c552f631..a5787852 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ exclude: ^g1_monetary_license/ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.2.0 + rev: v4.3.0 hooks: - id: check-ast - id: check-merge-conflict @@ -11,7 +11,7 @@ repos: - id: mixed-line-ending - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 22.10.0 hooks: - id: black - repo: https://github.com/PyCQA/isort @@ -20,15 +20,15 @@ repos: - id: isort args: ["--profile", "black"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.960 + rev: v0.982 hooks: - id: mypy - repo: https://github.com/PyCQA/pylint - rev: v2.14.1 + rev: v2.15.5 hooks: - id: pylint - repo: https://github.com/asottile/pyupgrade - rev: v2.32.1 + rev: v3.1.0 hooks: - id: pyupgrade args: [--py37-plus] @@ -40,7 +40,7 @@ repos: - "--server" - "https://git.duniter.org" - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.1.13 + rev: v1.3.1 hooks: - id: insert-license files: \.py$ @@ -48,10 +48,10 @@ repos: - --license-filepath - license_header.txt - repo: https://github.com/executablebooks/mdformat - rev: 0.7.14 + rev: 0.7.16 hooks: - id: mdformat - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 5.0.4 hooks: - id: flake8 diff --git a/silkaj/wot/revocation.py b/silkaj/wot/revocation.py index 6c9c663f..f09110bc 100644 --- a/silkaj/wot/revocation.py +++ b/silkaj/wot/revocation.py @@ -101,8 +101,8 @@ def revoke_now(ctx: click.Context) -> None: @click.command( "verify", - help="Verifies that a revocation document is correctly formatted and matches an existing identity.\n\ -Optionnaly takes the document filename.", + help="Verifies that a revocation document is correctly formatted and matches an \ +existing identity.\nOptionnaly takes the document filename.", ) @click.argument( "file", -- GitLab