isort --profile black --recursive . by cclauss · Pull Request #2170 · TheAlgorithms/Python · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/autoblack.yml
4 changes: 2 additions & 2 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ jobs:
SKIP="./.*,./other/dictionary.txt,./other/words,./project_euler/problem_22/p022_names.txt"
codespell -L ans,fo,hist,iff,secant,tim --skip=$SKIP --quiet-level=2
- name: Codespell comment
if: ${{ failure() }}
uses: plettich/python_codespell_action@master
if: ${{ failure() }}
uses: plettich/python_codespell_action@master
2 changes: 1 addition & 1 deletion dynamic_programming/max_non_adjacent_sum.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Video Explaination: https://www.youtube.com/watch?v=6w60Zi1NtL8&feature=emb_logo
# Video Explanation: https://www.youtube.com/watch?v=6w60Zi1NtL8&feature=emb_logo

from typing import List

Expand Down
2 changes: 1 addition & 1 deletion dynamic_programming/minimum_cost_path.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Youtube Explaination: https://www.youtube.com/watch?v=lBRtnuxg-gU
# Youtube Explanation: https://www.youtube.com/watch?v=lBRtnuxg-gU

from typing import List

Expand Down
2 changes: 1 addition & 1 deletion graphs/connected_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

def dfs(graph: dict, vert: int, visited: list) -> list:
"""
Use depth first search to find all vertexes
Use depth first search to find all vertices
being in the same component as initial vertex
>>> dfs(test_graph_1, 0, 5 * [False])
[0, 1, 3, 2]
Expand Down
6 changes: 3 additions & 3 deletions machine_learning/k_means_clust.py