From 46a12a83a8d183e9f0d49363373cd7a939a7bc55 Mon Sep 17 00:00:00 2001 From: QuentinN42 Date: Thu, 3 Feb 2022 21:08:53 +0100 Subject: [PATCH] fix: missed return statement --- yamllint/format.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yamllint/format.py b/yamllint/format.py index ad32c81..8e601c7 100644 --- a/yamllint/format.py +++ b/yamllint/format.py @@ -119,3 +119,5 @@ def show_all_problems(all_problems, args_format, no_warn): for file, problem in all_problems.items(): curr_level = show_problems(problem, file, args_format, no_warn) max_level = max(curr_level, max_level) + + return max_level