From 9931ad699ce2be71286bca0b991c8b3427ef6d40 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 1 Feb 2024 17:22:42 +0100 Subject: [PATCH] Undo ruff changes that conflict with flake8 --- tests/rules/test_indentation.py | 2 +- tests/test_spec_examples.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/rules/test_indentation.py b/tests/rules/test_indentation.py index a83bc13a..b08ada71 100644 --- a/tests/rules/test_indentation.py +++ b/tests/rules/test_indentation.py @@ -192,7 +192,7 @@ def test_non_indented_sequences(self): 'BMapStart B_MAP:0 KEY:0 VAL:2 B_SEQ:0 B_ENT:2 B_MAP:2\n' ' Key B_MAP:0 KEY:0 VAL:2 B_SEQ:0 B_ENT:2 B_MAP:2 KEY:2\n' ' Scalar B_MAP:0 KEY:0 VAL:2 B_SEQ:0 B_ENT:2 B_MAP:2 KEY:2\n' - ' Value B_MAP:0 KEY:0 VAL:2 B_SEQ:0 B_ENT:2 B_MAP:2 KEY:2 VAL:4\n' + ' Value B_MAP:0 KEY:0 VAL:2 B_SEQ:0 B_ENT:2 B_MAP:2 KEY:2 VAL:4\n' # noqa: E501 ' Scalar B_MAP:0 KEY:0 VAL:2 B_SEQ:0 B_ENT:2 B_MAP:2\n' ' BEnd B_MAP:0\n' # missing BEnd here diff --git a/tests/test_spec_examples.py b/tests/test_spec_examples.py index eb1582ef..87a57f63 100644 --- a/tests/test_spec_examples.py +++ b/tests/test_spec_examples.py @@ -42,6 +42,7 @@ # encoding='utf-8') as g: # g.write(text) + class SpecificationTestCase(RuleTestCase): rule_id = None