diff --git a/gitinspector/extensions.py b/gitinspector/extensions.py index 3764735..270140b 100644 --- a/gitinspector/extensions.py +++ b/gitinspector/extensions.py @@ -19,7 +19,7 @@ from __future__ import unicode_literals -DEFAULT_EXTENSIONS = ["java", "c", "cc", "cpp", "h", "hh", "hpp", "py", "glsl", "rb", "js", "sql"] +DEFAULT_EXTENSIONS = ["java", "c", "cc", "cpp", "h", "hh", "hpp", "py", "glsl", "rb", "js", "sql", "go"] __extensions__ = DEFAULT_EXTENSIONS __located_extensions__ = set() diff --git a/gitinspector/metrics.py b/gitinspector/metrics.py index 8cc3588..aab03a6 100644 --- a/gitinspector/metrics.py +++ b/gitinspector/metrics.py @@ -25,7 +25,6 @@ from . import comment, filtering, interval __metric_eloc__ = {"java": 500, "c": 500, "cpp": 500, "cs": 500, "h": 300, "hpp": 300, "php": 500, "py": 500, "glsl": 1000, "rb": 500, "js": 500, "sql": 1000, "xml": 1000, "go":500} - # added eloc -- must test at 500 before opening request __metric_cc_tokens__ = [[["java", "js", "c", "cc", "cpp"], ["else", r"for\s+\(.*\)", r"if\s+\(.*\)", r"case\s+\w+:", "default:", r"while\s+\(.*\)"],