From 9596e4723326f26b737a58007a0162c7a157f3e6 Mon Sep 17 00:00:00 2001 From: takam5f2 Date: Fri, 12 May 2023 19:02:56 +0000 Subject: [PATCH] chore: sync files Signed-off-by: GitHub --- .clang-format | 1 + .github/workflows/pre-commit.yaml | 5 ----- .pre-commit-config.yaml | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.clang-format b/.clang-format index c3b72db7..b41fae91 100644 --- a/.clang-format +++ b/.clang-format @@ -4,6 +4,7 @@ BasedOnStyle: Google AccessModifierOffset: -2 AlignAfterOpenBracket: AlwaysBreak +AllowShortFunctionsOnASingleLine: InlineOnly BraceWrapping: AfterClass: true AfterFunction: true diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index bda722c8..b231dbda 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -20,11 +20,6 @@ jobs: with: ref: ${{ github.event.pull_request.head.ref }} - - name: Set git config - uses: autowarefoundation/autoware-github-actions/set-git-config@v1 - with: - token: ${{ steps.generate-token.outputs.token }} - - name: Run pre-commit uses: autowarefoundation/autoware-github-actions/pre-commit@v1 with: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 645aa8e4..f1538970 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -60,7 +60,7 @@ repos: - id: isort - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 23.1.0 hooks: - id: black args: [--line-length=100]