Skip to content

Commit d9f5fe2

Browse files
committed
Merge branch 'master' of git://github.com/TheAlgorithms/Python
2 parents abd5cfc + 05c9a05 commit d9f5fe2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2159
-649
lines changed

Diff for: .gitignore

+25-9
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ __pycache__/
77
*.so
88

99
# Distribution / packaging
10-
.vscode/
1110
.Python
12-
env/
1311
build/
1412
develop-eggs/
1513
dist/
@@ -21,9 +19,11 @@ lib64/
2119
parts/
2220
sdist/
2321
var/
22+
wheels/
2423
*.egg-info/
2524
.installed.cfg
2625
*.egg
26+
MANIFEST
2727

2828
# PyInstaller
2929
# Usually these files are written by a python script from a template
@@ -43,8 +43,9 @@ htmlcov/
4343
.cache
4444
nosetests.xml
4545
coverage.xml
46-
*,cover
46+
*.cover
4747
.hypothesis/
48+
.pytest_cache/
4849

4950
# Translations
5051
*.mo
@@ -53,6 +54,7 @@ coverage.xml
5354
# Django stuff:
5455
*.log
5556
local_settings.py
57+
db.sqlite3
5658

5759
# Flask stuff:
5860
instance/
@@ -67,7 +69,7 @@ docs/_build/
6769
# PyBuilder
6870
target/
6971

70-
# IPython Notebook
72+
# Jupyter Notebook
7173
.ipynb_checkpoints
7274

7375
# pyenv
@@ -76,18 +78,32 @@ target/
7678
# celery beat schedule file
7779
celerybeat-schedule
7880

79-
# dotenv
80-
.env
81+
# SageMath parsed files
82+
*.sage.py
8183

82-
# virtualenv
84+
# Environments
85+
.env
86+
.venv
87+
env/
8388
venv/
8489
ENV/
90+
env.bak/
91+
venv.bak/
8592

8693
# Spyder project settings
8794
.spyderproject
95+
.spyproject
8896

8997
# Rope project settings
9098
.ropeproject
91-
.idea
99+
100+
# mkdocs documentation
101+
/site
102+
103+
# mypy
104+
.mypy_cache/
105+
92106
.DS_Store
93-
.try
107+
.idea
108+
.try
109+
.vscode/

Diff for: .travis.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,9 @@ before_script:
88
- black --check . || true
99
- flake8 . --count --select=E9,F401,F63,F7,F82 --show-source --statistics
1010
script:
11-
- scripts/validate_filenames.py # no uppercase and no spaces
11+
- scripts/validate_filenames.py # no uppercase, no spaces, in a directory
1212
- mypy --ignore-missing-imports .
1313
- pytest . --doctest-modules
14-
--ignore=file_transfer_protocol/ftp_send_receive.py
15-
--ignore=file_transfer_protocol/ftp_client_server.py
16-
--ignore=machine_learning/linear_regression.py
17-
--ignore=machine_learning/perceptron.py
18-
--ignore=machine_learning/random_forest_classification/random_forest_classification.py
19-
--ignore=machine_learning/random_forest_regression/random_forest_regression.py
2014
after_success:
2115
- scripts/build_directory_md.py > DIRECTORY.md
2216
- cat DIRECTORY.md

0 commit comments

Comments
 (0)