Skip to content

Commit e97890b

Browse files
authored
codespell: config, workflow + typos fixed (#541)
* Add github action to codespell master on push and PRs * Add rudimentary codespell config * add ignores * [DATALAD RUNCMD] another ambigous typo fix === Do not change lines below === { "chain": [ "3d3c4056c52ea0763b0a444fa980e8eac23bd99e" ], "cmd": "git-sedi retrival retrieval", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ * ignore connexion module and zoon and rime and covert * [DATALAD RUNCMD] run codespell throughout === Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent 31d1f80 commit e97890b

File tree

14 files changed

+39
-12
lines changed

14 files changed

+39
-12
lines changed

.codespellrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[codespell]
2+
skip = .git,*.pdf,*.svg,*.ts,*.tsx,package-lock.json,data-*vocabulary.txt
3+
# regexes
4+
ignore-regex = r"\(\?i\).*\\\\1
5+
ignore-words-list = te,fwe,connexion,zoon,covert,rime

.github/workflows/codespell.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Codespell
3+
4+
on:
5+
push:
6+
branches: [master]
7+
pull_request:
8+
branches: [master]
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
codespell:
15+
name: Check for spelling errors
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v3
21+
- name: Codespell
22+
uses: codespell-project/actions-codespell@v2

compose/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ First, set up the main environment variables in `.env` (see: `.env.example`).
99

1010
Edit the `.env` template to set the correct variables
1111

12-
## Initalizing backend
12+
## Initializing backend
1313
Create the network, build the containers, and start services using the development configuration:
1414

1515
docker network create nginx-proxy # if this does not already exist

compose/neurosynth-frontend/src/assets/config/meta_analysis_params.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
"default": 10000
156156
},
157157
"xyz": {
158-
"description": "Tab-delimited file of coordinates from database or numpy array with XYZ coordinates. Voxels are rows and x, y, z (meaning coordinates) values are the three columnns.",
158+
"description": "Tab-delimited file of coordinates from database or numpy array with XYZ coordinates. Voxels are rows and x, y, z (meaning coordinates) values are the three columns.",
159159
"type": "str",
160160
"default": null
161161
},

compose/neurosynth_compose/schemas/analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class MetaAnalysisResultSchema(BaseSchema):
197197

198198
@post_load
199199
def process_data(self, data, **kwargs):
200-
# propogate meta-analysis id to the neurovault collection
200+
# propagate meta-analysis id to the neurovault collection
201201
if data.get("neurovault_collection", None):
202202
data["neurovault_collection"]["meta_analysis_id"] = data["meta_analysis_id"]
203203

compose/neurosynth_compose/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def mock_ns(monkeysession):
155155

156156

157157
"""
158-
Session / db managment tools
158+
Session / db management tools
159159
"""
160160

161161

docs/taxonomy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The study is connected to the original journal it was published in.
4545

4646
### Functions
4747

48-
Studies can be created, cloned, and edited to accomodate your needs for your meta-analysis
48+
Studies can be created, cloned, and edited to accommodate your needs for your meta-analysis
4949

5050
## Analysis
5151

docs/typical-workflows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ If the study does indeed use a finger tapping task, she wants to keep track of t
1212
To the left of the study there is a plus button.
1313
She clicks on the plus button and sees she can add the study to a "study-set".
1414
She names the studyset "finger tapping" and adds the selected study.
15-
When she is done reading and adding all relevent studies, she notices
15+
When she is done reading and adding all relevant studies, she notices
1616
that the finger tapping task typically falls under three categories:
1717
1) right handed index finger,
1818
2) right handed multiple fingers, and

store/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ First, set up the main environment variables in `.env` (see: `.env.example`).
99

1010
Edit the `.env` template to set the correct variables
1111

12-
## Initalizing backend
12+
## Initializing backend
1313
Create the network, build the containers, and start services using the development configuration:
1414

1515
docker network create nginx-proxy

store/neurostore/ingest/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def ingest_neurosynth(max_rows=None):
221221
base_study = base_studies[0]
222222
elif len(base_studies) > 1:
223223
source_base_study = base_studies[0]
224-
# do not overwrite the verions column
224+
# do not overwrite the versions column
225225
# we want to append to this column
226226
columns = [
227227
c

0 commit comments

Comments
 (0)