[pre-commit.ci] pre-commit autoupdate (#12542)

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.2 → v0.9.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.2...v0.9.3)
- [github.com/codespell-project/codespell: v2.3.0 → v2.4.0](https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.0)

* Update trifid_cipher.py

* Update pyproject.toml

* Update trifid_cipher.py

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
pre-commit-ci[bot]
2025-01-27 22:05:20 +01:00
committed by GitHub
parent 13e4d3e76c
commit 6c92c5a539
3 changed files with 5 additions and 5 deletions

View File

@ -88,7 +88,7 @@ def __prepare(
...
KeyError: 'Length of alphabet has to be 27.'
Testing with punctuations that are not in the given alphabet
Testing with punctuation not in the given alphabet
>>> __prepare('am i a boy?','abCdeFghijkLmnopqrStuVwxYZ+')
Traceback (most recent call last):
@ -128,7 +128,7 @@ def encrypt_message(
encrypt_message
===============
Encrypts a message using the trifid_cipher. Any punctuatuions that
Encrypts a message using the trifid_cipher. Any punctuatuion chars that
would be used should be added to the alphabet.
PARAMETERS