mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-09 07:15:54 +00:00
Add pytest-cov (#1578)
* Add pytest-cov Also added coverage report in .travis.yml file. * updating DIRECTORY.md * Sort by missing statements * sort = Cover
This commit is contained in:
parent
9a894ebc52
commit
5616fa9e62
4
.coveragerc
Normal file
4
.coveragerc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[report]
|
||||||
|
sort = Cover
|
||||||
|
omit =
|
||||||
|
.env/*
|
@ -9,6 +9,6 @@ before_script:
|
|||||||
script:
|
script:
|
||||||
- scripts/validate_filenames.py # no uppercase, no spaces, in a directory
|
- scripts/validate_filenames.py # no uppercase, no spaces, in a directory
|
||||||
- mypy --ignore-missing-imports .
|
- mypy --ignore-missing-imports .
|
||||||
- pytest . --doctest-modules
|
- pytest --doctest-modules --cov-report=term-missing:skip-covered --cov=. .
|
||||||
after_success:
|
after_success:
|
||||||
- scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md
|
- scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md
|
||||||
|
@ -521,6 +521,7 @@
|
|||||||
* [Naive String Search](https://github.com/TheAlgorithms/Python/blob/master/strings/naive_string_search.py)
|
* [Naive String Search](https://github.com/TheAlgorithms/Python/blob/master/strings/naive_string_search.py)
|
||||||
* [Rabin Karp](https://github.com/TheAlgorithms/Python/blob/master/strings/rabin_karp.py)
|
* [Rabin Karp](https://github.com/TheAlgorithms/Python/blob/master/strings/rabin_karp.py)
|
||||||
* [Remove Duplicate](https://github.com/TheAlgorithms/Python/blob/master/strings/remove_duplicate.py)
|
* [Remove Duplicate](https://github.com/TheAlgorithms/Python/blob/master/strings/remove_duplicate.py)
|
||||||
|
* [Word Occurence](https://github.com/TheAlgorithms/Python/blob/master/strings/word_occurence.py)
|
||||||
|
|
||||||
## Traversals
|
## Traversals
|
||||||
* [Binary Tree Traversals](https://github.com/TheAlgorithms/Python/blob/master/traversals/binary_tree_traversals.py)
|
* [Binary Tree Traversals](https://github.com/TheAlgorithms/Python/blob/master/traversals/binary_tree_traversals.py)
|
||||||
|
@ -9,6 +9,7 @@ opencv-python
|
|||||||
pandas
|
pandas
|
||||||
pillow
|
pillow
|
||||||
pytest
|
pytest
|
||||||
|
pytest-cov
|
||||||
requests
|
requests
|
||||||
scikit-fuzzy
|
scikit-fuzzy
|
||||||
sklearn
|
sklearn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user