Skip to content

Commit 5365de4

Browse files
committed
add a bit of doc
1 parent 068a80b commit 5365de4

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This will only work on your repo if you have an account on travis and you
33
# have set it up to run continuous integration on this this repo
44

5-
# Linux distribution
5+
# Linux distribution (bionic beaver)
66
dist: bionic
77

88
# Language and version

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ We use the following regular expression for function names: `[a-z]+(([A-Z]|[0-9]
5757

5858
We keep the McCabe complexity as reported by the [check_my_code function](https://github.com/Remi-Gau/check_my_code) below 15.
5959

60-
We use the [MISS_HIT linter](https://florianschanda.github.io/miss_hit/style_checker.html) to automatically fix some linting issues.
60+
We use the [MISS_HIT linter](https://florianschanda.github.io/miss_hit/style_checker.html) to automatically fix some linting issues. The code style and quality is also checked during the continuous integration.
6161

6262
## 3. <a name='Howtoinstall'></a>How to install
6363

@@ -170,6 +170,10 @@ Using empty vectors (ie `[]`) or a negative value for those means that you will
170170

171171
## 5. <a name='Structure'></a>Structure
172172

173+
The `cfg` structure is where most of the information about your experiment will be defined.
174+
175+
Below we try to outline what it contains.
176+
173177
```matlab
174178
175179
cfg.testingDevice = 'pc';

docs/functions_description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
This will initialize PsychToolBox
3333

3434
- screen
35-
- the windon opened takes the whole screen by default
35+
- the window opened takes the whole screen by default
3636
- set in debug mode with window transparency if necessary
3737
- can skip synch test if you ask for it (nicely)
3838
- gets the flip interval

miss_hit.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
# styly guide (https://florianschanda.github.io/miss_hit/style_checker.html)
12
line_length: 100
23
regex_function_name: "[a-z]+(([A-Z]){1}[A-Za-z]+)*"
34
suppress_rule: "copyright_notice"
45

6+
# metrics limit for the code quality (https://florianschanda.github.io/miss_hit/metrics.html)
57
metric "cnest": limit 4
68
metric "file_length": limit 500
79
metric "cyc": limit 15

0 commit comments

Comments
 (0)