Skip to content

Commit

Permalink
Add arg for Black, add CI badge to README
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacCheng9 committed Feb 4, 2024
1 parent 447e4e8 commit dcd300f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:

- name: Run Python code formatting with Black
uses: lgeiger/black-action@v1.0.1
with:
args: "."

- name: Commit changes made by Black
uses: stefanzweifel/git-auto-commit-action@v5
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Boruvka's Algorithm

[![code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Test](https://github.com/IsaacCheng9/boruvkas-algorithm/actions/workflows/test.yml/badge.svg)](https://github.com/IsaacCheng9/boruvkas-algorithm/actions/workflows/test.yml)

An implementation of Boruvka's algorithm to find a minimum spanning tree in a graph.

[Link to narrated video demonstration on YouTube.](https://www.youtube.com/watch?v=n5LNVobuBNU)
Expand Down

0 comments on commit dcd300f

Please sign in to comment.