Repository navigation
Commit e9c62e5
ci: Add typos spell check (#8279)
This one is more for humans rather than agents, but still nice to have.
### Description
Adds [typos](https://github.com/crate-ci/typos) to the CI lint job and
to pre-commit, so misspellings get caught on the PR and we don't need
cleanup passes like #8241. It comes in through the `dev` dependency
group, like ruff.
`_typos.toml` allowlists the spellings that #8241 kept on purpose
(`baGGage`, the `deprecat` regex, chunked test strings), plus `GAE` and
`certifi`. It also skips `CHANGELOG.md`, since those are historical
release notes.
A couple of spellings get fixed instead of allowlisted:
- The `MIGRATION_GUIDE.md` entry about the `MetricsAggregator` method
rename is reworded so it no longer spells out the old misspelled name.
- The aiohttp test `test_tracing_unparseable_url` is renamed to
`test_tracing_unparsable_url`.
CI also scans hidden files, so `.github/` gets checked the same way the
pre-commit hook checks it.
typos has fewer false positives on this repo than codespell, which flags
names like `checkin` and `dependant`.
<!-- junior-request-attribution:start -->
via @sentrivana.
<!-- junior-request-attribution:end -->
<!-- junior-session-footer:start -->
<!-- junior-conversation-id:slack%3AC0BTREZTS2Z%3A1794835840.831269 -->
--
[View
Session](https://junior-prod.sentry.dev/conversations/slack%3AC0BTREZTS2Z%3A1794835840.831269)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0BTREZTS2Z%3A1794835840.831269/?project=4510944073809921)
<!-- junior-session-footer:end -->
---------
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Ivana Kellyer <131587164+sentrivana@users.noreply.github.com>1 parent 03839c9 commit e9c62e5
7 files changed
Lines changed: 50 additions & 3 deletions
File tree
- .github/workflows
- tests/integrations/aiohttp
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
| 379 | + | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
| 403 | + | |
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments