refactor: match flake requirements

pull/442/head
QuentinN42 3 years ago
parent 4ae5487e3e
commit 418952cc5c
No known key found for this signature in database
GPG Key ID: 2CD7D563712B3A50

@ -33,7 +33,14 @@ PROBLEM_LEVELS = {
class LintProblem(object):
"""Represents a linting problem found by yamllint."""
def __init__(self, line, column, desc='<no description>', rule=None, level=None):
def __init__(
self,
line,
column,
desc='<no description>',
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)

Loading…
Cancel
Save