Fix import sort order

stix2.1
clenk 2017-07-14 16:02:29 -04:00
parent 7ebf5ac7c7
commit 5c5903179d
3 changed files with 9 additions and 7 deletions

View File

@ -7,8 +7,8 @@ from .common import COMMON_PROPERTIES
from .observables import ObservableProperty from .observables import ObservableProperty
from .other import KillChainPhase from .other import KillChainPhase
from .properties import (IDProperty, IntegerProperty, ListProperty, from .properties import (IDProperty, IntegerProperty, ListProperty,
ReferenceProperty, StringProperty, ReferenceProperty, StringProperty, TimestampProperty,
TimestampProperty, TypeProperty) TypeProperty)
from .utils import NOW from .utils import NOW

View File

@ -5,10 +5,10 @@ from stix2.exceptions import AtLeastOnePropertyError, DictionaryKeyError
from stix2.observables import EmailMIMEComponent, ExtensionsProperty from stix2.observables import EmailMIMEComponent, ExtensionsProperty
from stix2.properties import (BinaryProperty, BooleanProperty, from stix2.properties import (BinaryProperty, BooleanProperty,
DictionaryProperty, EmbeddedObjectProperty, DictionaryProperty, EmbeddedObjectProperty,
EnumProperty, HashesProperty, EnumProperty, HashesProperty, HexProperty,
HexProperty, IDProperty, IntegerProperty, IDProperty, IntegerProperty, ListProperty,
ListProperty, Property, ReferenceProperty, Property, ReferenceProperty, StringProperty,
StringProperty, TimestampProperty, TypeProperty) TimestampProperty, TypeProperty)
from .constants import FAKE_TIME from .constants import FAKE_TIME

View File

@ -30,7 +30,9 @@ max-line-length=160
[testenv:isort-check] [testenv:isort-check]
deps = isort deps = isort
commands = isort -rc stix2 examples -c -df commands =
isort -rc stix2 examples -df
isort -rc stix2 examples -c
[travis] [travis]
python = python =