Python/ciphers
Hasenn 20e98fcded
Fix some warnings from LGTM (#2420)
* fix assignment of a variable to itself

* Fix unnecessary 'else' clause in loop

* formatting and redundant reasignment fix

* mark unreachable code with a TODO comment

* fix variable defined multiple times

* fix static method without static decorator

* revert unintended autoformatting

Co-authored-by: Christian Clauss <cclauss@me.com>

* revert autoformatting issue

* applied black autoformatting

Co-authored-by: Christian Clauss <cclauss@me.com>
2020-09-13 10:11:27 +02:00
..
a1z26.py Fix invalid escape sequence in binary_search_tree.py (#1920) 2020-05-01 02:17:11 +05:30
affine_cipher.py black fixes and Travis CI fixes (#2160) 2020-07-02 20:02:15 +05:30
atbash.py Update atbash cipher (doc, doctest, performance) (#2017) 2020-05-20 08:23:17 +02:00
base16.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
base32.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
base64_cipher.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
base85.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
brute_force_caesar_cipher.py pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
caesar_cipher.py Upgrades to caesar_cipher.py (#1958) 2020-05-08 07:44:07 +02:00
cryptomath_module.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
decrypt_caesar_with_chi_squared.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
deterministic_miller_rabin.py GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
diffie.py GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
elgamal_key_generator.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
enigma_machine2.py Fix some warnings from LGTM (#2420) 2020-09-13 10:11:27 +02:00
hill_cipher.py isort --profile black . (#2181) 2020-07-06 09:44:19 +02:00
mixed_keyword_cypher.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
morse_code_implementation.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
onepad_cipher.py contribution guidelines checks (#1787) 2020-03-04 13:40:28 +01:00
playfair_cipher.py isort --profile black . (#2181) 2020-07-06 09:44:19 +02:00
porta_cipher.py Porta cipher (#1550) 2019-11-04 08:45:29 +01:00
prehistoric_men.txt increment 1 2018-10-19 07:48:28 -05:00
rabin_miller.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
rot13.py autoblack: actions/checkout@v1 # Use v1, NOT v2 (#1796) 2020-03-13 09:23:38 +01:00
rsa_cipher.py Wrap lines that go beyond GitHub Editor (#1925) 2020-05-01 23:36:35 +02:00
rsa_factorization.py fix implementation errors. (#1568) 2019-11-14 20:29:54 +01:00
rsa_key_generator.py Wrap lines that go beyond GitHub Editor (#1925) 2020-05-01 23:36:35 +02:00
shuffled_shift_cipher.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
simple_keyword_cypher.py Implemented simple keyword cipher (#1589) 2019-11-23 16:52:32 +01:00
simple_substitution_cipher.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
trafid_cipher.py Improved readability (#1615) 2019-12-07 06:39:59 +01:00
transposition_cipher_encrypt_decrypt_file.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
transposition_cipher.py Travis CI: Don’t allow bare exceptions (#1734) 2020-02-07 22:02:08 +02:00
vigenere_cipher.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
xor_cipher.py Optimized recursive_bubble_sort (#2410) 2020-09-10 10:31:26 +02:00