Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add code spell task, fix issues and run the task in CI #1661

Merged
merged 4 commits into from
Aug 14, 2024

Conversation

dmathieu
Copy link
Member

This adds codespell to the project, which allows finding spelling issues within code.
It also fixes every spelling issue found, and runs the task within CI.

@dmathieu
Copy link
Member Author

The failing test appears unrelated.

Copy link
Contributor

@kaylareopelle kaylareopelle left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution, @dmathieu!

codespell is new to me. CSpell was added to contrib to mimic what OpenTelemetry.io uses, but it looks like the OTel Go and Python projects both use this tool.

I don't think we need to use the same tool in contrib and core. CSpell is still pretty new to contrib, so maybe this is a good opportunity to see which one we prefer and align the two later.

That the .codespellignore is so short leans me toward this tool.

@dmathieu
Copy link
Member Author

dmathieu commented Aug 2, 2024

cspell is different. It checks for spelling errors in written text (documentation, markdown documents). That makes sense for opentelemetry.io, but not so much for a codebase.

@mwear mwear merged commit f9c86da into open-telemetry:main Aug 14, 2024
60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants