Skip to content

Commit fb89e6d

Browse files
committed
add codespell and dependabot
1 parent 13ae739 commit fb89e6d

File tree

9 files changed

+46
-9
lines changed

9 files changed

+46
-9
lines changed

.codespellrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[codespell]
2+
skip = .git,env,*build,lib
3+
ignore-words-list = nwe
4+
builtin = clear,rare

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
# Documentation
3+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
4+
version: 2
5+
updates:
6+
- package-ecosystem: 'github-actions'
7+
directory: '/'
8+
schedule:
9+
interval: 'monthly'
10+
11+
- package-ecosystem: 'gitsubmodule'
12+
directory: '/'
13+
schedule:
14+
interval: 'monthly'

.github/workflows/codespell.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: codespell
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
# Check for common misspellings
15+
codespell:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: codespell-project/actions-codespell@master

initEnv.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
addDependencies();
6363
end
6464

65-
disp('Correct matlab/octave verions and added to the path!');
65+
disp('Correct matlab/octave versions and added to the path!');
6666

6767
end
6868

mainScript.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
% (C) Copyright 2018 Mohamed Rezk
2-
% (C) Copyright 2020 CPP visual motion localizer developpers
2+
% (C) Copyright 2020 CPP visual motion localizer developers
33

44
%% mainScript
55

setParameters.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
% (C) Copyright 2020 CPP visual motion localizer developpers
1+
% (C) Copyright 2020 CPP visual motion localizer developers
22

33
function [cfg] = setParameters()
44

@@ -18,7 +18,7 @@
1818

1919
cfg.debug.do = false; % To test the script out of the scanner, skip PTB sync
2020
cfg.debug.smallWin = false; % To test on a part of the screen, change to 1
21-
cfg.debug.transpWin = true; % To test with trasparent full size screen
21+
cfg.debug.transpWin = true; % To test with transparent full size screen
2222

2323
cfg.verbose = 0;
2424

@@ -57,7 +57,7 @@
5757

5858
cfg.timing.eventDuration = 2; % second
5959

60-
% Time between blocs in secs
60+
% Time between blocks in secs
6161
cfg.timing.IBI = 2;
6262
% Time between events in secs
6363
cfg.timing.ISI = 1;
@@ -74,7 +74,7 @@
7474

7575
cfg.timing.eventDuration = cfg.mri.repetitionTime / 2 - 0.04; % second
7676

77-
% Time between blocs in secs
77+
% Time between blocks in secs
7878
cfg.timing.IBI = 0;
7979
% Time between events in secs
8080
cfg.timing.ISI = 0;

src/postInitializationSetup.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
% (C) Copyright 2020 CPP visual motion localizer developpers
1+
% (C) Copyright 2020 CPP visual motion localizer developers
22

33
function varargout = postInitializationSetup(varargin)
44
% varargout = postInitializatinSetup(varargin)

src/preSaveSetup.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
% (C) Copyright 2020 CPP visual motion localizer developpers
1+
% (C) Copyright 2020 CPP visual motion localizer developers
22

33
function varargout = preSaveSetup(varargin)
44
% varargout = postInitializatinSetup(varargin)

src/preTrialSetup.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
% (C) Copyright 2020 CPP visual motion localizer developpers
1+
% (C) Copyright 2020 CPP visual motion localizer developers
22

33
function varargout = preTrialSetup(varargin)
44
% varargout = postInitializatinSetup(varargin)

0 commit comments

Comments
 (0)