From fbea229004ced319e5c34357679ca4f1001f54b7 Mon Sep 17 00:00:00 2001 From: Emmanuelle Vargas-Gonzalez Date: Tue, 16 Feb 2021 09:44:03 -0500 Subject: [PATCH] add styling changes --- stix2/environment.py | 5 +++-- stix2/equivalence/graph/__init__.py | 5 +++-- stix2/equivalence/object/__init__.py | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/stix2/environment.py b/stix2/environment.py index bd4445f..246d279 100644 --- a/stix2/environment.py +++ b/stix2/environment.py @@ -5,9 +5,10 @@ from .datastore import CompositeDataSource, DataStoreMixin from .equivalence.graph import graph_equivalence, graph_similarity from .equivalence.object import ( # noqa: F401 WEIGHTS, check_property_present, custom_pattern_based, exact_match, - list_reference_check, partial_external_reference_based, partial_list_based, + list_reference_check, object_equivalence, object_similarity, + partial_external_reference_based, partial_list_based, partial_location_distance, partial_string_based, partial_timestamp_based, - reference_check, object_equivalence, object_similarity, + reference_check, ) from .parsing import parse as _parse diff --git a/stix2/equivalence/graph/__init__.py b/stix2/equivalence/graph/__init__.py index 797aa23..d9d6e0c 100644 --- a/stix2/equivalence/graph/__init__.py +++ b/stix2/equivalence/graph/__init__.py @@ -2,8 +2,9 @@ import logging from ..object import ( - WEIGHTS, exact_match, list_reference_check, partial_string_based, - partial_timestamp_based, reference_check, object_similarity, object_pairs, bucket_per_type + WEIGHTS, bucket_per_type, exact_match, list_reference_check, object_pairs, + object_similarity, partial_string_based, partial_timestamp_based, + reference_check, ) logger = logging.getLogger(__name__) diff --git a/stix2/equivalence/object/__init__.py b/stix2/equivalence/object/__init__.py index 13e029c..29e3c4f 100644 --- a/stix2/equivalence/object/__init__.py +++ b/stix2/equivalence/object/__init__.py @@ -401,7 +401,7 @@ def list_reference_check(refs1, refs2, ds1, ds2, **weights): pairs = object_pairs( bucket_per_type(refs1, "id-split"), bucket_per_type(refs2, "id-split"), - weights + weights, ) for ref1, ref2 in pairs: