From 2e9e6d3b2041839a8697196a22d6d962059fc119 Mon Sep 17 00:00:00 2001 From: Felipe Allegretti Date: Wed, 1 Nov 2023 16:19:21 -0300 Subject: [PATCH] Setup black and ruff linter check --- .github/workflows/{ruff.yml => check.yml} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename .github/workflows/{ruff.yml => check.yml} (70%) diff --git a/.github/workflows/ruff.yml b/.github/workflows/check.yml similarity index 70% rename from .github/workflows/ruff.yml rename to .github/workflows/check.yml index d590778..93e4e54 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/check.yml @@ -1,4 +1,4 @@ -name: Ruff +name: Linter Check on: push: branches: [ main ] @@ -6,7 +6,7 @@ on: branches: [ main ] jobs: - ruff: + check: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 @@ -15,3 +15,7 @@ jobs: run: | pip install ruff ruff check . + - name: black + run: | + pip install black + black --check .