Skip to content
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

codespell: add config and action to codespell the code to avoid known typos #2

Merged
merged 4 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[codespell]
skip = .git,*.pdf,*.svg
#
# ignore-words-list =
22 changes: 22 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Codespell

on:
push:
branches: [main]
pull_request:
branches: [main]

permissions:
contents: read

jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Codespell
uses: codespell-project/actions-codespell@v2
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/hasParent": {
"_instruction": "Add all anatomical parent structures for this parcellation entity as defined within the corrsponding brain atlas.",
"_instruction": "Add all anatomical parent structures for this parcellation entity as defined within the corresponding brain atlas.",
"_linkedTypes": [
"https://openminds.ebrains.eu/sands/ParcellationEntity"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "AnatomicalTargetPosition",
"properties": {
"https://openminds.ebrains.eu/vocab/additionalRemarks": {
"_instruction": "Enter any additional remarks concering this anatomical target position.",
"_instruction": "Enter any additional remarks concerning this anatomical target position.",
"description": "Mention of what deserves additional attention or notice.",
"formatting": "text/markdown",
"label": "Additional remarks",
Expand Down
2 changes: 1 addition & 1 deletion schemas/latest/chemicals/chemicalMixture.schema.omi.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "ChemicalMixture",
"properties": {
"https://openminds.ebrains.eu/vocab/additionalRemarks": {
"_instruction": "Enter any additional remarks concering this chemical mixture.",
"_instruction": "Enter any additional remarks concerning this chemical mixture.",
"description": "Mention of what deserves additional attention or notice.",
"formatting": "text/markdown",
"label": "Additional remarks",
Expand Down
2 changes: 1 addition & 1 deletion schemas/latest/chemicals/chemicalSubstance.schema.omi.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "ChemicalSubstance",
"properties": {
"https://openminds.ebrains.eu/vocab/additionalRemarks": {
"_instruction": "Enter any additional remarks concering this chemical substance.",
"_instruction": "Enter any additional remarks concerning this chemical substance.",
"description": "Mention of what deserves additional attention or notice.",
"formatting": "text/markdown",
"label": "Additional remarks",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/latest/controlledTerms/ageCategory.schema.omi.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/latest/controlledTerms/atlasType.schema.omi.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/latest/controlledTerms/cellType.schema.omi.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/latest/controlledTerms/colormap.schema.omi.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/latest/controlledTerms/dataType.schema.omi.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/latest/controlledTerms/deviceType.schema.omi.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/latest/controlledTerms/disease.schema.omi.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"type": "string"
},
"https://openminds.ebrains.eu/vocab/synonym": {
"_instruction": "Enter one or several synonyms (inlcuding abbreviations) for this controlled term.",
"_instruction": "Enter one or several synonyms (including abbreviations) for this controlled term.",
"description": "Words or expressions used in the same language that have the same or nearly the same meaning in some or all senses.",
"formatting": "text/plain",
"items": {
Expand Down
Loading
Loading