diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 483ee40..ff14706 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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] diff --git a/chapters/intro/installing.md b/chapters/intro/installing.md index 613530a..5fbbf57 100644 --- a/chapters/intro/installing.md +++ b/chapters/intro/installing.md @@ -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! diff --git a/chapters/intro/newcmake.md b/chapters/intro/newcmake.md index df5f635..49be35d 100644 --- a/chapters/intro/newcmake.md +++ b/chapters/intro/newcmake.md @@ -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 diff --git a/examples/extended-project/README.md b/examples/extended-project/README.md index 27eef25..26b90f4 100644 --- a/examples/extended-project/README.md +++ b/examples/extended-project/README.md @@ -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.