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