From ba5bf0c57a13df92f444a8b29ec5114ea8e35d78 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Mon, 20 Jun 2016 13:49:17 -0500 Subject: [PATCH] Add missing docstring to Application#report_benchmarks --- flake8/main/application.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake8/main/application.py b/flake8/main/application.py index efb1049..225c701 100644 --- a/flake8/main/application.py +++ b/flake8/main/application.py @@ -229,8 +229,10 @@ class Application(object): self.end_time = time.time() def report_benchmarks(self): + """Aggregate, calculate, and report benchmarks for this run.""" if not self.options.benchmark: return + time_elapsed = self.end_time - self.start_time statistics = [('seconds elapsed', time_elapsed)] add_statistic = statistics.append