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/
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
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment