Skip to content

Commit aca65f8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent becfd07 commit aca65f8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

ciphers/break_vigenere.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,5 @@ def find_key_from_vigenere_cipher(ciphertext: str) -> str:
216216
# print(key)
217217

218218

219-
220219
# ---------- TESTS ----------
221220
# def test_index_of_coincidence(f)
222-

ciphers/tests/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
class TestBreakVigenere(unittest.TestCase):
66
def test_index_of_coincidence(self):
7-
dictionary = {'a': 5, 'b': 1, 'c': 4}
7+
dictionary = {"a": 5, "b": 1, "c": 4}
88
ic = index_of_coincidence(dictionary, 100)
9-
self.assertAlmostEqual(ic, 0.0032323232323232)
9+
self.assertAlmostEqual(ic, 0.0032323232323232)

0 commit comments

Comments
 (0)