Title: feat(commit): implement questions 'filter' support with handlers by AdrianDC · Pull Request #1207 · commitizen-tools/commitizen · GitHub
Open Graph Title: feat(commit): implement questions 'filter' support with handlers by AdrianDC · Pull Request #1207 · commitizen-tools/commitizen
X Title: feat(commit): implement questions 'filter' support with handlers by AdrianDC · Pull Request #1207 · commitizen-tools/commitizen
Description: Description Supported APIs: Common Python, commitizen.cz.utils.* functions Example YAML configurations: commitizen: name: cz_customize customize: questions: - ... - type: input name: scope message: 'Scope of the change :' filter: 'lambda text: commitizen.cz.utils.required_validator(text, msg="! Error: Scope is required")' default: '' - type: input name: subject message: 'Title of the commit (starting in lower case and without period) :' filter: 'lambda text: commitizen.cz.utils.required_validator(text.strip(".").strip(), msg="! Error: Title is required")' default: '' - type: input name: body message: 'Additional contextual message (Empty to skip) :' default: 'Issue: #...' filter: 'commitizen.cz.utils.multiple_line_breaker' Additional commits to add missing YAML tests, fix YAML configurations, and then add the keys for this feature. Checklist Add test cases to all the changes you introduce Run ./scripts/format and ./scripts/test locally to ensure this change passes linter check and test Test the changes on the local machine manually Update the documentation for the changes Expected behavior ? Title of the commit (starting in lower case and without period) : Hello ! Error: Title is required Steps to Test This Pull Request Example provided in the description Additional context
Open Graph Description: Description Supported APIs: Common Python, commitizen.cz.utils.* functions Example YAML configurations: commitizen: name: cz_customize customize: questions: - ... - type: input ...
X Description: Description Supported APIs: Common Python, commitizen.cz.utils.* functions Example YAML configurations: commitizen: name: cz_customize customize: questions: - ... - type: input ...
Opengraph URL: https://github.com/commitizen-tools/commitizen/pull/1207
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0ef3e7c4-7952-6d31-8e0f-6eb4676b7882 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9AC4:140E58:69F13A3:88F3062:697574F1 |
| html-safe-nonce | 961e8675ac110d6a723c7deed158c131496053f5fe5061ca7073df7da855caa5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUM0OjE0MEU1ODo2OUYxM0EzOjg4RjMwNjI6Njk3NTc0RjEiLCJ2aXNpdG9yX2lkIjoiOTIwNzA5NDY4MzgwMjg5MTUwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 753c4b3bc8d313bf939c4395847fa807823a2f7ad9479b3bb91a4506a31303db |
| hovercard-subject-tag | pull_request:2017635359 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/commitizen-tools/commitizen/pull/1207/files |
| twitter:image | https://avatars.githubusercontent.com/u/1855502?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1855502?s=400&v=4 |
| og:image:alt | Description Supported APIs: Common Python, commitizen.cz.utils.* functions Example YAML configurations: commitizen: name: cz_customize customize: questions: - ... - type: input ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width