From 418952cc5c3b827cdb67aa955b002f4b0728b268 Mon Sep 17 00:00:00 2001 From: QuentinN42 Date: Thu, 10 Feb 2022 13:18:13 +0100 Subject: [PATCH] refactor: match flake requirements --- yamllint/linter.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/yamllint/linter.py b/yamllint/linter.py index c4b8bf4..f3ede52 100644 --- a/yamllint/linter.py +++ b/yamllint/linter.py @@ -33,7 +33,14 @@ PROBLEM_LEVELS = { class LintProblem(object): """Represents a linting problem found by yamllint.""" - def __init__(self, line, column, desc='', rule=None, level=None): + def __init__( + self, + line, + column, + desc='', + rule=None, + level=None + ): #: Line on which the problem was found (starting at 1) self.line = line #: Column on which the problem was found (starting at 1)