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

Bump pre-commit hooks

Apply Black 2025
parent 99e53d76
No related branches found
No related tags found
1 merge request!200Add v1.2.1 changelog
...@@ -11,16 +11,16 @@ repos: ...@@ -11,16 +11,16 @@ 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: 24.10.0 rev: 25.1.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/PyCQA/isort - repo: https://github.com/PyCQA/isort
rev: 5.13.2 rev: 6.0.1
hooks: hooks:
- 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: v1.14.1 rev: v1.15.0
hooks: hooks:
- id: mypy - id: mypy
args: args:
...@@ -53,6 +53,6 @@ repos: ...@@ -53,6 +53,6 @@ repos:
- "--project" - "--project"
- "clients/python/duniterpy" - "clients/python/duniterpy"
- repo: https://github.com/executablebooks/mdformat - repo: https://github.com/executablebooks/mdformat
rev: 0.7.21 rev: 0.7.22
hooks: hooks:
- id: mdformat - id: mdformat
...@@ -124,7 +124,7 @@ def handshake( ...@@ -124,7 +124,7 @@ def handshake(
def generate_ws2p_endpoint( def generate_ws2p_endpoint(
bma_endpoint: Union[str, BMAEndpoint, SecuredBMAEndpoint] bma_endpoint: Union[str, BMAEndpoint, SecuredBMAEndpoint],
) -> WS2PEndpoint: ) -> WS2PEndpoint:
""" """
Retrieve WS2P endpoints from BMA peering Retrieve WS2P endpoints from BMA peering
......
...@@ -30,7 +30,7 @@ END_MESSAGE_HEADER = "-----END DUNITER MESSAGE-----" ...@@ -30,7 +30,7 @@ END_MESSAGE_HEADER = "-----END DUNITER MESSAGE-----"
BEGIN_SIGNATURE_HEADER = "-----BEGIN DUNITER SIGNATURE-----" BEGIN_SIGNATURE_HEADER = "-----BEGIN DUNITER SIGNATURE-----"
END_SIGNATURE_HEADER = "-----END DUNITER SIGNATURE-----" END_SIGNATURE_HEADER = "-----END DUNITER SIGNATURE-----"
HEADER_PREFIX = "-----" HEADER_PREFIX = "-----"
DASH_ESCAPE_PREFIX = "\x2D\x20" DASH_ESCAPE_PREFIX = "\x2d\x20"
# Version field value # Version field value
libnacl_version = importlib.metadata.version("libnacl") libnacl_version = importlib.metadata.version("libnacl")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment