From 33275f13a2e57ada40ea688257ac15021659e27d Mon Sep 17 00:00:00 2001 From: leafspark <78000825+leafspark@users.noreply.github.com> Date: Sun, 4 Aug 2024 21:04:21 -0700 Subject: [PATCH] ci: add formatting check --- .github/workflows/black.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/black.yml diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml new file mode 100644 index 0000000..192eb14 --- /dev/null +++ b/.github/workflows/black.yml @@ -0,0 +1,14 @@ +name: Black + +on: [push, pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + - uses: psf/black@stable + with: + options: "--check --verbose" + src: "./src"