-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add codespell support (config, workflow to detect/not fix) and make i…
…t fix few typos (#12) * Add github action to codespell master on push and PRs * Add rudimentary codespell config * [DATALAD RUNCMD] run codespell throughout fixing typos automagically (but ignoring overall fail due to ambigous ones) === Do not change lines below === { "chain": [], "cmd": "codespell -w || :", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ * [DATALAD RUNCMD] Do interactive fixing of some ambigous typos === Do not change lines below === { "chain": [], "cmd": "codespell -w -i 3 -C 2", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ * refactor(ci): move codespell with the linters. --------- Co-authored-by: Pierre-Antoine Comby <[email protected]>
- Loading branch information
1 parent
f392915
commit 1bca434
Showing
8 changed files
with
31 additions
and
9 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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[project] | ||
name = "patch-denoise" | ||
description = "Denoising method for sequence of images or volumes. Primarly targeting fMRI data." | ||
description = "Denoising method for sequence of images or volumes. Primarily targeting fMRI data." | ||
authors = [{name="Pierre-antoine Comby", email="[email protected]"}] | ||
|
||
readme = "README.rst" | ||
|
@@ -29,12 +29,14 @@ classifiers = [ | |
[project.optional-dependencies] | ||
optional = ["modopt", "nipype", "numba"] | ||
test = ["pytest", "pytest-cov", "pytest-xdist", "pytest-sugar"] | ||
|
||
doc = [ | ||
"pydata-sphinx-theme", | ||
"numpydoc", | ||
"sphinx_gallery", | ||
"sphinx", | ||
] | ||
|
||
dev = ["black", "isort", "ruff"] | ||
|
||
[project.scripts] | ||
|
@@ -80,3 +82,10 @@ addopts = [ | |
"--cov-report=term-missing", | ||
"--cov-report=xml" | ||
] | ||
|
||
[tool.codespell] | ||
# Ref: https://github.com/codespell-project/codespell#using-a-config-file | ||
skip = '.git*' | ||
check-hidden = true | ||
ignore-regex = '\bND\b' | ||
ignore-words-list = 'fro' |
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