requirements.txt: Unpin numpy (#2287) · zinating/algorithms-python@1fb1fdd · GitHub
Skip to content

Commit 1fb1fdd

Browse files
cclaussgithub-actions
andauthored
requirements.txt: Unpin numpy (TheAlgorithms#2287)
* requirements.txt: Unpin numpy * fixup! Format Python code with psf/black push * Less clutter * fixup! Format Python code with psf/black push Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
1 parent f0d7879 commit 1fb1fdd

4 files changed

Lines changed: 29 additions & 25 deletions

File tree

graphs/karger.py

Lines changed: 19 additions & 15 deletions

other/scoring_algorithm.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'''
1+
"""
22
developed by: markmelnic
33
original repo: https://github.com/markmelnic/Scoring-Algorithm
44
@@ -23,17 +23,17 @@
2323
2424
>>> procentual_proximity([[20, 60, 2012],[23, 90, 2015],[22, 50, 2011]], [0, 0, 1])
2525
[[20, 60, 2012, 2.0], [23, 90, 2015, 1.0], [22, 50, 2011, 1.3333333333333335]]
26-
'''
26+
"""
2727

2828

29-
def procentual_proximity(source_data : list, weights : list) -> list:
29+
def procentual_proximity(source_data: list, weights: list) -> list:
3030

31-
'''
31+
"""
3232
weights - int list
3333
possible values - 0 / 1
3434
0 if lower values have higher weight in the data set
3535
1 if higher values have higher weight in the data set
36-
'''
36+
"""
3737

3838
# getting data
3939
data_lists = []

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ flake8
55
keras
66
matplotlib
77
mypy
8-
numpy>=1.17.4
8+
numpy
99
opencv-python
1010
pandas
1111
pillow

web_programming/world_covid19_stats.py

Lines changed: 4 additions & 4 deletions

0 commit comments

Comments
 (0)