Skip to content

Commit 41cf904

Browse files
committed
fix readme & fix tests
1 parent 90ed7e7 commit 41cf904

File tree

5 files changed

+26
-136
lines changed

5 files changed

+26
-136
lines changed

.travis.yml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,8 @@ matrix:
1212
- python: 3.6
1313
env: TOX_ENV=py36
1414
install:
15-
- pip install -r tests/test_requirements.txt
16-
before_script:
17-
# stop the build if there are Python syntax errors or undefined names
18-
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
19-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
20-
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
15+
- pip install codecov
2116
script:
22-
- pip3 install -e .
23-
- tox -e $TOX_ENV
24-
# Check python uninstall package
25-
- pip3 uninstall -y algorithms
17+
- coverage run
2618
notifications:
2719
email: false
28-
29-
30-
language: python
31-
32-
python:
33-
- "3.3"
34-
- "3.4"
35-
36-
install:
37-
- pip install codecov
38-
39-
script:
40-
- coverage run test.py
41-
42-
notifications:
43-
email: false

docs/readme.md

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,24 @@
11
<div align="center">
2-
<a href="https://pypi.org/project/allalgorithms"><img src="https://cdn.abranhe.com/projects/algorithms/logo.svg" width="30%"></a>
2+
<a href="https://pypi.org/project/allalgorithms"><img src="https://cdn.abranhe.com/projects/algorithms/logo.svg" width="30%">
3+
</a>
34
<br>
45
<br>
56
<br>
67
<br>
78
The All ▲lgorithms Python library
89
<br>
910
<br>
10-
</p>
11-
12-
[![All Algorithms Badge][1]][2]
13-
[![Travis][travis-img]][travis-link]
14-
[![License][license-img]][license-link]
15-
[![pypi][pypi]][pypi-link]
16-
17-
<br>
18-
<br>
19-
<br>
20-
<br>
11+
</div>
2112

22-
[`python.allalgorithms.com`](https://python.allalgorithms.com)
13+
<p align="center">
14+
<a href="https://travis-ci.org/abranhe/python-lib"><img src="https://img.shields.io/travis/abranhe/python-lib.svg?logo=travis" /></a>
15+
<a href="https://github.com/abranhe/python-lib/blob/master/license"><img src="https://img.shields.io/github/license/abranhe/python-lib.svg" /></a>
16+
<a href="https://github.com/allalgorithms"><img src="https://cdn.abranhe.com/projects/algorithms/badge.svg"/></a>
17+
<a href="https://pypi.org/project/allalgorithms"><img src="https://img.shields.io/pypi/v/allalgorithms.svg"/></a>
18+
</p>
2319

20+
<div align="center">
21+
<a src="https://python.allalgorithms.com"><code>python.allalgorithms.com</code></a>
2422
</div>
2523

2624
# Why?
@@ -30,6 +28,8 @@
3028
- Actively maintained
3129
- Because All Algorithms should easy to use in Python
3230

31+
Read the detailed documentation at [python.allalgorithms.com](https://python.allalgorithms.com) or see [Tree](#tree).
32+
3333
## Install
3434

3535
```
@@ -78,13 +78,6 @@ print(binary_search(arr, 3))
7878
[2]: https://github.com/abranhe/python-lib
7979
[3]: https://avatars3.githubusercontent.com/u/21347264?s=50
8080
[4]: https://github.com/abranhe
81-
[5]: https://github.com/abranhe/python-lib/blob/master/LICENSE
82-
[travis-link]: https://travis-ci.org/abranhe/python-lib
83-
[travis-img]: https://img.shields.io/travis/abranhe/python-lib.svg?logo=travis
84-
[license-link]: https://github.com/abranhe/python-lib/blob/master/LICENSE
85-
[license-img]: https://img.shields.io/github/license/abranhe/python-lib.svg
86-
[pypi]: https://img.shields.io/pypi/v/allalgorithms.svg
87-
[pypi-link]: https://pypi.org/project/allalgorithms
8881
<!-------------------Markdown Images Links ---------------------------------->
8982

9083
<div align="center">

readme.md

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,24 @@
11
<div align="center">
2-
<a href="https://pypi.org/project/allalgorithms"><img src="https://cdn.abranhe.com/projects/algorithms/logo.svg" width="30%"></a>
2+
<a href="https://pypi.org/project/allalgorithms"><img src="https://cdn.abranhe.com/projects/algorithms/logo.svg" width="30%">
3+
</a>
34
<br>
45
<br>
56
<br>
67
<br>
78
The All ▲lgorithms Python library
89
<br>
910
<br>
10-
</p>
11-
12-
[![All Algorithms Badge][1]][2]
13-
[![Travis][travis-img]][travis-link]
14-
[![License][license-img]][license-link]
15-
[![pypi][pypi]][pypi-link]
16-
17-
<br>
18-
<br>
19-
<br>
20-
<br>
11+
</div>
2112

22-
[`python.allalgorithms.com`](https://python.allalgorithms.com)
13+
<p align="center">
14+
<a href="https://travis-ci.org/abranhe/python-lib"><img src="https://img.shields.io/travis/abranhe/python-lib.svg?logo=travis" /></a>
15+
<a href="https://github.com/abranhe/python-lib/blob/master/license"><img src="https://img.shields.io/github/license/abranhe/python-lib.svg" /></a>
16+
<a href="https://github.com/allalgorithms"><img src="https://cdn.abranhe.com/projects/algorithms/badge.svg"/></a>
17+
<a href="https://pypi.org/project/allalgorithms"><img src="https://img.shields.io/pypi/v/allalgorithms.svg"/></a>
18+
</p>
2319

20+
<div align="center">
21+
<a src="https://python.allalgorithms.com"><code>python.allalgorithms.com</code></a>
2422
</div>
2523

2624
# Why?
@@ -80,13 +78,6 @@ print(binary_search(arr, 3))
8078
[2]: https://github.com/abranhe/python-lib
8179
[3]: https://avatars3.githubusercontent.com/u/21347264?s=50
8280
[4]: https://github.com/abranhe
83-
[5]: https://github.com/abranhe/python-lib/blob/master/LICENSE
84-
[travis-link]: https://travis-ci.org/abranhe/python-lib
85-
[travis-img]: https://img.shields.io/travis/abranhe/python-lib.svg?logo=travis
86-
[license-link]: https://github.com/abranhe/python-lib/blob/master/LICENSE
87-
[license-img]: https://img.shields.io/github/license/abranhe/python-lib.svg
88-
[pypi]: https://img.shields.io/pypi/v/allalgorithms.svg
89-
[pypi-link]: https://pypi.org/project/allalgorithms
9081
<!-------------------Markdown Images Links ---------------------------------->
9182

9283
<div align="center">

tests/requirements.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

tox.ini

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy