Title: pre-commit hook does not check/support custom types (defined in `config.commitizen.types`) · Issue #481 · commitizen-tools/commitizen · GitHub
Open Graph Title: pre-commit hook does not check/support custom types (defined in `config.commitizen.types`) · Issue #481 · commitizen-tools/commitizen
X Title: pre-commit hook does not check/support custom types (defined in `config.commitizen.types`) · Issue #481 · commitizen-tools/commitizen
Description: Description As there is the possibility to override types in config.commitizen.types, the pre-commit hook should take these into account as well. Steps to reproduce Add custom types in config.commitizen.types Write & commit a commit mess...
Open Graph Description: Description As there is the possibility to override types in config.commitizen.types, the pre-commit hook should take these into account as well. Steps to reproduce Add custom types in config.commi...
X Description: Description As there is the possibility to override types in config.commitizen.types, the pre-commit hook should take these into account as well. Steps to reproduce Add custom types in config.commi...
Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/481
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pre-commit hook does not check/support custom types (defined in `config.commitizen.types`)","articleBody":"## Description\r\n\u003c!-- A clear and concise description of what the bug is. --\u003e\r\nAs there is the possibility to override types in `config.commitizen.types`, the pre-commit hook should take these into account as well.\r\n\r\n## Steps to reproduce\r\n1. Add custom types in `config.commitizen.types`\r\n2. Write \u0026 commit a _commit_ message with the aforementioned custom types\r\n\r\n## Current behavior\r\n\u003c!-- What happens actually so you think this is a bug. --\u003e\r\npre-commit hook should exit with `Passed`\r\n\r\n## Desired behavior\r\n\u003c!--\r\nA clear and concise description of what you expected to happen. --\u003e\r\npre-commit hook exits with `Failed`\r\n\r\n\u003c!--\r\n**Screenshots**\r\nIf applicable, add screenshots to help explain your problem.\r\n--\u003e\r\n\r\n\u003c!--\r\n## Environment\r\nFor older commitizen versions, please include the\r\noutput of the following commands manually:\r\n\r\ncz version\r\npython --version\r\npython3 -c \"import platform; print(platform.system())\"\r\nAdd output of the following command to include the following\r\n- commitizen version:\r\n- python version:\r\n- operating system:\r\n```bash\r\ncz version --report\r\n```\r\n--\u003e\r\n","author":{"url":"https://github.com/stavros-mobal","@type":"Person","name":"stavros-mobal"},"datePublished":"2022-02-02T12:26:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/481/commitizen/issues/481"}
| 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:24a66e75-6fd5-4f09-7fee-9992a22a21db |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E12E:3C1583:E7D6B7:ED6502:6A4DC595 |
| html-safe-nonce | ce835c5c749fac4eb8732230e18d44cc8b04e87ffcd1b0c2d40a12235170faf3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTJFOjNDMTU4MzpFN0Q2Qjc6RUQ2NTAyOjZBNERDNTk1IiwidmlzaXRvcl9pZCI6IjI4MzM4ODQzMTIwNTAxODk3MTciLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | 6c85d633bfbc2ff2908924e615baf0304402efe57e9846f796028f510bdb2e72 |
| hovercard-subject-tag | issue:1121864038 |
| 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/481/issue_layout |
| twitter:image | https://opengraph.githubassets.com/607bea16921857da521c58ef8051cf994b543708719c4ad3f13ca8fac6d57540/commitizen-tools/commitizen/issues/481 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/607bea16921857da521c58ef8051cf994b543708719c4ad3f13ca8fac6d57540/commitizen-tools/commitizen/issues/481 |
| og:image:alt | Description As there is the possibility to override types in config.commitizen.types, the pre-commit hook should take these into account as well. Steps to reproduce Add custom types in config.commi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | stavros-mobal |
| 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