Skip to content
Snippets Groups Projects
Commit b92ec757 authored by Moul's avatar Moul
Browse files

Bump pre-commit hooks versions (#442)

Pylint wasn't supported by Python 3.11
Fix new report
parent b7e611b3
No related branches found
No related tags found
1 merge request!221Introduce Python v3.11 support
exclude: ^g1_monetary_license/ exclude: ^g1_monetary_license/
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0 rev: v4.3.0
hooks: hooks:
- id: check-ast - id: check-ast
- id: check-merge-conflict - id: check-merge-conflict
...@@ -11,7 +11,7 @@ repos: ...@@ -11,7 +11,7 @@ repos:
- id: mixed-line-ending - id: mixed-line-ending
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.3.0 rev: 22.10.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/PyCQA/isort - repo: https://github.com/PyCQA/isort
...@@ -20,15 +20,15 @@ repos: ...@@ -20,15 +20,15 @@ repos:
- id: isort - id: isort
args: ["--profile", "black"] args: ["--profile", "black"]
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.960 rev: v0.982
hooks: hooks:
- id: mypy - id: mypy
- repo: https://github.com/PyCQA/pylint - repo: https://github.com/PyCQA/pylint
rev: v2.14.1 rev: v2.15.5
hooks: hooks:
- id: pylint - id: pylint
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v2.32.1 rev: v3.1.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: [--py37-plus] args: [--py37-plus]
...@@ -40,7 +40,7 @@ repos: ...@@ -40,7 +40,7 @@ repos:
- "--server" - "--server"
- "https://git.duniter.org" - "https://git.duniter.org"
- repo: https://github.com/Lucas-C/pre-commit-hooks - repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.13 rev: v1.3.1
hooks: hooks:
- id: insert-license - id: insert-license
files: \.py$ files: \.py$
...@@ -48,10 +48,10 @@ repos: ...@@ -48,10 +48,10 @@ repos:
- --license-filepath - --license-filepath
- license_header.txt - license_header.txt
- repo: https://github.com/executablebooks/mdformat - repo: https://github.com/executablebooks/mdformat
rev: 0.7.14 rev: 0.7.16
hooks: hooks:
- id: mdformat - id: mdformat
- repo: https://github.com/PyCQA/flake8 - repo: https://github.com/PyCQA/flake8
rev: 4.0.1 rev: 5.0.4
hooks: hooks:
- id: flake8 - id: flake8
...@@ -101,8 +101,8 @@ def revoke_now(ctx: click.Context) -> None: ...@@ -101,8 +101,8 @@ def revoke_now(ctx: click.Context) -> None:
@click.command( @click.command(
"verify", "verify",
help="Verifies that a revocation document is correctly formatted and matches an existing identity.\n\ help="Verifies that a revocation document is correctly formatted and matches an \
Optionnaly takes the document filename.", existing identity.\nOptionnaly takes the document filename.",
) )
@click.argument( @click.argument(
"file", "file",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment