From f3b6c222fb11c96e2f8bbaa0622f46c8ec486874 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 19 Nov 2022 15:52:50 +0100 Subject: Merging upstream version 0.18.0. Signed-off-by: Daniel Baumann --- gitlint-core/gitlint/display.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gitlint-core/gitlint/display.py') diff --git a/gitlint-core/gitlint/display.py b/gitlint-core/gitlint/display.py index c9bcb01..d21b6c3 100644 --- a/gitlint-core/gitlint/display.py +++ b/gitlint-core/gitlint/display.py @@ -2,14 +2,14 @@ from sys import stdout, stderr class Display: - """ Utility class to print stuff to an output stream (stdout by default) based on the config's verbosity """ + """Utility class to print stuff to an output stream (stdout by default) based on the config's verbosity""" def __init__(self, lint_config): self.config = lint_config def _output(self, message, verbosity, exact, stream): - """ Output a message if the config's verbosity is >= to the given verbosity. If exact == True, the message - will only be outputted if the given verbosity exactly matches the config's verbosity. """ + """Output a message if the config's verbosity is >= to the given verbosity. If exact == True, the message + will only be outputted if the given verbosity exactly matches the config's verbosity.""" if exact: if self.config.verbosity == verbosity: stream.write(message + "\n") -- cgit v1.2.3