Skip to content

[CI] Create .codespellrc; upgrade codespell hook; fix typos#12824

Open
jbampton wants to merge 2 commits intoapache:mainfrom
jbampton:add-codespellrc
Open

[CI] Create .codespellrc; upgrade codespell hook; fix typos#12824
jbampton wants to merge 2 commits intoapache:mainfrom
jbampton:add-codespellrc

Conversation

@jbampton
Copy link
Member

Description

This PR creates a centralized codespell config.

Some of the benefits of having a separate small .codespellrc will be that less technical contributors will easily see the config file in the repo root and will be able to fix typos.

The new config points users to the ignored words list and shows how to skip files and directories.

Basically this means they won't have to touch the pre-commit config file

This PR upgraded the codespell hook and then fixed some minor typos that the new version of codespell found.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

Ran pre-commit run --all-files

How did you try to break this feature and the system with this change?

@codecov
Copy link

codecov bot commented Mar 17, 2026

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 17.95%. Comparing base (93239e0) to head (bc8804d).

Files with missing lines Patch % Lines
.../main/java/com/cloud/utils/db/SequenceFetcher.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##               main   #12824   +/-   ##
=========================================
  Coverage     17.95%   17.95%           
  Complexity    16259    16259           
=========================================
  Files          5954     5954           
  Lines        534838   534838           
  Branches      65423    65423           
=========================================
  Hits          96010    96010           
- Misses       428053   428054    +1     
+ Partials      10775    10774    -1     
Flag Coverage Δ
uitests 3.65% <ø> (ø)
unittests 19.06% <50.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jbampton jbampton requested a review from vishesh92 March 17, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants