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 .other import KillChainPhase
from .properties import (IDProperty, IntegerProperty, ListProperty,
ReferenceProperty, StringProperty,
TimestampProperty, TypeProperty)
ReferenceProperty, StringProperty, TimestampProperty,
TypeProperty)
from .utils import NOW

View File

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

View File

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