From 75a8187cfc7eebd0edb647e4b1444c7b0b0e3b1c Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Tue, 21 May 2024 17:12:38 +0200 Subject: [PATCH] Added black check to CI --- .github/workflows/black.yml | 15 +++++++++++++++ 1 file changed, 15 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..6d5aa97 --- /dev/null +++ b/.github/workflows/black.yml @@ -0,0 +1,15 @@ +name: Black + +on: [pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v5 + with: + python-version: '3.12' # 3.11 needed for black's use_pyproject + - uses: psf/black@stable + with: + use_pyproject: true