From 3dba3f74f9df854498b2922d407f298776438b9e Mon Sep 17 00:00:00 2001 From: Michael Chisholm Date: Thu, 28 Apr 2022 21:39:59 -0400 Subject: [PATCH] Fix more pre-commit style issues. --- stix2/test/v20/pattern_ast_overrides.py | 1 - stix2/test/v20/test_pattern_expressions.py | 2 ++ stix2/test/v21/pattern_ast_overrides.py | 1 - stix2/test/v21/test_pattern_expressions.py | 2 ++ 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/stix2/test/v20/pattern_ast_overrides.py b/stix2/test/v20/pattern_ast_overrides.py index be945a8..16473ba 100644 --- a/stix2/test/v20/pattern_ast_overrides.py +++ b/stix2/test/v20/pattern_ast_overrides.py @@ -16,4 +16,3 @@ class StringConstantForTesting(StringConstant): class StartStopQualifierForTesting(StartStopQualifier): pass - diff --git a/stix2/test/v20/test_pattern_expressions.py b/stix2/test/v20/test_pattern_expressions.py index fe9604f..9579ef4 100644 --- a/stix2/test/v20/test_pattern_expressions.py +++ b/stix2/test/v20/test_pattern_expressions.py @@ -8,6 +8,8 @@ from stix2.pattern_visitor import create_pattern_object import stix2.patterns import stix2.utils +# flake8 does not approve of star imports. +# flake8: noqa: F405 from .pattern_ast_overrides import * diff --git a/stix2/test/v21/pattern_ast_overrides.py b/stix2/test/v21/pattern_ast_overrides.py index be945a8..16473ba 100644 --- a/stix2/test/v21/pattern_ast_overrides.py +++ b/stix2/test/v21/pattern_ast_overrides.py @@ -16,4 +16,3 @@ class StringConstantForTesting(StringConstant): class StartStopQualifierForTesting(StartStopQualifier): pass - diff --git a/stix2/test/v21/test_pattern_expressions.py b/stix2/test/v21/test_pattern_expressions.py index d1e5731..d171879 100644 --- a/stix2/test/v21/test_pattern_expressions.py +++ b/stix2/test/v21/test_pattern_expressions.py @@ -9,6 +9,8 @@ from stix2.pattern_visitor import create_pattern_object import stix2.patterns import stix2.utils +# flake8 does not approve of star imports. +# flake8: noqa: F405 from .pattern_ast_overrides import *