Skip to content

Bump black from 21.10b0 to 24.3.0 in /tools/lint #463

Bump black from 21.10b0 to 24.3.0 in /tools/lint

Bump black from 21.10b0 to 24.3.0 in /tools/lint #463

Workflow file for this run

name: Reviewdog
on:
pull_request:
branches:
- master
permissions:
contents: read
jobs:
bazel:
permissions:
checks: write # for reviewdog/action-suggester to report issues using checks
contents: read # for actions/checkout to fetch code
name: Bazel Buildifier
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- run: |
sudo python3 -m pip install -U numpy pip black pyupgrade
bazel run -s --verbose_failures --experimental_repo_remote_exec //tools/lint:lint -- bazel
- uses: reviewdog/action-suggester@45ee3515eafbecd5fc154cd8a74e0de93ee2b28e # v1.10.0
black:
permissions:
checks: write # for reviewdog/action-suggester to report issues using checks
contents: read # for actions/checkout to fetch code
name: Python Black
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- run: |
sudo python3 -m pip install -U numpy pip black pyupgrade
bazel run -s --verbose_failures --experimental_repo_remote_exec //tools/lint:lint -- black
- uses: reviewdog/action-suggester@45ee3515eafbecd5fc154cd8a74e0de93ee2b28e # v1.10.0
clang:
permissions:
checks: write # for reviewdog/action-suggester to report issues using checks
contents: read # for actions/checkout to fetch code
name: Clang Format
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- run: |
sudo python3 -m pip install -U numpy pip black pyupgrade
bazel run -s --verbose_failures --experimental_repo_remote_exec //tools/lint:lint -- clang
- uses: reviewdog/action-suggester@45ee3515eafbecd5fc154cd8a74e0de93ee2b28e # v1.10.0
pyupgrade:
permissions:
checks: write # for reviewdog/action-suggester to report issues using checks
contents: read # for actions/checkout to fetch code
name: Python Pyupgrade
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- run: |
sudo python3 -m pip install -U numpy pip black pyupgrade
bazel run -s --verbose_failures --experimental_repo_remote_exec //tools/lint:lint -- pyupgrade
- uses: reviewdog/action-suggester@45ee3515eafbecd5fc154cd8a74e0de93ee2b28e # v1.10.0