From 5fa542b041dee4d588cb75c5dc0fb9850494f00a Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Wed, 23 Apr 2025 13:17:00 +0200 Subject: [PATCH 1/2] Clarify how to setup `pyproject.toml` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 649436f..ddc6876 100644 --- a/README.md +++ b/README.md @@ -245,7 +245,7 @@ Also, builds on Linux and MacOS will set the C++ compiler to `g++-10`, while bui Since v1.9.0, the hooks support loading the CLI arguments from TOML files. This can be used to configure all the hooks for a particular repository using either of: -1. `pyproject.toml` +1. `pyproject.toml` (under `tool.cmake_pc_hooks` section) 2. `cmake_pc_hooks.toml` 3. TOML file specified using `--config=/path/to/file.toml` 4. Command line arguments From 34a494186f825398902028e87ae89eafa7c5f8f1 Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Wed, 23 Apr 2025 14:46:00 +0200 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 335f352..cb80b58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Repository + +- Clarify where to put the settings in `pyproject.toml` + ## [v1.9.6] - 2024-06-02 ### Changed