File tree Expand file tree Collapse file tree 9 files changed +89
-18
lines changed Expand file tree Collapse file tree 9 files changed +89
-18
lines changed Original file line number Diff line number Diff line change 1+ # Set the default behavior, in case people don't have core.autocrlf set.
2+ * text =auto
Original file line number Diff line number Diff line change 11* DS_Store
22
3- * .m~
4- * octave-workspace
5-
63# exclude content of logfiles folders
74* /logfiles /*
85* /* /* /logfiles /*
96* .tsv
107* .mat
8+
9+ # # virtual env
10+ env /*
11+ venv /*
12+
13+ # # visual studio code
14+ .vscode
15+
16+
17+ # # MATLAB / OCTAVE gitignore template
18+
19+ # From : https://github.com/github/gitignore/blob/master/Global/MATLAB.gitignore
20+
21+ # Windows default autosave extension
22+ * .asv
23+
24+ # OSX / *nix default autosave extension
25+ * .m~
26+
27+ # Compiled MEX binaries (all platforms)
28+ * .mex *
29+
30+ # Packaged app and toolbox files
31+ * .mlappinstall
32+ * .mltbx
33+
34+ # Generated helpsearch folders
35+ helpsearch * /
36+
37+ # Simulink code generation folders
38+ slprj /
39+ sccprj /
40+
41+ # Matlab code generation folders
42+ codegen /
43+
44+ # Simulink autosave extension
45+ * .autosave
46+
47+ # Simulink cache files
48+ * .slxc
49+
50+ # Octave session info
51+ octave-workspace
Original file line number Diff line number Diff line change 1+ repos :
2+
3+ - repo : local
4+
5+ hooks :
6+
7+ - id : mh_style
8+ name : mh_style
9+ entry : mh_style
10+ args : [--process-slx, --fix]
11+ files : ^(.*\.(m|slx))$
12+ language : python
13+ additional_dependencies : [miss_hit_core]
14+
15+ - id : mh_metric
16+ name : mh_metric
17+ entry : mh_metric
18+ args : [--ci]
19+ files : ^(.*\.(m|slx))$
20+ language : python
21+ additional_dependencies : [miss_hit_core]
22+
23+ - id : mh_lint
24+ name : mh_lint
25+ entry : mh_lint
26+ files : ^(.*\.(m|slx))$
27+ language : python
28+ additional_dependencies : [miss_hit]
29+
30+ - repo : https://github.com/pre-commit/pre-commit-hooks
31+ rev : v4.0.1
32+ hooks :
33+ - id : trailing-whitespace
34+ - id : end-of-file-fixer
35+ - id : check-yaml
36+ - id : check-added-large-files
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11line_length: 100
22regex_function_name: " [a-z]+(([A-Z]){1}[A-Za-z]+)*"
3+ regex_script_name: " [a-z]+(([A-Z]){1}[A-Za-z]+)*"
4+ regex_parameter_name: " [a-z]+(([A-Z]){1}[A-Za-z]+)*"
35suppress_rule: " copyright_notice"
46exclude_dir: " lib"
Original file line number Diff line number Diff line change 1+ miss_hit == 0.9.29
2+ pre-commit
Original file line number Diff line number Diff line change 1+ regex_parameter_name: " [a-zA-Z0-9_]+"
Original file line number Diff line number Diff line change 11# style guide (https://florianschanda.github.io/miss_hit/style_checker.html)
22line_length: 100
33regex_function_name: " ((test_[a-z]+)|[a-z]+)(([A-Z]){1}[A-Za-z]+)*"
4+ regex_parameter_name: " test_suite|((test_[a-z]+)|[a-z]+)(([A-Z]){1}[A-Za-z]+)*"
45suppress_rule: " copyright_notice"
56
67# metrics limit for the code quality (https://florianschanda.github.io/miss_hit/metrics.html)
Original file line number Diff line number Diff line change 1- v0.0 .1
1+ v0.2 .1
You can’t perform that action at this time.
0 commit comments