René's URL Explorer Experiment


Title: feat(config): warn on unknown configuration keys by bearomorphism · Pull Request #1961 · commitizen-tools/commitizen · GitHub

Open Graph Title: feat(config): warn on unknown configuration keys by bearomorphism · Pull Request #1961 · commitizen-tools/commitizen

X Title: feat(config): warn on unknown configuration keys by bearomorphism · Pull Request #1961 · commitizen-tools/commitizen

Description: Description Closes #300. Adds a new strict_config boolean setting that controls how unknown keys inside the commitizen configuration section are handled. Default (strict_config = false) – unknown keys emit a warning so typos like update_changelog_on_bumb are surfaced without breaking existing setups. strict_config = true – the same condition raises InvalidConfigurationError (exit code INVALID_CONFIGURATION), behaving like pytest --strict-markers. This matches the direction agreed in the issue discussion (#300 (comment)): warnings by default, strict mode opt-in. Implementation Settings (commitizen/defaults.py) gains strict_config: bool and a derived KNOWN_SETTINGS_KEYS constant. BaseConfig._validate_known_keys (commitizen/config/base_config.py) computes the unknown keys, raises in strict mode, and warns otherwise. Each concrete parser (TomlConfig, JsonConfig, YAMLConfig) calls the helper with the loaded section. New tests in tests/test_conf.py cover the warning, strict-mode error, and no-op cases for all supported config formats. Added a strict_config section to docs/config/option.md. Out of scope Type validation of values – mentioned as a follow-up in the discussion. Could be done in a later PR using decli's argparse-based typing. CLI flag mirroring pytest --strict-markers. Users can set the option in the config file; a CLI flag can be added later if needed. Checklist Add tests Update documentation uv run poe format / uv run poe lint clean Existing test suite green locally on Windows

Open Graph Description: Description Closes #300. Adds a new strict_config boolean setting that controls how unknown keys inside the commitizen configuration section are handled. Default (strict_config = false) – unknown ...

X Description: Description Closes #300. Adds a new strict_config boolean setting that controls how unknown keys inside the commitizen configuration section are handled. Default (strict_config = false) – unknown ...

Opengraph URL: https://github.com/commitizen-tools/commitizen/pull/1961

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:2db3cae3-e6a7-7bb0-3cbf-24436a962574
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE2E0:6E445:39EF4:53BA5:6A634D7B
html-safe-noncefe9987655d8b90af99d67823e16528d77e2ee0734f7ec2072bd6edc6b490ab14
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkUwOjZFNDQ1OjM5RUY0OjUzQkE1OjZBNjM0RDdCIiwidmlzaXRvcl9pZCI6IjQyOTQzNDQ0MzMwMzc2OTIyODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9ab2804beee44009e1786412da777d117d6bead1c5bb2ed7eecc8dadc26711f7
hovercard-subject-tagpull_request:3654447209
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/commitizen-tools/commitizen/pull/1961/files
twitter:imagehttps://avatars.githubusercontent.com/u/26526132?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/26526132?s=400&v=4
og:image:altDescription Closes #300. Adds a new strict_config boolean setting that controls how unknown keys inside the commitizen configuration section are handled. Default (strict_config = false) – unknown ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git
octolytics-dimension-user_id62252524
octolytics-dimension-user_logincommitizen-tools
octolytics-dimension-repository_id106127589
octolytics-dimension-repository_nwocommitizen-tools/commitizen
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id106127589
octolytics-dimension-repository_network_root_nwocommitizen-tools/commitizen
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release990295d92a4cc7b63fbbd83a046217cd7d77d49c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/commitizen-tools/commitizen/pull/1961/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitizen-tools%2Fcommitizen%2Fpull%2F1961%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitizen-tools%2Fcommitizen%2Fpull%2F1961%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=commitizen-tools%2Fcommitizen
Reloadhttps://github.com/commitizen-tools/commitizen/pull/1961/files
Reloadhttps://github.com/commitizen-tools/commitizen/pull/1961/files
Reloadhttps://github.com/commitizen-tools/commitizen/pull/1961/files
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/1961/files
commitizen-tools https://github.com/commitizen-tools
commitizenhttps://github.com/commitizen-tools/commitizen
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/1961/files
Notifications https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Fork 346 https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Star 3.5k https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Code https://github.com/commitizen-tools/commitizen
Issues 116 https://github.com/commitizen-tools/commitizen/issues
Pull requests 47 https://github.com/commitizen-tools/commitizen/pulls
Discussions https://github.com/commitizen-tools/commitizen/discussions
Actions https://github.com/commitizen-tools/commitizen/actions
Projects https://github.com/commitizen-tools/commitizen/projects
Security and quality 0 https://github.com/commitizen-tools/commitizen/security
Insights https://github.com/commitizen-tools/commitizen/pulse
Code https://github.com/commitizen-tools/commitizen
Issues https://github.com/commitizen-tools/commitizen/issues
Pull requests https://github.com/commitizen-tools/commitizen/pulls
Discussions https://github.com/commitizen-tools/commitizen/discussions
Actions https://github.com/commitizen-tools/commitizen/actions
Projects https://github.com/commitizen-tools/commitizen/projects
Security and quality https://github.com/commitizen-tools/commitizen/security
Insights https://github.com/commitizen-tools/commitizen/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fcommitizen-tools%2Fcommitizen%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen%2Fissues%2Fnew%2Fchoose
bearomorphismhttps://github.com/bearomorphism
commitizen-tools:masterhttps://github.com/commitizen-tools/commitizen/tree/master
bearomorphism:feat/strict-config-validationhttps://github.com/bearomorphism/commitizen/tree/feat/strict-config-validation
Conversation 2 https://github.com/commitizen-tools/commitizen/pull/1961
Commits 1 https://github.com/commitizen-tools/commitizen/pull/1961/commits
Checks 20 https://github.com/commitizen-tools/commitizen/pull/1961/checks
Files changed https://github.com/commitizen-tools/commitizen/pull/1961/files
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/1961/files
feat(config): warn on unknown configuration keys https://github.com/commitizen-tools/commitizen/pull/1961/files#top
Show all changes 1 commit https://github.com/commitizen-tools/commitizen/pull/1961/files
96edb12 feat(config): warn on unknown configuration keys bearomorphism May 9, 2026 https://github.com/commitizen-tools/commitizen/pull/1961/commits/96edb128de70b387f11b377e7a30d6f3ecd41aca
Clear filters https://github.com/commitizen-tools/commitizen/pull/1961/files
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/1961/files
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/1961/files
base_config.py https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-9c65f6eb3a5ea2cd26b4dae9b44263bccf4476f6f208d67839b4065e48243c58
json_config.py https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-7083d27dd4a739e48dbec8f95d5b5ec2c751e125f4b9f0644daae3a5cd74a302
toml_config.py https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-ca51a0ad54fe5bab3972507ec801fc9fd779296231f6ed5343c2ef6aa1826ee7
yaml_config.py https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-1aff2b95c87ebe1dee4da8637ca9aa66bdb5dc607b21340248a6196408469604
defaults.py https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-c951de16d627d82e01eb3ce8d7c4f0b28973ffe147520620762e7140ede2dd80
option.md https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-c97a13209ab94657a925569c77267e0af5ed20e004f1c1b54b34720373eb4ae5
test_conf.py https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-6468e768366adbe7dd3205f161126966a694d5ddc2aa94a1e50a6d4da339139f
commitizen/config/base_config.pyhttps://github.com/commitizen-tools/commitizen/pull/1961/files#diff-9c65f6eb3a5ea2cd26b4dae9b44263bccf4476f6f208d67839b4065e48243c58
View file https://github.com/commitizen-tools/commitizen/blob/96edb128de70b387f11b377e7a30d6f3ecd41aca/commitizen/config/base_config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/1961/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-9c65f6eb3a5ea2cd26b4dae9b44263bccf4476f6f208d67839b4065e48243c58
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-9c65f6eb3a5ea2cd26b4dae9b44263bccf4476f6f208d67839b4065e48243c58
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-9c65f6eb3a5ea2cd26b4dae9b44263bccf4476f6f208d67839b4065e48243c58
commitizen/config/json_config.pyhttps://github.com/commitizen-tools/commitizen/pull/1961/files#diff-7083d27dd4a739e48dbec8f95d5b5ec2c751e125f4b9f0644daae3a5cd74a302
View file https://github.com/commitizen-tools/commitizen/blob/96edb128de70b387f11b377e7a30d6f3ecd41aca/commitizen/config/json_config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/1961/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-7083d27dd4a739e48dbec8f95d5b5ec2c751e125f4b9f0644daae3a5cd74a302
commitizen/config/toml_config.pyhttps://github.com/commitizen-tools/commitizen/pull/1961/files#diff-ca51a0ad54fe5bab3972507ec801fc9fd779296231f6ed5343c2ef6aa1826ee7
View file https://github.com/commitizen-tools/commitizen/blob/96edb128de70b387f11b377e7a30d6f3ecd41aca/commitizen/config/toml_config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/1961/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-ca51a0ad54fe5bab3972507ec801fc9fd779296231f6ed5343c2ef6aa1826ee7
commitizen/config/yaml_config.pyhttps://github.com/commitizen-tools/commitizen/pull/1961/files#diff-1aff2b95c87ebe1dee4da8637ca9aa66bdb5dc607b21340248a6196408469604
View file https://github.com/commitizen-tools/commitizen/blob/96edb128de70b387f11b377e7a30d6f3ecd41aca/commitizen/config/yaml_config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/1961/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-1aff2b95c87ebe1dee4da8637ca9aa66bdb5dc607b21340248a6196408469604
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-1aff2b95c87ebe1dee4da8637ca9aa66bdb5dc607b21340248a6196408469604
commitizen/defaults.pyhttps://github.com/commitizen-tools/commitizen/pull/1961/files#diff-c951de16d627d82e01eb3ce8d7c4f0b28973ffe147520620762e7140ede2dd80
View file https://github.com/commitizen-tools/commitizen/blob/96edb128de70b387f11b377e7a30d6f3ecd41aca/commitizen/defaults.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/1961/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-c951de16d627d82e01eb3ce8d7c4f0b28973ffe147520620762e7140ede2dd80
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-c951de16d627d82e01eb3ce8d7c4f0b28973ffe147520620762e7140ede2dd80
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-c951de16d627d82e01eb3ce8d7c4f0b28973ffe147520620762e7140ede2dd80
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-c951de16d627d82e01eb3ce8d7c4f0b28973ffe147520620762e7140ede2dd80
docs/config/option.mdhttps://github.com/commitizen-tools/commitizen/pull/1961/files#diff-c97a13209ab94657a925569c77267e0af5ed20e004f1c1b54b34720373eb4ae5
View file https://github.com/commitizen-tools/commitizen/blob/96edb128de70b387f11b377e7a30d6f3ecd41aca/docs/config/option.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/1961/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-c97a13209ab94657a925569c77267e0af5ed20e004f1c1b54b34720373eb4ae5
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-c97a13209ab94657a925569c77267e0af5ed20e004f1c1b54b34720373eb4ae5
tests/test_conf.pyhttps://github.com/commitizen-tools/commitizen/pull/1961/files#diff-6468e768366adbe7dd3205f161126966a694d5ddc2aa94a1e50a6d4da339139f
View file https://github.com/commitizen-tools/commitizen/blob/96edb128de70b387f11b377e7a30d6f3ecd41aca/tests/test_conf.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/1961/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-6468e768366adbe7dd3205f161126966a694d5ddc2aa94a1e50a6d4da339139f
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-6468e768366adbe7dd3205f161126966a694d5ddc2aa94a1e50a6d4da339139f
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-6468e768366adbe7dd3205f161126966a694d5ddc2aa94a1e50a6d4da339139f
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-6468e768366adbe7dd3205f161126966a694d5ddc2aa94a1e50a6d4da339139f
https://github.com/commitizen-tools/commitizen/pull/1961/files#diff-6468e768366adbe7dd3205f161126966a694d5ddc2aa94a1e50a6d4da339139f
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/1961/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.