Get clang-format from PyPI and version pre-commit hook

This commit is contained in:
Chris Burr 2022-02-01 19:49:25 +01:00
parent 5961d76afd
commit 01a336c0c1
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ jobs:
- name: Install dependencies
shell: pwsh
run: |
conda install clang clang-tools=11.1.0 pre-commit
conda install pre-commit
- name: Conda info
shell: pwsh
run: |

View File

@ -40,8 +40,8 @@ repos:
- flake8-builtins==1.5.3
- flake8-bugbear==22.1.11
- flake8-isort==4.1.1
- repo: https://github.com/bmorcos/pre-commit-hooks-cpp
rev: master
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v11.1.0
hooks:
- id: clang-format
args: [--style=file]