diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8c0bd454805f2ba0331ab12818a3177ae254c53c..3db195fb7d2c14eeb8c7ecc530fc1d672aa53c2b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,11 @@ exclude: ^docs/ repos: - repo: https://github.com/psf/black - rev: 22.1.0 + rev: 22.3.0 hooks: - id: black - repo: https://github.com/PyCQA/isort - rev: 5.10.1 + rev: 5.12.0 hooks: - id: isort args: ["--profile", "black"] @@ -17,7 +17,7 @@ repos: - "--install-types" - "--non-interactive" - repo: https://github.com/PyCQA/pylint - rev: v2.12.2 + rev: v2.15.8 hooks: - id: pylint - repo: https://github.com/asottile/pyupgrade diff --git a/duniterpy/key/ascii_armor.py b/duniterpy/key/ascii_armor.py index 882f23f6ebc9fab0721bdc448e2cffccf6d386c7..8d30c667abb4c75a830157a6439183c68eda2468 100644 --- a/duniterpy/key/ascii_armor.py +++ b/duniterpy/key/ascii_armor.py @@ -65,14 +65,14 @@ class ParserMissingPublicKeysException(Exception): # Exception messages listed here PARSER_MISSING_SIGNING_KEY_EXCEPTION = ParserMissingSigningKeyException( - "The message is encrypted but no SigningKey " "instance is provided" + "The message is encrypted but no SigningKey instance is provided" ) PARSER_MISSING_PUBLIC_KEYS_EXCEPTION = ParserMissingPublicKeysException( - "At least one signature but no public keys " "are provided" + "At least one signature but no public keys are provided" ) MISSING_PUBLIC_KEY_AND_SIGNING_KEY_EXCEPTION = MissingPublickeyAndSigningKeyException( - "Ascii Armor Message needs a " "public key or a SigningKey but " "none are provided" + "Ascii Armor Message needs a public key or a SigningKey but none are provided" )