-
Notifications
You must be signed in to change notification settings - Fork 746
add typo check to ci #5491
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
base: main
Are you sure you want to change the base?
add typo check to ci #5491
Changes from 2 commits
5616723
9b21ab2
3189ead
b01c108
4466edc
88ea127
0279180
5a4ff60
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| [default] | ||
| binary = false | ||
| check-filename = true | ||
| extend-ignore-identifiers-re = [ | ||
| "PNGs", | ||
| "_EDE_", | ||
| "ETyp", | ||
| ] | ||
|
|
||
| [default.extend-words] | ||
| alloced = "alloced" | ||
| s2nd = "s2nd" | ||
| nd = "nd" | ||
brimonk marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| Inforce = "Inforce" | ||
|
|
||
| # While we build up the extend-words list | ||
| [type.cpp] | ||
| check-file = false | ||
|
Comment on lines
+16
to
+18
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe I'm misunderstanding the documentation, but doesn't this have the same effect as adding "*.cpp" to extend-exclude below? Mixing the two ignore mechanisms might be confusing. Like, it seems odd that we ignore .c files via In general I'm having a hard time figuring out what files this check is and isn't currently running on. Comments might help, but maybe we should also be running "typos --files" as part of the action? |
||
|
|
||
| [type.c] | ||
| check-file = false | ||
|
|
||
| [type.py] | ||
| check-file = false | ||
|
|
||
| [type.make] | ||
| check-file = false | ||
|
|
||
| [type.cmake] | ||
| check-file = false | ||
|
|
||
| [type.rust] | ||
| check-file = false | ||
|
|
||
| [type.sh] | ||
| check-file = false | ||
|
|
||
| [files] | ||
| extend-exclude = [ | ||
| "**/corpus/*", | ||
| "**/mime.types", | ||
| "**/specs/**/*", | ||
| "*.bin", | ||
| "*.conf", | ||
| "*.cry", | ||
| "*.der", | ||
| "*.h", | ||
| "*.kat", | ||
| "*.patch", | ||
| "*.pcap", | ||
| "*.pdf", | ||
| "*.pem", | ||
| "*.png", | ||
| "*.priv", | ||
| "*.saw", | ||
| "*.snap", | ||
| "*.suppressions", | ||
| "tests/integrationv2/README.md", | ||
| ] | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| #!/usr/bin/env bash | ||
dougch marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| if ! command -v typos &> /dev/null; then | ||
| cargo install typos-cli | ||
| fi | ||
|
|
||
| eval typos -c .github/config/typos.toml $@ | ||
Uh oh!
There was an error while loading. Please reload this page.