From 923de0bb8982cd337af73f4bcddfde5f322273c1 Mon Sep 17 00:00:00 2001 From: nothing-991 Date: Wed, 31 Dec 2025 12:38:39 +0500 Subject: [PATCH 1/2] docs: clarify local vs global config precedence (#10329) --- docs/configuration.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index 33d0ecf14ab..bb4a826425c 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -35,6 +35,11 @@ Your local configuration of Poetry application is stored in the `poetry.toml` fi which is separate from `pyproject.toml`. {{% /note %}} +{{% note %}} +If a setting is defined in both `poetry.toml` (local/project) and `config.toml` (global), +the local/project configuration takes precedence over the global configuration. +{{% /note %}} + {{% warning %}} Be mindful about checking in this file into your repository since it may contain user-specific or sensitive information. {{% /note %}} From 8d0ec74a6e41e7a3fb278835cf781b76f30ad408 Mon Sep 17 00:00:00 2001 From: nothing-991 Date: Wed, 31 Dec 2025 15:40:49 +0500 Subject: [PATCH 2/2] docs: clarify local vs global config precedence (#10329) --- docs/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index bb4a826425c..eb662cbbedc 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -41,8 +41,8 @@ the local/project configuration takes precedence over the global configuration. {{% /note %}} {{% warning %}} -Be mindful about checking in this file into your repository since it may contain user-specific or sensitive information. -{{% /note %}} +Be mindful when checking in this file into your repository since it may contain user-specific or sensitive information. +{{% /warning %}} ## Listing the current configuration