Skip to content

Commit 46b475f

Browse files
authored
Merge pull request #180 from cpp-lln-lab/dev
[FIX] apply patch end of line extra tab
2 parents 269aa60 + 7764ad6 commit 46b475f

39 files changed

+278
-267
lines changed

.github/workflows/bids_validator.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- master
77
pull_request:
8-
branches: 'master'
8+
branches: ['master']
99

1010
env:
1111
OCTFLAGS: --no-gui --no-window-system --silent
@@ -23,27 +23,23 @@ jobs:
2323
- name: Make jsonread for octave
2424
run: |
2525
sudo apt-get -y -qq update
26-
sudo apt-get -y install octave
26+
sudo apt-get -y install octave
2727
sudo apt-get -y install liboctave-dev
2828
cd lib/JSONio
2929
mkoctfile --mex jsonread.c jsmn.c -DJSMN_PARENT_LINKS
3030
cd ..
3131
3232
- name: Update octave path
3333
run: |
34+
octave $OCTFLAGS --eval "addpath(pwd); savepath();"
3435
octave $OCTFLAGS --eval "addpath(genpath(fullfile(pwd, 'lib'))); savepath();"
35-
octave $OCTFLAGS --eval "addpath(genpath(fullfile(pwd, 'src'))); savepath();"
36+
octave $OCTFLAGS --eval "addpath(genpath(fullfile(pwd, 'src'))); savepath();"
3637
3738
- name: Install BIDS validator
3839
run: |
3940
sudo npm install -g [email protected]
4041
41-
- name: Create dummy dataset and validate it
42+
- name: Create dummy dataset and validate it
4243
run: |
4344
cd tests/manualTests
4445
octave $OCTFLAGS --eval "test_makeRawDataset" && bids-validator `pwd`/output/raw/ --ignoreNiftiHeaders
45-
46-
47-
48-
49-

.github/workflows/check_markdown.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/check_md_links.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ on:
77
branches:
88
- master
99
pull_request:
10-
branches: '*'
10+
branches: ['*']
1111

1212
jobs:
1313
markdown-link-check:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@master
17-
- uses: gaurav-nelson/github-action-markdown-link-check@v1
17+
- uses: gaurav-nelson/github-action-markdown-link-check@v1

.github/workflows/miss_hit.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ on:
55
branches:
66
- master
77
pull_request:
8-
branches: '*'
9-
8+
branches: ['*']
109
jobs:
1110
build:
1211

.github/workflows/run_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- master
77
- dev
88
pull_request:
9-
branches: '*'
9+
branches: ['*']
1010

1111
jobs:
1212
build:
@@ -21,7 +21,7 @@ jobs:
2121
- name: Make jsonread for octave
2222
run: |
2323
sudo apt-get -y -qq update
24-
sudo apt-get -y install octave
24+
sudo apt-get -y install octave
2525
sudo apt-get -y install liboctave-dev
2626
cd lib/JSONio
2727
mkoctfile --mex jsonread.c jsmn.c -DJSMN_PARENT_LINKS
@@ -30,7 +30,7 @@ jobs:
3030
uses: joergbrech/moxunit-action@master
3131
with:
3232
tests: tests # files or directories containing the MOxUnit test cases
33-
src: src # directories to be added to the Octave search path before running the tests.
33+
src: src # directories to be added to the Octave search path before running the tests.
3434
ext: tests/utils # External resources to add to the search put (excluded from coverage)
3535
# data: # Directory for test data
3636
with_coverage: true

.pre-commit-config.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
repos:
2+
3+
- repo: local
4+
5+
hooks:
6+
7+
- id: mh_version
8+
name: mh_version
9+
entry: mh_style
10+
args: [-v]
11+
verbose: true
12+
language: python
13+
additional_dependencies: [miss_hit_core]
14+
15+
# - id: mh_style
16+
# name: mh_style
17+
# entry: mh_style
18+
# args: [--process-slx, --fix]
19+
# files: ^(.*\.(m|slx))$
20+
# language: python
21+
# additional_dependencies: [miss_hit_core]
22+
23+
# - id: mh_metric
24+
# name: mh_metric
25+
# entry: mh_metric
26+
# args: [--ci]
27+
# files: ^(.*\.(m|slx))$
28+
# language: python
29+
# additional_dependencies: [miss_hit_core]
30+
31+
# - id: mh_lint
32+
# name: mh_lint
33+
# entry: mh_lint
34+
# files: ^(.*\.(m|slx))$
35+
# language: python
36+
# additional_dependencies: [miss_hit]
37+
38+
- repo: https://github.com/pre-commit/pre-commit-hooks
39+
rev: v2.0.0
40+
hooks:
41+
- id: trailing-whitespace
42+
- id: end-of-file-fixer
43+
- id: check-yaml
44+
- id: check-added-large-files

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ formats:
2323
python:
2424
version: 3.7
2525
install:
26-
- requirements: requirements.txt
26+
- requirements: requirements.txt

.remarkrc

Lines changed: 0 additions & 11 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

.zenodo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@
3232
],
3333
"license": "MIT license",
3434
"upload_type": "software"
35-
}
35+
}

0 commit comments

Comments
 (0)