Skip to content

refactor: use typos#4078

Closed
adhtruong wants to merge 1 commit intolitestar-org:v3.0from
adhtruong:refactor-use-typos
Closed

refactor: use typos#4078
adhtruong wants to merge 1 commit intolitestar-org:v3.0from
adhtruong:refactor-use-typos

Conversation

@adhtruong
Copy link
Copy Markdown
Contributor

@adhtruong adhtruong commented Mar 29, 2025

Description

  • Migrate from codespell to typos

Closes

@adhtruong adhtruong requested review from a team as code owners March 29, 2025 10:41
@github-actions github-actions bot added area/dto This PR involves changes to the DTOs area/private-api This PR involves changes to the privatized API size: medium pr/external Triage Required 🏥 This requires triage labels Mar 29, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.24%. Comparing base (0d3fc00) to head (07bf2cb).

Additional details and impacted files
@@           Coverage Diff           @@
##             v3.0    #4078   +/-   ##
=======================================
  Coverage   98.24%   98.24%           
=======================================
  Files         342      342           
  Lines       15549    15549           
  Branches     1695     1695           
=======================================
  Hits        15276    15276           
  Misses        134      134           
  Partials      139      139           

☔ 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.

@adhtruong adhtruong force-pushed the refactor-use-typos branch 2 times, most recently from 1836a65 to 838c9f5 Compare March 29, 2025 10:45


class CommaSplittedPath(click.Path):
class CommaSplitPath(click.Path):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can't rename this in v2 since it's a public class. We could add an alias and deprecate it, or do this move in v3

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Aiming at v3 currently but should I add a deprecation too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Would it be better to aim at main instead?

@@ -0,0 +1,12 @@
[default]
extend-ignore-re = ["(?Rm)^.*(#|//)\\s*codespell:ignore\\s*$"]
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Note this is arbitrary the way it's defined. Matching previous codespell tool


[default.extend-words]
selectin = 'selectin'
odf = 'odf'
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Required for https://github.com/adhtruong/litestar/blob/refactor-use-typos/tests/examples/test_request_data.py#L77. Feels like an identifier so adding here rather than inlining

@adhtruong adhtruong force-pushed the refactor-use-typos branch from 838c9f5 to 07bf2cb Compare March 29, 2025 10:59
@github-actions
Copy link
Copy Markdown

Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/4078

@adhtruong adhtruong mentioned this pull request Mar 29, 2025
@adhtruong
Copy link
Copy Markdown
Contributor Author

Closing in favour of targeting main here #4080

@adhtruong adhtruong closed this Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dto This PR involves changes to the DTOs area/private-api This PR involves changes to the privatized API pr/external size: medium Triage Required 🏥 This requires triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants