-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #589 from yarikoptic/enh-codespell
Attempt #2: Add codespell support (config, workflow to detect/not fix) and make it fix few typos
- Loading branch information
Showing
8 changed files
with
32 additions
and
7 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,3 @@ | ||
[codespell] | ||
skip = .git,*.pdf,*.svg,deprecated,*.xml,*.mediawiki,*.omn | ||
ignore-words-list = covert,hed |
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,22 @@ | ||
--- | ||
name: Codespell | ||
|
||
on: | ||
push: | ||
branches: [master,develop] | ||
pull_request: | ||
branches: [master,develop] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
codespell: | ||
name: Check for spelling errors | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Codespell | ||
uses: codespell-project/actions-codespell@v2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -311,7 +311,7 @@ error is generated. | |
**Note:** With the possible (and rare) exception of new `unitClasses` and `units`, partnered library schemas | ||
should not have auxiliary sections except for the `prologue` and `epilogue`. | ||
Auxilliary sections have information for HED tools, and new entries may require modification to | ||
Auxiliary sections have information for HED tools, and new entries may require modification to | ||
schema validation tools. | ||
If a new entry is needed, contact the HED Working Group ([email protected]) to see if the | ||
|
@@ -336,7 +336,7 @@ This section summarizes the general design rules for all library schema. | |
:class: tip | ||
1. **Follow naming conventions**:<br/> | ||
A library schema must be given a name containing only alphabetic chararacters. | ||
A library schema must be given a name containing only alphabetic characters. | ||
This name must appear in the schema header line in the required format. | ||
<br> </br> | ||
2. **Use semantic versioning**:<br/> | ||
|
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