Title: Discuss `cz init` `self.config` · Issue #1831 · commitizen-tools/commitizen · GitHub
Open Graph Title: Discuss `cz init` `self.config` · Issue #1831 · commitizen-tools/commitizen
X Title: Discuss `cz init` `self.config` · Issue #1831 · commitizen-tools/commitizen
Description: Description Just noticed this. I consider it strange that self.config is widely referenced by Init object. In normal scenarios, there shouldn't be configuration files when user runs cz init? Maybe we should replace those self.config refe...
Open Graph Description: Description Just noticed this. I consider it strange that self.config is widely referenced by Init object. In normal scenarios, there shouldn't be configuration files when user runs cz init? Maybe ...
X Description: Description Just noticed this. I consider it strange that self.config is widely referenced by Init object. In normal scenarios, there shouldn't be configuration files when user runs cz init? Ma...
Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/1831
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Discuss `cz init` `self.config`","articleBody":"### Description\n\nJust noticed this.\n\nI consider it strange that `self.config` is widely referenced by `Init` object. In normal scenarios, there shouldn't be configuration files when user runs `cz init`?\n\nMaybe we should replace those `self.config` references by `DEFAULT_SETTINGS`. wdyt?\n\nThe only case `self.config` should be used is to check whether the project is already initialized by `cz`.\n\n### Possible Solution\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Related issues\n\n_No response_","author":{"url":"https://github.com/bearomorphism","@type":"Person","name":"bearomorphism"},"datePublished":"2026-01-31T12:47:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/1831/commitizen/issues/1831"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d43e4ef0-9f77-a1a0-c127-a7f88593f11c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA26:ED0C6:F1D45F:149C6DA:6A4DD5D0 |
| html-safe-nonce | 3d4f326682815f0f7fdef3af8e6986cf620611958aa9b24d56f5fb3477aa7605 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTI2OkVEMEM2OkYxRDQ1RjoxNDlDNkRBOjZBNERENUQwIiwidmlzaXRvcl9pZCI6IjM3OTEzMDU4Njc0ODUxMDc2NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a45e2bee9da1138008b54aa2fd32c257858cc5556c04880c56779f8852b4a690 |
| hovercard-subject-tag | issue:3879126532 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/commitizen-tools/commitizen/1831/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6e6665b87d147aa8a217fd6ff15cc8390ca8660cab6eeb3025f087c6156d1701/commitizen-tools/commitizen/issues/1831 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6e6665b87d147aa8a217fd6ff15cc8390ca8660cab6eeb3025f087c6156d1701/commitizen-tools/commitizen/issues/1831 |
| og:image:alt | Description Just noticed this. I consider it strange that self.config is widely referenced by Init object. In normal scenarios, there shouldn't be configuration files when user runs cz init? Maybe ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bearomorphism |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git |
| octolytics-dimension-user_id | 62252524 |
| octolytics-dimension-user_login | commitizen-tools |
| octolytics-dimension-repository_id | 106127589 |
| octolytics-dimension-repository_nwo | commitizen-tools/commitizen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 106127589 |
| octolytics-dimension-repository_network_root_nwo | commitizen-tools/commitizen |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width