Skip to content

Commit

Permalink
Merge pull request #85 from cpp-lln-lab/remi-update_randomize
Browse files Browse the repository at this point in the history
fix typos in cfg files for mh_linter
  • Loading branch information
Remi-Gau authored Aug 22, 2020
2 parents f6e3b4c + febf3e6 commit 962c947
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
11 changes: 9 additions & 2 deletions manualTests/miss_hit.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# style guide (https://florianschanda.github.io/miss_hit/style_checker.html)
line_length: 100
regex_function_name: "(test_[a-z]+)(([A-Z]){1}[A-Za-z]+)*"
suppress_rule: "copyright_notice"
regex_function_name: "((test_[a-z]+)|[a-z]+)(([A-Z]){1}[A-Za-z]+)*"
suppress_rule: "copyright_notice"

# metrics limit for the code quality (https://florianschanda.github.io/miss_hit/metrics.html)
metric "cnest": limit 4
metric "file_length": limit 500
metric "cyc": limit 15
metric "parameters": limit 5
2 changes: 1 addition & 1 deletion miss_hit.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# styly guide (https://florianschanda.github.io/miss_hit/style_checker.html)
# style guide (https://florianschanda.github.io/miss_hit/style_checker.html)
line_length: 100
regex_function_name: "[a-z]+(([A-Z]){1}[A-Za-z]+)*"
suppress_rule: "copyright_notice"
Expand Down
9 changes: 8 additions & 1 deletion tests/miss_hit.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# style guide (https://florianschanda.github.io/miss_hit/style_checker.html)
line_length: 100
regex_function_name: "((test_[a-z]+)|[a-z]+)(([A-Z]){1}[A-Za-z]+)*"
suppress_rule: "copyright_notice"
suppress_rule: "copyright_notice"

# metrics limit for the code quality (https://florianschanda.github.io/miss_hit/metrics.html)
metric "cnest": limit 4
metric "file_length": limit 500
metric "cyc": limit 15
metric "parameters": limit 5

0 comments on commit 962c947

Please sign in to comment.