diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-11-19 14:52:46 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-11-19 14:52:46 +0000 |
commit | a2aa51f5702b18016c25d943499941323952704d (patch) | |
tree | 7ee43f79639ee53903e7ca389e548974e1497c3a /gitlint-core/gitlint/display.py | |
parent | Adding upstream version 0.17.0. (diff) | |
download | gitlint-a2aa51f5702b18016c25d943499941323952704d.tar.xz gitlint-a2aa51f5702b18016c25d943499941323952704d.zip |
Adding upstream version 0.18.0.upstream/0.18.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gitlint-core/gitlint/display.py')
-rw-r--r-- | gitlint-core/gitlint/display.py | 6 |
1 files changed, 3 insertions, 3 deletions
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") |