Add stix2.utils import to v20/test_versioning.py since the module
was used but not imported there. Also import sorting from the pre-commit hook.pull/1/head
parent
5522050899
commit
78d3b2c4c5
|
@ -2,6 +2,7 @@ import pytest
|
|||
|
||||
import stix2
|
||||
import stix2.exceptions
|
||||
import stix2.utils
|
||||
import stix2.v20
|
||||
import stix2.versioning
|
||||
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
import copy
|
||||
import datetime as dt
|
||||
from stix2.utils import (
|
||||
get_timestamp, parse_into_datetime
|
||||
)
|
||||
import stix2.base
|
||||
import stix2.v20.base
|
||||
|
||||
from six.moves.collections_abc import Mapping
|
||||
|
||||
import stix2.base
|
||||
from stix2.utils import get_timestamp, parse_into_datetime
|
||||
import stix2.v20.base
|
||||
|
||||
from .exceptions import (
|
||||
InvalidValueError, RevokeError, UnmodifiablePropertyError,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue