| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4a5f5561-1543-fb76-0cd7-5877f16ca090 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B6BA:1F16:769DED:AC8A53:6A4F5F2C |
| html-safe-nonce | b339974346df27f104584dfd64a25244faf282fbd2c1b38d5c52797d55d307d9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkJBOjFGMTY6NzY5REVEOkFDOEE1Mzo2QTRGNUYyQyIsInZpc2l0b3JfaWQiOiI3NTcwMjYzOTI1NTQ5MTI5NTE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c559c773cb80f994828fcc05752803adcdffe9a0114308896438a6d4236c8b30 |
| hovercard-subject-tag | pull_request:3423068228 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/commitizen-tools/commitizen/pull/1908/files |
| twitter:image | https://avatars.githubusercontent.com/u/35064951?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/35064951?s=400&v=4 |
| og:image:alt | Description
Added validation for message_length_limit coming from either CLI or config: it must be a non-negative integer (>= 0). Negative values raise InvalidCommandArgumentError.
This PR was... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/commitizen-tools/commitizen/pull/1908/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitizen-tools%2Fcommitizen%2Fpull%2F1908%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F1908%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 |
| Reload | https://github.com/commitizen-tools/commitizen/pull/1908/files |
| Reload | https://github.com/commitizen-tools/commitizen/pull/1908/files |
| Reload | https://github.com/commitizen-tools/commitizen/pull/1908/files |
| Please reload this page | https://github.com/commitizen-tools/commitizen/pull/1908/files |
|
commitizen-tools
| https://github.com/commitizen-tools |
| commitizen | https://github.com/commitizen-tools/commitizen |
| Please reload this page | https://github.com/commitizen-tools/commitizen/pull/1908/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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen%2Fissues%2Fnew%2Fchoose |
| ttw225 | https://github.com/ttw225 |
| commitizen-tools:master | https://github.com/commitizen-tools/commitizen/tree/master |
| ttw225:feat/validate-message-length-limit | https://github.com/ttw225/commitizen/tree/feat/validate-message-length-limit |
|
Conversation
1
| https://github.com/commitizen-tools/commitizen/pull/1908 |
|
Commits
11
| https://github.com/commitizen-tools/commitizen/pull/1908/commits |
|
Checks
20
| https://github.com/commitizen-tools/commitizen/pull/1908/checks |
|
Files changed
| https://github.com/commitizen-tools/commitizen/pull/1908/files |
| Please reload this page | https://github.com/commitizen-tools/commitizen/pull/1908/files |
|
Feat: Validate message_length_limit is non-negative
| https://github.com/commitizen-tools/commitizen/pull/1908/files#top |
|
Show all changes
11 commits
| https://github.com/commitizen-tools/commitizen/pull/1908/files |
|
092ec64
fix(commit): honor message length limit from cli and config
ttw225 Mar 18, 2026
| https://github.com/commitizen-tools/commitizen/pull/1908/commits/092ec64e004e20b58d0318e9e83afd52b9a42f4f |
|
2be6bcb
fix(check): honor message length limit from cli and config
ttw225 Mar 18, 2026
| https://github.com/commitizen-tools/commitizen/pull/1908/commits/2be6bcb93de598b23dda71242e49abd8b36efb5e |
|
6d7bba1
test(commit): add coverage for message length limit precedence
ttw225 Mar 18, 2026
| https://github.com/commitizen-tools/commitizen/pull/1908/commits/6d7bba1cf77dc3e762642e5e4d1547d7f948b5e8 |
|
b0deaf6
test(check): add coverage for message length limit precedence
ttw225 Mar 18, 2026
| https://github.com/commitizen-tools/commitizen/pull/1908/commits/b0deaf64afa0ff87054b56dbd847f17f2fe88cce |
|
e61f70c
test(cli-config): add integration tests for message length limit config
ttw225 Mar 18, 2026
| https://github.com/commitizen-tools/commitizen/pull/1908/commits/e61f70cca2006d26a6d3bf26eb35e437a314f96c |
|
e6e7475
fix(types): allow None for message_length_limit cli arg
ttw225 Mar 18, 2026
| https://github.com/commitizen-tools/commitizen/pull/1908/commits/e6e74751f222dfe01ff3174ea4f29e28e9ee68f9 |
|
f5c4b48
refactor(test): apply type-check-only imports
ttw225 Mar 18, 2026
| https://github.com/commitizen-tools/commitizen/pull/1908/commits/f5c4b4880bd3204d75ee1ba702d784bcf16c0624 |
|
5e5778b
feat(check): validate non-negative message_length_limit
ttw225 Mar 20, 2026
| https://github.com/commitizen-tools/commitizen/pull/1908/commits/5e5778b25b7b6d5e4a647be9e8988068b9406199 |
|
e626291
feat(commit): validate non-negative message_length_limit
ttw225 Mar 20, 2026
| https://github.com/commitizen-tools/commitizen/pull/1908/commits/e626291e10954652c9d77f89372694b8f8b9e82f |
|
67db626
test(message_length_limit): validate negative message_length_limit
ttw225 Mar 20, 2026
| https://github.com/commitizen-tools/commitizen/pull/1908/commits/67db6262ca88a6f2be44a372c5902c0dea52f9dd |
|
f2ac1c1
docs(message_length_limit): document non-negative limit
ttw225 Mar 20, 2026
| https://github.com/commitizen-tools/commitizen/pull/1908/commits/f2ac1c1604ee2da9cb4b79f91810aa4e8ac9f5b9 |
|
Clear filters
| https://github.com/commitizen-tools/commitizen/pull/1908/files |
| Please reload this page | https://github.com/commitizen-tools/commitizen/pull/1908/files |
| Please reload this page | https://github.com/commitizen-tools/commitizen/pull/1908/files |
|
check.py
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-f2009c94d59b697e08241dfc746bd98bd9b47072ba948b2c7bab01fba887b453 |
|
commit.py
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-b682eb395fc382939bf1e227cb02ffd1a9335e1ee404b17702afaed226535c74 |
|
check.md
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-d8a23347272389a3273dd8f81f403483922edac23d5f8c6b8609859306becaa8 |
|
commit.md
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-42ff5bd088cca6dd2b0a8af8bff071f045011c4ed5f5d979c12c590576c3a9f8 |
|
test_check_command.py
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-7b8c8b76ce1d42b29a8318f7447acfcaf7565dd871c3427bfaf69f70f700b836 |
|
test_commit_command.py
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-5bdfd11ecf3f34f6417cd6fc41228373fe0267ebe044bd202b061d111a6f980f |
|
test_cli_config_integration.py
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-3373d2a64e01f294dbf366f734070b33d1a9eaaa909d09a427fe0ee74070538e |
| commitizen/commands/check.py | https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-f2009c94d59b697e08241dfc746bd98bd9b47072ba948b2c7bab01fba887b453 |
|
View file
| https://github.com/commitizen-tools/commitizen/blob/f2ac1c1604ee2da9cb4b79f91810aa4e8ac9f5b9/commitizen/commands/check.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/commitizen-tools/commitizen/pull/1908/{{ revealButtonHref }} |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-f2009c94d59b697e08241dfc746bd98bd9b47072ba948b2c7bab01fba887b453 |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-f2009c94d59b697e08241dfc746bd98bd9b47072ba948b2c7bab01fba887b453 |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-f2009c94d59b697e08241dfc746bd98bd9b47072ba948b2c7bab01fba887b453 |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-f2009c94d59b697e08241dfc746bd98bd9b47072ba948b2c7bab01fba887b453 |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-f2009c94d59b697e08241dfc746bd98bd9b47072ba948b2c7bab01fba887b453 |
| commitizen/commands/commit.py | https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-b682eb395fc382939bf1e227cb02ffd1a9335e1ee404b17702afaed226535c74 |
|
View file
| https://github.com/commitizen-tools/commitizen/blob/f2ac1c1604ee2da9cb4b79f91810aa4e8ac9f5b9/commitizen/commands/commit.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/commitizen-tools/commitizen/pull/1908/{{ revealButtonHref }} |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-b682eb395fc382939bf1e227cb02ffd1a9335e1ee404b17702afaed226535c74 |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-b682eb395fc382939bf1e227cb02ffd1a9335e1ee404b17702afaed226535c74 |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-b682eb395fc382939bf1e227cb02ffd1a9335e1ee404b17702afaed226535c74 |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-b682eb395fc382939bf1e227cb02ffd1a9335e1ee404b17702afaed226535c74 |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-b682eb395fc382939bf1e227cb02ffd1a9335e1ee404b17702afaed226535c74 |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-b682eb395fc382939bf1e227cb02ffd1a9335e1ee404b17702afaed226535c74 |
| docs/config/check.md | https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-d8a23347272389a3273dd8f81f403483922edac23d5f8c6b8609859306becaa8 |
|
View file
| https://github.com/commitizen-tools/commitizen/blob/f2ac1c1604ee2da9cb4b79f91810aa4e8ac9f5b9/docs/config/check.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/commitizen-tools/commitizen/pull/1908/{{ revealButtonHref }} |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-d8a23347272389a3273dd8f81f403483922edac23d5f8c6b8609859306becaa8 |
| docs/config/commit.md | https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-42ff5bd088cca6dd2b0a8af8bff071f045011c4ed5f5d979c12c590576c3a9f8 |
|
View file
| https://github.com/commitizen-tools/commitizen/blob/f2ac1c1604ee2da9cb4b79f91810aa4e8ac9f5b9/docs/config/commit.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/commitizen-tools/commitizen/pull/1908/{{ revealButtonHref }} |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-42ff5bd088cca6dd2b0a8af8bff071f045011c4ed5f5d979c12c590576c3a9f8 |
| tests/commands/test_check_command.py | https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-7b8c8b76ce1d42b29a8318f7447acfcaf7565dd871c3427bfaf69f70f700b836 |
|
View file
| https://github.com/commitizen-tools/commitizen/blob/f2ac1c1604ee2da9cb4b79f91810aa4e8ac9f5b9/tests/commands/test_check_command.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/commitizen-tools/commitizen/pull/1908/{{ revealButtonHref }} |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-7b8c8b76ce1d42b29a8318f7447acfcaf7565dd871c3427bfaf69f70f700b836 |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-7b8c8b76ce1d42b29a8318f7447acfcaf7565dd871c3427bfaf69f70f700b836 |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-7b8c8b76ce1d42b29a8318f7447acfcaf7565dd871c3427bfaf69f70f700b836 |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-7b8c8b76ce1d42b29a8318f7447acfcaf7565dd871c3427bfaf69f70f700b836 |
| tests/commands/test_commit_command.py | https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-5bdfd11ecf3f34f6417cd6fc41228373fe0267ebe044bd202b061d111a6f980f |
|
View file
| https://github.com/commitizen-tools/commitizen/blob/f2ac1c1604ee2da9cb4b79f91810aa4e8ac9f5b9/tests/commands/test_commit_command.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/commitizen-tools/commitizen/pull/1908/{{ revealButtonHref }} |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-5bdfd11ecf3f34f6417cd6fc41228373fe0267ebe044bd202b061d111a6f980f |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-5bdfd11ecf3f34f6417cd6fc41228373fe0267ebe044bd202b061d111a6f980f |
|
| https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-5bdfd11ecf3f34f6417cd6fc41228373fe0267ebe044bd202b061d111a6f980f |
| tests/test_cli_config_integration.py | https://github.com/commitizen-tools/commitizen/pull/1908/files#diff-3373d2a64e01f294dbf366f734070b33d1a9eaaa909d09a427fe0ee74070538e |
|
View file
| https://github.com/commitizen-tools/commitizen/blob/f2ac1c1604ee2da9cb4b79f91810aa4e8ac9f5b9/tests/test_cli_config_integration.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/commitizen-tools/commitizen/pull/1908/{{ revealButtonHref }} |
| Please reload this page | https://github.com/commitizen-tools/commitizen/pull/1908/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |