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

Update python in CI to get latest codespell #15589

Merged
merged 3 commits into from
Nov 27, 2024

Conversation

cameel
Copy link
Member

@cameel cameel commented Nov 26, 2024

I'm finding a lot of typos in PRs like #15550 even though we have a codespell job that should be detecting them automatically. Apparently this is because we're using cimg/python:3.6 image, which ships an old version of codespell (2.2.1). The latest one has a better dictionary that does detect the typos.

This PR replaces cimg/python:3.6 with our Ubuntu image, which we keep up to date.

It also adds a config file for codespell to make it easier to run it locally with the right arguments. It's now enough to simply run codespell without arguments.

- I could just bump the current image to 3.13 but this would require manual bumping in the future again.
@cameel cameel added testing 🔨 🟡 PR review label labels Nov 26, 2024
@cameel cameel self-assigned this Nov 26, 2024
@cameel cameel merged commit 8ea8efd into develop Nov 27, 2024
73 checks passed
@cameel cameel deleted the update-python-for-latest-codespell branch November 27, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing 🔨 🟡 PR review label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants