提交 a184f0d6 编写于 作者: L liangyongxiong

fix pylint warnings for HistogramContainer

上级 7f423216
......@@ -72,16 +72,16 @@ class Bucket:
class HistogramContainer:
# Max quantity of original buckets.
MAX_ORIGINAL_BUCKETS_COUNT = 90
"""
Histogram data container.
Args:
histogram_message (Summary.Histogram): Histogram message in summary file.
"""
# Max quantity of original buckets.
MAX_ORIGINAL_BUCKETS_COUNT = 90
def __init__(self, histogram_message: Summary.Histogram):
self._msg = histogram_message
original_buckets = [Bucket(bucket.left, bucket.width, bucket.count) for bucket in self._msg.buckets]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册