Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5f4da5d

Browse files
cclaussgithub-actions
and
github-actions
authored
isort --profile black . (TheAlgorithms#2181)
* updating DIRECTORY.md* isort --profile black .* Black after* updating DIRECTORY.mdCo-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
1 parentcd3e8f9 commit5f4da5d

File tree

80 files changed

+123
-127
lines changed

Some content is hidden

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

80 files changed

+123
-127
lines changed

‎.github/workflows/autoblack.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
if:failure()
1818
run:|
1919
black .
20-
isort --profile black--recursive.
20+
isort --profile black .
2121
git config --global user.name github-actions
2222
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
2323
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY

‎DIRECTORY.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@
253253
*[Finding Bridges](https://github.com/TheAlgorithms/Python/blob/master/graphs/finding_bridges.py)
254254
*[Frequent Pattern Graph Miner](https://github.com/TheAlgorithms/Python/blob/master/graphs/frequent_pattern_graph_miner.py)
255255
*[G Topological Sort](https://github.com/TheAlgorithms/Python/blob/master/graphs/g_topological_sort.py)
256+
*[Gale Shapley Bigraph](https://github.com/TheAlgorithms/Python/blob/master/graphs/gale_shapley_bigraph.py)
256257
*[Graph List](https://github.com/TheAlgorithms/Python/blob/master/graphs/graph_list.py)
257258
*[Graph Matrix](https://github.com/TheAlgorithms/Python/blob/master/graphs/graph_matrix.py)
258259
*[Graphs Floyd Warshall](https://github.com/TheAlgorithms/Python/blob/master/graphs/graphs_floyd_warshall.py)
@@ -596,6 +597,7 @@
596597

597598
##Searches
598599
*[Binary Search](https://github.com/TheAlgorithms/Python/blob/master/searches/binary_search.py)
600+
*[Double Linear Search](https://github.com/TheAlgorithms/Python/blob/master/searches/double_linear_search.py)
599601
*[Fibonacci Search](https://github.com/TheAlgorithms/Python/blob/master/searches/fibonacci_search.py)
600602
*[Hill Climbing](https://github.com/TheAlgorithms/Python/blob/master/searches/hill_climbing.py)
601603
*[Interpolation Search](https://github.com/TheAlgorithms/Python/blob/master/searches/interpolation_search.py)

‎arithmetic_analysis/in_static_equilibrium.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
mypy : passed
77
"""
88

9-
fromnumpyimportarray,cos,sin,radians,cross# type: ignore
109
fromtypingimportList
1110

11+
fromnumpyimportarray,cos,cross,radians,sin# type: ignore
12+
1213

1314
defpolar_force(
1415
magnitude:float,angle:float,radian_mode:bool=False

‎arithmetic_analysis/newton_raphson.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# Author: Syed Haseeb Shah (github.com/QuantumNovice)
33
# The Newton-Raphson method (also known as Newton's method) is a way to
44
# quickly find a good approximation for the root of a real-valued function
5-
65
fromdecimalimportDecimal
76
frommathimport*# noqa: F401, F403
7+
88
fromsympyimportdiff
99

1010

‎ciphers/hill_cipher.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
https://www.youtube.com/watch?v=4RhLNDqcjpA
3636
3737
"""
38-
3938
importstring
39+
4040
importnumpy
4141

4242

‎ciphers/playfair_cipher.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
importstring
21
importitertools
2+
importstring
33

44

55
defchunker(seq,size):

‎compression/burrows_wheeler.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
original character. The BWT is thus a "free" method of improving the efficiency
1111
of text compression algorithms, costing only some extra computation.
1212
"""
13-
fromtypingimportList,Dict
13+
fromtypingimportDict,List
1414

1515

1616
defall_rotations(s:str)->List[str]:

‎computer_vision/harriscorner.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
importnumpyasnp
21
importcv2
2+
importnumpyasnp
33

44
"""
55
Harris Corner Detector

‎data_structures/binary_tree/non_recursive_segment_tree.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
>>> st.query(0, 2)
3636
[1, 2, 3]
3737
"""
38-
fromtypingimportList,Callable,TypeVar
38+
fromtypingimportCallable,List,TypeVar
3939

4040
T=TypeVar("T")
4141

‎data_structures/binary_tree/segment_tree_other.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
allowing queries to be done later in log(N) time
44
function takes 2 values and returns a same type value
55
"""
6-
7-
fromqueueimportQueue
86
fromcollections.abcimportSequence
7+
fromqueueimportQueue
98

109

1110
classSegmentTreeNode(object):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp