From d7981dce9fa24372b5f8f93f89a59be7d704bb0f Mon Sep 17 00:00:00 2001 From: Michael Chisholm Date: Mon, 12 Jul 2021 14:40:54 -0400 Subject: [PATCH] Stop the flake8 hook from complaining about a line in a unit test that it is misunderstanding and shouldn't be complaining about. --- stix2/test/v21/test_custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stix2/test/v21/test_custom.py b/stix2/test/v21/test_custom.py index 47b169b..13eeba9 100644 --- a/stix2/test/v21/test_custom.py +++ b/stix2/test/v21/test_custom.py @@ -1971,7 +1971,7 @@ def test_invalid_extension_prop_name(): ("7foo", stix2.properties.StringProperty()), ], ) - class CustomExt: + class CustomExt: # noqa: F811 extension_type = "toplevel-property-extension"