René's URL Explorer Experiment


Title: refactor(config): replace is_empty_config with contains_commitizen_section, improve multi config resolution algorithm by bearomorphism · Pull Request #1842 · commitizen-tools/commitizen · GitHub

Open Graph Title: refactor(config): replace is_empty_config with contains_commitizen_section, improve multi config resolution algorithm by bearomorphism · Pull Request #1842 · commitizen-tools/commitizen

X Title: refactor(config): replace is_empty_config with contains_commitizen_section, improve multi config resolution algorithm by bearomorphism · Pull Request #1842 · commitizen-tools/commitizen

Description: Fixed incorrectly used samefile Removed unnecessary same file check in _resolve_config_candidates. The tests already covered the cases "same git repo root and cwd" so it should not be broken after merging this PR. Separate "empty configuration" detection and _parse_settings Why removing is_empty_config? Hmm, I believe a stateless function is easier to read in this case.

Open Graph Description: Fixed incorrectly used samefile Removed unnecessary same file check in _resolve_config_candidates. The tests already covered the cases "same git repo root and cwd" so it should not be bro...

X Description: Fixed incorrectly used samefile Removed unnecessary same file check in _resolve_config_candidates. The tests already covered the cases "same git repo root and cwd" so it should no...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:7f792386-0dd6-4e2e-f844-17b2e2707e61
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE4FA:10F0C1:CED6B3:12E2CF1:6A4E28BA
html-safe-nonce71ab4262c434a4e231b97080fd56d56357ebcd166f3db92f993fa2198c08b56a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEZBOjEwRjBDMTpDRUQ2QjM6MTJFMkNGMTo2QTRFMjhCQSIsInZpc2l0b3JfaWQiOiIyMTIyNjkwNzE5MTM5MTEzMTQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca12f27a7d62648ef92b777c71ac5106418ff743bf3b36677269dda8cda379a29
hovercard-subject-tagpull_request:3237563696
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/1842/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:altFixed incorrectly used samefile Removed unnecessary same file check in _resolve_config_candidates. The tests already covered the cases "same git repo root and cwd" so it should not be bro...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
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
released9dd20d38f8ae3c4cb6b597807431db300d0bd2a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/commitizen-tools/commitizen/pull/1842/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitizen-tools%2Fcommitizen%2Fpull%2F1842%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
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2F1842%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/1842/files
Reloadhttps://github.com/commitizen-tools/commitizen/pull/1842/files
Reloadhttps://github.com/commitizen-tools/commitizen/pull/1842/files
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/1842/files
commitizen-tools https://github.com/commitizen-tools
commitizenhttps://github.com/commitizen-tools/commitizen
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/1842/files
Notifications https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Fork 344 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 45 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
masterhttps://github.com/commitizen-tools/commitizen/tree/master
remove-is-empty-confighttps://github.com/commitizen-tools/commitizen/tree/remove-is-empty-config
Conversation 6 https://github.com/commitizen-tools/commitizen/pull/1842
Commits 1 https://github.com/commitizen-tools/commitizen/pull/1842/commits
Checks 20 https://github.com/commitizen-tools/commitizen/pull/1842/checks
Files changed https://github.com/commitizen-tools/commitizen/pull/1842/files
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/1842/files
refactor(config): replace is_empty_config with contains_commitizen_section, improve multi config resolution algorithm https://github.com/commitizen-tools/commitizen/pull/1842/files#top
Show all changes 1 commit https://github.com/commitizen-tools/commitizen/pull/1842/files
2924fae refactor(config): replace is_empty_config with contains_commitizen_se… bearomorphism Feb 2, 2026 https://github.com/commitizen-tools/commitizen/pull/1842/commits/2924faed5ef7ac84517b7c2c8e283997301d0fc2
Clear filters https://github.com/commitizen-tools/commitizen/pull/1842/files
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/1842/files
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/1842/files
__init__.py https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-48e7addf999fae61ff8832e418c6f660c3ecb32f266326b02f3e34e110a79882
base_config.py https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-9c65f6eb3a5ea2cd26b4dae9b44263bccf4476f6f208d67839b4065e48243c58
json_config.py https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-7083d27dd4a739e48dbec8f95d5b5ec2c751e125f4b9f0644daae3a5cd74a302
toml_config.py https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-ca51a0ad54fe5bab3972507ec801fc9fd779296231f6ed5343c2ef6aa1826ee7
yaml_config.py https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-1aff2b95c87ebe1dee4da8637ca9aa66bdb5dc607b21340248a6196408469604
commitizen/config/__init__.pyhttps://github.com/commitizen-tools/commitizen/pull/1842/files#diff-48e7addf999fae61ff8832e418c6f660c3ecb32f266326b02f3e34e110a79882
View file https://github.com/commitizen-tools/commitizen/blob/2924faed5ef7ac84517b7c2c8e283997301d0fc2/commitizen/config/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/1842/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-48e7addf999fae61ff8832e418c6f660c3ecb32f266326b02f3e34e110a79882
https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-48e7addf999fae61ff8832e418c6f660c3ecb32f266326b02f3e34e110a79882
https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-48e7addf999fae61ff8832e418c6f660c3ecb32f266326b02f3e34e110a79882
commitizen/config/base_config.pyhttps://github.com/commitizen-tools/commitizen/pull/1842/files#diff-9c65f6eb3a5ea2cd26b4dae9b44263bccf4476f6f208d67839b4065e48243c58
View file https://github.com/commitizen-tools/commitizen/blob/2924faed5ef7ac84517b7c2c8e283997301d0fc2/commitizen/config/base_config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/1842/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-9c65f6eb3a5ea2cd26b4dae9b44263bccf4476f6f208d67839b4065e48243c58
Please reload this pagehttps://github.com/commitizen-tools/commitizen/pull/1842/files
https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-9c65f6eb3a5ea2cd26b4dae9b44263bccf4476f6f208d67839b4065e48243c58
commitizen/config/json_config.pyhttps://github.com/commitizen-tools/commitizen/pull/1842/files#diff-7083d27dd4a739e48dbec8f95d5b5ec2c751e125f4b9f0644daae3a5cd74a302
View file https://github.com/commitizen-tools/commitizen/blob/2924faed5ef7ac84517b7c2c8e283997301d0fc2/commitizen/config/json_config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/1842/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-7083d27dd4a739e48dbec8f95d5b5ec2c751e125f4b9f0644daae3a5cd74a302
https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-7083d27dd4a739e48dbec8f95d5b5ec2c751e125f4b9f0644daae3a5cd74a302
commitizen/config/toml_config.pyhttps://github.com/commitizen-tools/commitizen/pull/1842/files#diff-ca51a0ad54fe5bab3972507ec801fc9fd779296231f6ed5343c2ef6aa1826ee7
View file https://github.com/commitizen-tools/commitizen/blob/2924faed5ef7ac84517b7c2c8e283997301d0fc2/commitizen/config/toml_config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/1842/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-ca51a0ad54fe5bab3972507ec801fc9fd779296231f6ed5343c2ef6aa1826ee7
https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-ca51a0ad54fe5bab3972507ec801fc9fd779296231f6ed5343c2ef6aa1826ee7
https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-ca51a0ad54fe5bab3972507ec801fc9fd779296231f6ed5343c2ef6aa1826ee7
commitizen/config/yaml_config.pyhttps://github.com/commitizen-tools/commitizen/pull/1842/files#diff-1aff2b95c87ebe1dee4da8637ca9aa66bdb5dc607b21340248a6196408469604
View file https://github.com/commitizen-tools/commitizen/blob/2924faed5ef7ac84517b7c2c8e283997301d0fc2/commitizen/config/yaml_config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/commitizen-tools/commitizen/pull/1842/{{ revealButtonHref }}
https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-1aff2b95c87ebe1dee4da8637ca9aa66bdb5dc607b21340248a6196408469604
https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-1aff2b95c87ebe1dee4da8637ca9aa66bdb5dc607b21340248a6196408469604
https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-1aff2b95c87ebe1dee4da8637ca9aa66bdb5dc607b21340248a6196408469604
https://github.com/commitizen-tools/commitizen/pull/1842/files#diff-1aff2b95c87ebe1dee4da8637ca9aa66bdb5dc607b21340248a6196408469604
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.