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

Provide codespell config and workflow #619

Merged
merged 3 commits into from
Jan 25, 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,.venv,venvs,*.svg,_build
# te -- TE as codespell is case insensitive
ignore-words-list = te
19 changes: 19 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Codespell

on:
push:
branches: [master]
pull_request:
branches: [master]

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@v1
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
- try a simple fix for wrongly ordered files in tar file [#535](https://github.com/nipy/heudiconv/pull/535) ([@bpinsard](https://github.com/bpinsard))
- BF: Fix the order of the 'echo' entity in the filename [#542](https://github.com/nipy/heudiconv/pull/542) ([@pvelasco](https://github.com/pvelasco))
- ENH: add HeudiconvVersion to sidecar .json files [#529](https://github.com/nipy/heudiconv/pull/529) ([@yarikoptic](https://github.com/yarikoptic))
- BF (TST): make anonymize_script actually output anything and map determinstically [#511](https://github.com/nipy/heudiconv/pull/511) ([@yarikoptic](https://github.com/yarikoptic))
- BF (TST): make anonymize_script actually output anything and map deterministically [#511](https://github.com/nipy/heudiconv/pull/511) ([@yarikoptic](https://github.com/yarikoptic))
- Rename DICOMCONVERT_README.md to README.md [#4](https://github.com/nipy/heudiconv/pull/4) ([@satra](https://github.com/satra))

#### ⚠️ Pushed to `master`
Expand Down Expand Up @@ -165,7 +165,7 @@ Various improvements and compatibility/support (dcm2niix, datalad) changes.

- Python 3.5 EOLed, supported (tested) versions now: 3.6 - 3.9
- In reprorin heuristic, allow for having multiple accessions since now there is
`-g all` groupping ([#508][])
`-g all` grouping ([#508][])
- For BIDS, produce a singular `scans.json` at the top level, and not one per
sub/ses (generates too many identical files) ([#507][])

Expand Down Expand Up @@ -486,7 +486,7 @@ A usable release to support [DBIC][] use-case
A somewhat working release on the way to support [DBIC][] use-case
## Added
- more tests
- groupping of dicoms by series if provided
- grouping of dicoms by series if provided
- many more features and fixes

# [0.2] - 2016-10-20
Expand Down
2 changes: 1 addition & 1 deletion utils/test-compare-two-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function run() {
shift
source $heudiconvdir/venvs/dev3/bin/activate
whichheudiconv=$(which heudiconv)
# to get "reproducible" dataset UUIDs (might be detremental if we had multiple datalad calls
# to get "reproducible" dataset UUIDs (might be detrimental if we had multiple datalad calls
# but since we use python API for datalad, should be Ok)
export DATALAD_SEED=1

Expand Down