Python/ciphers
cclauss b7f13d991c Travis CI: Run black, doctest, flake8, mypy, and pytest (#964)
* Travis CI: Add type checking with mypy

* Create requirements.txt

* script: mypy --ignore-missing-stubs=cv2,numpy .

* Delete requirements.txt

* script: mypy --ignore-missing-imports .

* Run doctests

* Disable doctest -v other/detecting_english_programmatically.py

* Pytest

* No |

* pytest || true

* Run black doctest flake8 mypy pytest

* after_success: Build Directory.md

* Typo in filename: Dictionary.txt --> dictionary.txt'

Discovered via doctest run in #964

* python -m doctest -v

* pip install black flake8 mypy pytest

* pytest --doctest-glob='*.py'

* pytest --doctest-modules

* pytest --doctest-modules ./sorts

* pytest --doctest-modules ./ciphers ./other ./searches ./sorts ./strings || true

* if __name__ == "__main__":

* if __name__ == "__main__":

* if __name__ == '__main__':

* if __name__ == '__main__':

* if __name__ == '__main__':

* Create requirements.txt

* Update requirements.txt

* if __name__ == "__main__":

* Lose the doctests

* if __name__ == '__main__':

* Remove print-a-tuple

* doctest: Added missing spaces

* Update tabu_search.py

* The >>> are not doctests so change to >>)

* Travis CI: Run black, doctest, flake8, mypy, and pytest

* Link to the separate DIRECTORY.md file

* Update README.md
2019-07-08 23:27:51 +08:00
..
affine_cipher.py Fix DeprecationWarning: invalid escape sequence (#679) 2019-01-08 16:58:47 +08:00
Atbash.py Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 2019-07-08 23:27:51 +08:00
base16.py Added b16, b32, a85, abs, absMax, absMin 2018-11-03 12:08:13 -08:00
base32.py Added b16, b32, a85, abs, absMax, absMin 2018-11-03 12:08:13 -08:00
base64_cipher.py Editing base64, Adding average file, Editing find_lcm (#673) 2019-01-20 02:19:06 +05:30
base85.py Added b16, b32, a85, abs, absMax, absMin 2018-11-03 12:08:13 -08:00
brute_force_caesar_cipher.py all valid python 3 2018-10-20 14:45:08 -05:00
caesar_cipher.py Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 2019-07-08 23:27:51 +08:00
cryptomath_module.py Initial 2016-08-07 21:18:46 +05:30
elgamal_key_generator.py Elgamal cipher key generator code - (initial) 2018-06-12 21:21:38 +09:00
hill_cipher.py Added hill_cipher.py (#696) 2019-02-22 00:19:28 +08:00
morse_Code_implementation.py subset_generation (#326) 2019-05-26 22:07:40 +05:30
onepad_cipher.py Merge branch 'master' of https://github.com/TheAlgorithms/Python 2018-10-20 14:15:21 -05:00
playfair_cipher.py 1. typo fix {playfair_cipher.py, AVL.py} 2017-12-31 14:30:31 +05:30
prehistoric_men.txt increment 1 2018-10-19 07:48:28 -05:00
rabin_miller.py Modernize Python 2 code to get ready for Python 3 2017-11-25 10:23:50 +01:00
rot13.py Modernize Python 2 code to get ready for Python 3 2017-11-25 10:23:50 +01:00
rsa_cipher.py Fix ResourceWarning: unclosed file (#681) 2019-01-08 16:59:23 +08:00
rsa_key_generator.py Modernize Python 2 code to get ready for Python 3 2017-11-25 10:23:50 +01:00
simple_substitution_cipher.py all valid python 3 2018-10-20 14:45:08 -05:00
trafid_cipher.py Added Trafid Cipher (#746) 2019-04-04 03:27:36 +08:00
transposition_cipher_encrypt_decrypt_file.py Fix ResourceWarning: unclosed file (#681) 2019-01-08 16:59:23 +08:00
transposition_cipher.py all valid python 3 2018-10-20 14:45:08 -05:00
vigenere_cipher.py all valid python 3 2018-10-20 14:45:08 -05:00
xor_cipher.py increment 1 2018-10-19 07:48:28 -05:00