From c80162e785bd8f23c2f18cf873cb10dd6072dfa3 Mon Sep 17 00:00:00 2001 From: Jeff Rhoades <37990507+rhoadesScholar@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:11:24 -0400 Subject: [PATCH] Create black.yml --- .github/workflows/black.yml | 17 +++++++++++++++++ 1 file changed, 17 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..7d7ea02 --- /dev/null +++ b/.github/workflows/black.yml @@ -0,0 +1,17 @@ +name: Python Black + +on: [push, pull_request] + +jobs: + lint: + name: Python Lint + runs-on: ubuntu-latest + steps: + - name: Setup Python + uses: actions/setup-python@v5 + - name: Setup checkout + uses: actions/checkout@master + - name: Lint with Black + run: | + pip install black + black --diff --check src/cellmap_data tests