You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(config): add warning for multiple configuration files
Detects when multiple configuration files exist (excluding pyproject.toml)
and displays a warning message identifying which file is being used.
Closes#1771
Copy file name to clipboardExpand all lines: docs/config/configuration_file.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,9 @@ The first valid configuration file found will be used. If no configuration file
23
23
!!! tip
24
24
For Python projects, it's recommended to add your Commitizen configuration to `pyproject.toml` to keep all project configuration in one place.
25
25
26
+
!!! warning "Multiple Configuration Files"
27
+
If Commitizen detects more than one configuration file in your project directory (excluding `pyproject.toml`), it will display a warning message and identify which file is being used. To avoid confusion, ensure you have only one Commitizen configuration file in your project.
28
+
26
29
## Supported Formats
27
30
28
31
Commitizen supports three configuration file formats:
0 commit comments