Skip to content

Comments

feat: extend the list of imperatives#371

Merged
shenxianpeng merged 1 commit intocommit-check:mainfrom
JurajPalka:feat/expand-allowed-words-in-commit-message
Feb 11, 2026
Merged

feat: extend the list of imperatives#371
shenxianpeng merged 1 commit intocommit-check:mainfrom
JurajPalka:feat/expand-allowed-words-in-commit-message

Conversation

@JurajPalka
Copy link
Contributor

@JurajPalka JurajPalka commented Feb 11, 2026

Extend the list of imperatives with additional words.

Summary by CodeRabbit

  • New Features
    • Enhanced the commit checker to recognize 11 additional imperative verbs in commit messages. This expansion improves the tool's flexibility and compatibility with diverse development practices and team conventions, enabling teams to write a wider variety of properly formatted, convention-compliant commit messages while maintaining strict validation standards.

@JurajPalka JurajPalka requested a review from a team as a code owner February 11, 2026 11:14
@JurajPalka JurajPalka requested review from shenxianpeng and removed request for a team February 11, 2026 11:14
@netlify
Copy link

netlify bot commented Feb 11, 2026

Deploy Preview for commit-check ready!

Name Link
🔨 Latest commit 6e41df7
🔍 Latest deploy log https://app.netlify.com/projects/commit-check/deploys/698c64a5f6fa100008a6f09c
😎 Deploy Preview https://deploy-preview-371--commit-check.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 11, 2026

📝 Walkthrough

Walkthrough

The IMPERATIVES set in commit_check/imperatives.py is expanded with eleven new imperative verbs: decrease, disable, include, increase, introduce, lower, optimize, prevent, rework, simplify, and unify. No structural changes or deletions are made.

Changes

Cohort / File(s) Summary
IMPERATIVES Set Expansion
commit_check/imperatives.py
Added 11 new imperative verbs (decrease, disable, include, increase, introduce, lower, optimize, prevent, rework, simplify, unify) to the public IMPERATIVES collection.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

🐰 Commands grow with whispered words,
Imperatives bloom like morning birds,
Decrease, disable, optimize true—
Our verb garden blooms anew! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat: extend the list of imperatives' accurately and concisely describes the main change: expanding the IMPERATIVES set with 11 new imperative verbs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

No actionable comments were generated in the recent review. 🎉

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud
Copy link

Copy link
Contributor

@shenxianpeng shenxianpeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@codspeed-hq
Copy link

codspeed-hq bot commented Feb 11, 2026

Merging this PR will not alter performance

✅ 170 untouched benchmarks
⏩ 108 skipped benchmarks1


Comparing JurajPalka:feat/expand-allowed-words-in-commit-message (6e41df7) with main (7237f50)

Open in CodSpeed

Footnotes

  1. 108 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@shenxianpeng shenxianpeng added the enhancement New feature or request label Feb 11, 2026
@codecov
Copy link

codecov bot commented Feb 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.65%. Comparing base (7237f50) to head (6e41df7).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #371   +/-   ##
=======================================
  Coverage   94.65%   94.65%           
=======================================
  Files           9        9           
  Lines         805      805           
=======================================
  Hits          762      762           
  Misses         43       43           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@shenxianpeng shenxianpeng merged commit c682971 into commit-check:main Feb 11, 2026
72 of 76 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants