Skip to content

Commit 6c92c5a

Browse files
[pre-commit.ci] pre-commit autoupdate (TheAlgorithms#12542)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.2 → v0.9.3](astral-sh/ruff-pre-commit@v0.9.2...v0.9.3) - [github.com/codespell-project/codespell: v2.3.0 → v2.4.0](codespell-project/codespell@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 <[email protected]>
1 parent 13e4d3e commit 6c92c5a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ repos:
1616
- id: auto-walrus
1717

1818
- repo: https://github.com/astral-sh/ruff-pre-commit
19-
rev: v0.9.2
19+
rev: v0.9.3
2020
hooks:
2121
- id: ruff
2222
- id: ruff-format
2323

2424
- repo: https://github.com/codespell-project/codespell
25-
rev: v2.3.0
25+
rev: v2.4.0
2626
hooks:
2727
- id: codespell
2828
additional_dependencies:

ciphers/trifid_cipher.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def __prepare(
8888
...
8989
KeyError: 'Length of alphabet has to be 27.'
9090
91-
Testing with punctuations that are not in the given alphabet
91+
Testing with punctuation not in the given alphabet
9292
9393
>>> __prepare('am i a boy?','abCdeFghijkLmnopqrStuVwxYZ+')
9494
Traceback (most recent call last):
@@ -128,7 +128,7 @@ def encrypt_message(
128128
encrypt_message
129129
===============
130130
131-
Encrypts a message using the trifid_cipher. Any punctuatuions that
131+
Encrypts a message using the trifid_cipher. Any punctuatuion chars that
132132
would be used should be added to the alphabet.
133133
134134
PARAMETERS

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ lint.pylint.max-returns = 8 # default: 6
159159
lint.pylint.max-statements = 88 # default: 50
160160

161161
[tool.codespell]
162-
ignore-words-list = "3rt,ans,bitap,crate,damon,fo,followings,hist,iff,kwanza,manuel,mater,secant,som,sur,tim,toi,zar"
162+
ignore-words-list = "3rt,abd,aer,ans,bitap,crate,damon,fo,followings,hist,iff,kwanza,manuel,mater,secant,som,sur,tim,toi,zar"
163163
skip = "./.*,*.json,*.lock,ciphers/prehistoric_men.txt,project_euler/problem_022/p022_names.txt,pyproject.toml,strings/dictionary.txt,strings/words.txt"
164164

165165
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)