1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-30 12:43:52 +00:00

chore: use PyPI clang-format package, pinned (#647)

* chore: use PyPI clang-format package, pinned

* style: pre-commit.ci fixes

* ci: drop unneeded job

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Henry Schreiner 2021-09-29 06:15:48 -04:00 committed by GitHub
parent 81b092e085
commit 3b95b94406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 31 deletions

View File

@ -9,14 +9,6 @@ on:
- master
jobs:
pre-commit:
name: Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/action@v2.0.3
cuda-build:
name: CUDA build only
runs-on: ubuntu-latest

View File

@ -1,8 +1,6 @@
ci:
autoupdate_commit_msg: "chore(deps): pre-commit.ci autoupdate"
autofix_commit_msg: "style: pre-commit.ci fixes"
skip:
- docker-clang-format
repos:
@ -23,17 +21,10 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: local
- repo: https://github.com/ssciwr/clang-format-hook
rev: v12.0.1
hooks:
- id: docker-clang-format
name: Docker Clang Format
language: docker_image
types:
- c++
entry: unibeautify/clang-format:latest
args:
- -style=file
- -i
- id: clang-format
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13