From dcd300f29678be92f1f751b7ddfa79ce2ac82e12 Mon Sep 17 00:00:00 2001 From: Isaac Cheng <47993930+IsaacCheng9@users.noreply.github.com> Date: Sun, 4 Feb 2024 02:47:20 +0000 Subject: [PATCH] Add arg for Black, add CI badge to README --- .github/workflows/format.yml | 2 ++ README.md | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index f3321dd..7026ce1 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -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 diff --git a/README.md b/README.md index 909acd3..a75fa60 100644 --- a/README.md +++ b/README.md @@ -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)