Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6c92c5a

Browse files
pre-commit-ci[bot]cclauss
andauthored
[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](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 <cclauss@me.com>
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /