This repository has been archived by the owner on Jun 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* spellcheck CI * typos
- Loading branch information
Showing
15 changed files
with
88 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# adapted from https://github.com/JuliaDocs/Documenter.jl/blob/master/.github/workflows/SpellCheck.yml | ||
# see docs at https://github.com/crate-ci/typos | ||
name: Spell Check | ||
on: [pull_request] | ||
|
||
jobs: | ||
typos-check: | ||
name: Spell Check with Typos | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Actions Repository | ||
uses: actions/checkout@v4 | ||
- name: Check spelling | ||
uses: crate-ci/typos@master | ||
# don't fail on typos in files not impacted by this PR | ||
continue-on-error: true | ||
with: | ||
config: _typos.toml | ||
write_changes: true | ||
- uses: reviewdog/action-suggester@v1 | ||
with: | ||
tool_name: Typos | ||
fail_on_error: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# https://github.com/crate-ci/typos#false-positives | ||
[default] | ||
ignore-files = true | ||
|
||
[files] | ||
extend-exclude = ["_build/**", "_freeze/**", ".jupyter_cache/**", ".quarto/**", "_extensions/**"] | ||
|
||
[default.extend-identifiers] | ||
Lik = "Lik" | ||
missings = "missings" | ||
|
||
[default.extend-words] | ||
Lik = "Lik" | ||
missings = "missings" | ||
represention = "representation" | ||
|
||
[type.qmd] | ||
extend-glob = ["*.qmd"] | ||
|
||
[type.qmd.extend-words] | ||
multline = "multline" | ||
|
||
[type.package_toml] | ||
# Don't check spellings in these files | ||
extend-glob = ["Manifest.toml", "Project.toml"] | ||
check-file = false | ||
|
||
[type.bib] | ||
# contain lots of names, which are a great spot for false positives | ||
extend-glob = ["*.bib"] | ||
check-file = false | ||
|
||
[type.csl] | ||
# contains lots of boilerplate in other languages | ||
extend-glob = ["*.csl"] | ||
check-file = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.