Python/other
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
..
anagrams.py Fix ResourceWarning: unclosed file (#681) 2019-01-08 16:59:23 +08:00
binary_exponentiation_2.py Binary Exponentiation for Multiplication 2017-10-08 13:10:05 +05:30
binary_exponentiation.py Update binary_exponentiation.py 2017-10-08 13:12:33 +05:30
detecting_english_programmatically.py Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 2019-07-08 23:27:51 +08:00
dictionary.txt snake_case all the things 2018-10-19 17:14:25 -05:00
euclidean_gcd.py Modernize Python 2 code to get ready for Python 3 2017-11-25 10:23:50 +01:00
finding_Primes.py refactor 2019-05-26 21:56:10 +05:30
fischer_yates_shuffle.py snake_case all the things 2018-10-19 17:14:25 -05:00
frequency_finder.py initial 2016-08-18 18:29:10 +05:30
game_of_life.py Updated README 2019-07-06 11:11:20 +05:30
linear_congruential_generator.py snake_case all the things 2018-10-19 17:14:25 -05:00
nested_brackets.py all valid python 3 2018-10-20 14:45:08 -05:00
palindrome.py Program for finding the HCF,LCM and Palindrome using and recursion and non recursion 2018-11-23 22:21:07 +05:30
password_generator.py Simplied password_generator.py (#968) 2019-07-07 17:17:38 +02:00
primelib.py Change Declaration of Var 'j' to None (#921) 2019-06-30 12:41:26 +08:00
sierpinski_triangle.py Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 2019-07-08 23:27:51 +08:00
tower_of_hanoi.py Travis CI: Run black, doctest, flake8, mypy, and pytest (#964) 2019-07-08 23:27:51 +08:00
two_sum.py snake_case all the things 2018-10-19 17:14:25 -05:00
word_patterns.py Modernize Python 2 code to get ready for Python 3 2017-11-25 10:23:50 +01:00
words initial 2016-09-06 18:04:53 +05:30