forked from TheAlgorithms/Python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from TheAlgorithms/master
adding jaccard similarity (TheAlgorithms#1270)
- Loading branch information
Showing
411 changed files
with
20,280 additions
and
4,580 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# These are supported funding model platforms | ||
|
||
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
patreon: # Replace with a single Patreon username | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: # Replace with a single Ko-fi username | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
liberapay: TheAlgorithms | ||
issuehunt: # Replace with a single IssueHunt username | ||
otechie: # Replace with a single Otechie username | ||
custom: ['http://paypal.me/TheAlgorithms/1000', 'https://donorbox.org/thealgorithms'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Number of days of inactivity before an issue becomes stale | ||
daysUntilStale: 30 | ||
# Number of days of inactivity before a stale issue is closed | ||
daysUntilClose: 7 | ||
# Issues with these labels will never be considered stale | ||
exemptLabels: | ||
- bug | ||
- help wanted | ||
- OK to merge | ||
# Label to use when marking an issue as stale | ||
staleLabel: wontfix | ||
# Comment to post when marking an issue as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
# Comment to post when closing a stale issue. Set to `false` to disable | ||
closeComment: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,16 @@ | ||
language: python | ||
dist: xenial # required for Python >= 3.7 | ||
python: 3.7 | ||
cache: pip | ||
python: | ||
- 2.7 | ||
- 3.6 | ||
#- nightly | ||
#- pypy | ||
#- pypy3 | ||
matrix: | ||
allow_failures: | ||
- python: nightly | ||
- python: pypy | ||
- python: pypy3 | ||
install: | ||
#- pip install -r requirements.txt | ||
- pip install flake8 # pytest # add another testing frameworks later | ||
before_install: pip install --upgrade pip setuptools | ||
install: pip install -r requirements.txt | ||
before_script: | ||
# stop the build if there are Python syntax errors or undefined names | ||
- flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | ||
- black --check . || true | ||
- flake8 . --count --select=E9,F4,F63,F7,F82 --show-source --statistics | ||
script: | ||
- true # pytest --capture=sys # add other tests here | ||
notifications: | ||
on_success: change | ||
on_failure: change # `always` will be the setting once code changes slow down | ||
- scripts/validate_filenames.py # no uppercase, no spaces, in a directory | ||
- mypy --ignore-missing-imports . | ||
- pytest . --doctest-modules | ||
after_success: | ||
- scripts/build_directory_md.py > DIRECTORY.md | ||
- cat DIRECTORY.md |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.