-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
metric_config.yaml
53 lines (44 loc) · 1.47 KB
/
metric_config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# This is a sample metric config
# Sample Groups definition:
# Groups:
# Group1:
# metrics:
# - FooMetric
# - BarMetric
# metric_expressions:
# - ^.*Baz.*$
#
# This defines a group named Group1 which explicitly includes the metrics
# FooMetric and BarMetric and also includes all metrics which match ^.*Baz.*$.
# NOTE: metrics and metric_expressions may be omitted
Groups:
- Python:
metric_expressions:
- (?i)^.*Python.*$
- CurseWords:
metric_expressions:
- ^TotalCurseWords.*$
- LinesOfCode:
metric_expressions:
- ^TotalLinesOfCode.*$
# Sample ColorOverrides definition:
# ColorOverrides:
# - PartialTemplateCount
#
# This indicates that PartialTemplateCount should be colored the opposite of
# the usual coloring (the usual coloring is up = red, down = green).
ColorOverrides: []
# These links will have the following variables substituted when displayed:
# {sha} - Points to the full (40-character) sha of the commit
CommitLinks:
View on Github: https://github.com/asottile/git-code-debt/commit/{sha}
# TODO: these are currently empty arrays because I plan to expand this with
# future functionality.
# These denote the metrics to show in the widget.
WidgetMetrics:
TotalLinesOfCode: {}
TotalLinesOfCode_css: {}
TotalLinesOfCode_python: {}
TotalLinesOfCode_javascript: {}
TotalLinesOfCode_plain-text: {}
TotalLinesOfCode_yaml: {}