Skip to content

Fix typos in config_fast_builds.toml#16025

Merged
alice-i-cecile merged 1 commit intobevyengine:mainfrom
benfrankel:patch-3
Oct 20, 2024
Merged

Fix typos in config_fast_builds.toml#16025
alice-i-cecile merged 1 commit intobevyengine:mainfrom
benfrankel:patch-3

Conversation

@benfrankel
Copy link
Copy Markdown
Contributor

From TheBevyFlock/bevy_new_2d#317 plus a few other changes.

@mockersf
Copy link
Copy Markdown
Member

do you know why this file isn't checked by the typo CI?

@benfrankel
Copy link
Copy Markdown
Contributor Author

benfrankel commented Oct 20, 2024

CI uses the crate-ci/typos action, which has info on this in its FAQ: https://github.com/crate-ci/typos?tab=readme-ov-file#why-was--not-corrected

EDIT: Following this, it seems we have ignore-hidden set to true (which is the default value) so typos skips the .cargo/ directory.

@alice-i-cecile alice-i-cecile added this pull request to the merge queue Oct 20, 2024
@alice-i-cecile alice-i-cecile added C-Docs An addition or correction to our documentation D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it labels Oct 20, 2024
@mockersf
Copy link
Copy Markdown
Member

EDIT: Following this, it seems we have ignore-hidden set to true (which is the default value) so typos skips the .cargo/ directory.

Thanks!

I think it could be worth a try to check if disabling that doesn't raise too many issues

@benfrankel
Copy link
Copy Markdown
Contributor Author

benfrankel commented Oct 20, 2024

I think it could be worth a try to check if disabling that doesn't raise too many issues

The output seems good to me if we also explicitly exclude .git. I can make a separate PR for this. EDIT: #16035

Merged via the queue into bevyengine:main with commit bad98f6 Oct 20, 2024
@benfrankel benfrankel deleted the patch-3 branch October 20, 2024 17:20
github-merge-queue bot pushed a commit that referenced this pull request Oct 20, 2024
# Objective

Typo-check .hidden files like `.cargo/config_fast_builds.toml` and
`.github/*`. Context: #16025.

## Solution

- Add `ignore-hidden = false` to `typos.toml` to override the default
value of `true`.
- Add an exception to keep `.git/` ignored in `typos.toml`.
- Fix newly-found typos so CI passes.

## Testing

Running `typos` locally finds no further typos.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-Docs An addition or correction to our documentation D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants