From 92c6d3dedc0437aa5ca14d255bd114f072d6bed8 Mon Sep 17 00:00:00 2001 From: Mattijn van Hoek Date: Fri, 27 Oct 2023 21:10:26 +0200 Subject: [PATCH] update GA lint workflow --- .github/workflows/lint.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4542c4387..cd9eff7ae 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,7 +5,7 @@ on: [push, pull_request] jobs: build: runs-on: ubuntu-latest - name: black-ruff-mypy + name: ruff-mypy steps: - uses: actions/checkout@v3 - name: Set up Python 3.10 @@ -17,13 +17,13 @@ jobs: run: | python -m pip install --upgrade pip pip install .[dev] - - name: Check formatting with black - run: | - black --diff --color . - black --check . - name: Lint with ruff run: | - ruff check . + ruff check . + - name: Check formatting with ruff + run: | + ruff format --diff . + ruff format --check . - name: Lint with mypy run: | mypy altair tests