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 |
|
PatOnTheBack
|
26df2aab1e
|
Removed Unused import sys (#922)
I removed `import sys` because it is not used in the program.
This addresses a [recommendation from lgtm](66c4afbd0f/files/ciphers/caesar_cipher.py )
|
2019-07-06 23:35:12 +08:00 |
|
Abhi Kampurath
|
ad68eed73e
|
Update caesar_cipher.py (#702)
|
2019-02-19 23:26:09 +08:00 |
|
Harshil
|
4e0184a41d
|
Update caesar_cipher.py
Removed unnecessary recursion and updated code!
|
2018-10-27 14:14:35 +02:00 |
|
Harshil
|
2638d57c71
|
Update caesar_cipher.py
|
2018-10-24 21:13:42 +02:00 |
|
Alex Brown
|
ea2ddaaf6a
|
all valid python 3
|
2018-10-20 14:45:08 -05:00 |
|
Parth Shandilya
|
5d1f72604d
|
Improved Code and removed Warnings (#483)
|
2018-10-19 14:00:31 +05:30 |
|
Harshil
|
13617225ca
|
small improvements!
|
2018-05-28 23:25:48 +02:00 |
|
PyDevthon
|
f1fe458356
|
Updated_caesar_cipher.py
Updated
|
2018-05-28 19:16:02 +05:30 |
|
cclauss
|
4e06949072
|
Modernize Python 2 code to get ready for Python 3
|
2017-11-25 10:23:50 +01:00 |
|
Henocks
|
43513803f0
|
Slight Performance/Visual Update
|
2016-11-09 23:17:04 +09:00 |
|
Harshil Darji
|
f68690f296
|
Added test cases
|
2016-08-02 23:16:55 +05:30 |
|
Harshil Darji
|
005fb0c5a1
|
File rename
|
2016-08-01 21:33:08 +05:30 |
|