diff --git a/manualTests/miss_hit.cfg b/manualTests/miss_hit.cfg index 074b1ea7..f59bdb02 100644 --- a/manualTests/miss_hit.cfg +++ b/manualTests/miss_hit.cfg @@ -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" \ No newline at end of file +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 \ No newline at end of file diff --git a/miss_hit.cfg b/miss_hit.cfg index 550425e6..f784081c 100644 --- a/miss_hit.cfg +++ b/miss_hit.cfg @@ -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" diff --git a/tests/miss_hit.cfg b/tests/miss_hit.cfg index 30aa3b8c..f59bdb02 100644 --- a/tests/miss_hit.cfg +++ b/tests/miss_hit.cfg @@ -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" \ No newline at end of file +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 \ No newline at end of file