1
0
mirror of synced 2024-12-22 04:30:01 +01:00

chore(deps): update pre-commit

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
Henry Schreiner 2023-03-15 13:34:02 -04:00
parent 9bb1bc7e9f
commit a1a5ca30ab
No known key found for this signature in database
GPG Key ID: B9D0E45146A241E8
4 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
@ -21,13 +21,13 @@ repos:
additional_dependencies: [pyyaml]
- repo: https://github.com/codespell-project/codespell
rev: "v2.1.0"
rev: "v2.2.4"
hooks:
- id: codespell
args: ["-L", "ba"]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v2.6.2"
rev: "v3.0.0-alpha.6"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]

View File

@ -155,7 +155,7 @@ gitbook $ pip install cmake
And as long as a binary exists for your system, you'll be up-and-running almost immediately. If a binary doesn't exist, it will try to use KitWare's `scikit-build` package to build, and will require an older copy of CMake to build. So only use this system if binaries exist, which is most of the time.
This has the benefit of respecting your current virtual environment, as well. It really shines when placed in a `pyproject.toml` file, however - it will only be installed to build your package, and will not remain afterwords! Fantastic.
This has the benefit of respecting your current virtual environment, as well. It really shines when placed in a `pyproject.toml` file, however - it will only be installed to build your package, and will not remain afterwards! Fantastic.
This also, of course, works with pipx. So you can even use `pipx run cmake` to run CMake in a disposable virtual environment, without any setup - and this works out-of-the-box on GitHub Actions, since `pipx` is a supported package manager there!

View File

@ -5,7 +5,7 @@ This is an abbreviated version of the CMake changelog with just the highlights f
## [CMake in development][cmake master]: WIP
- FindCUDA fully deprecated, use CUDA language and FindCUDAToolkit
- C++ Modules extensions (`.ccm`, ` .cxxm``, `.c++m`) are treated as C++
- C++ Modules extensions (`.ccm`, `.cxxm``, `.c++m`) are treated as C++
## [CMake 3.26][]: Logging & Python

View File

@ -41,4 +41,4 @@ cmake -S . -B xbuild -GXcode
cmake --open xbuild
```
The CMakeLists show off several useful design patters for CMake.
The CMakeLists show off several useful design patterns for CMake.