diff options
-rw-r--r-- | .pylintrc | 2 | ||||
-rw-r--r-- | buildstream/_yaml.py | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -116,8 +116,6 @@ disable=##################################### cyclic-import, - simplifiable-if-statement, - bad-whitespace # Enable the message, report, category or checker with the given id(s). You can diff --git a/buildstream/_yaml.py b/buildstream/_yaml.py index a597962ff..2f8a2921d 100644 --- a/buildstream/_yaml.py +++ b/buildstream/_yaml.py @@ -445,7 +445,7 @@ def is_composite_list(node): has_keys = False for key, _ in node_items(node): - if key in ['(>)', '(<)', '(=)']: + if key in ['(>)', '(<)', '(=)']: # pylint: disable=simplifiable-if-statement has_directives = True else: has_keys = True |