File tree Expand file tree Collapse file tree 6 files changed +16
-13
lines changed
Expand file tree Collapse file tree 6 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 11import re
22
3- from six .moves import urllib , reduce
3+ from six .moves import reduce , urllib
44
55__all__ = 'IMPORT_RE' , 'import_string' , 'url_endswith_slash'
66IMPORT_RE = re .compile (
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def get_version():
4242 'pytest >= 3.1.2, < 4.0.0' ,
4343 'pytest-flake8 >= 0.8.1, < 1.0.0' ,
4444 'flake8-import-order >= 0.12, < 1.0' ,
45- 'flake8-import-order-spoqa >= 1.0.0 , < 2.0.0' ,
45+ 'flake8-import-order-spoqa >= 1.0.1 , < 2.0.0' ,
4646]
4747docs_require = [
4848 'Sphinx' ,
Original file line number Diff line number Diff line change 55import typing
66import uuid
77
8- from pytest import raises , mark
8+ from pytest import mark , raises
99from six import PY3 , text_type
1010
1111from nirum ._compat import utc
12- from nirum .deserialize import (deserialize_unboxed_type , deserialize_meta ,
12+ from nirum .deserialize import (deserialize_meta ,
13+ deserialize_optional ,
14+ deserialize_primitive ,
15+ deserialize_record_type ,
1316 deserialize_tuple_type ,
14- deserialize_record_type , deserialize_union_type ,
15- deserialize_optional , deserialize_primitive )
17+ deserialize_unboxed_type ,
18+ deserialize_union_type )
1619from nirum .serialize import serialize_record_type
1720
1821
Original file line number Diff line number Diff line change 11import json
22
3- from pytest import fixture , raises , mark
3+ from pytest import fixture , mark , raises
44from six import text_type
55from werkzeug .test import Client as TestClient
66from werkzeug .wrappers import Response
77
88from .nirum_schema import import_nirum_fixture
9- from nirum .exc import (InvalidNirumServiceMethodTypeError ,
10- InvalidNirumServiceMethodNameError )
9+ from nirum .exc import (InvalidNirumServiceMethodNameError ,
10+ InvalidNirumServiceMethodTypeError )
1111from nirum .rpc import Client , WsgiApp
1212from nirum .test import MockOpener
1313
Original file line number Diff line number Diff line change 77from .nirum_schema import import_nirum_fixture
88from nirum ._compat import utc
99from nirum .datastructures import List
10- from nirum .serialize import (serialize_unboxed_type , serialize_record_type ,
11- serialize_meta , serialize_union_type )
10+ from nirum .serialize import (serialize_meta , serialize_record_type ,
11+ serialize_unboxed_type , serialize_union_type )
1212
1313
1414nirum_fixture = import_nirum_fixture ()
Original file line number Diff line number Diff line change 55from six import text_type
66
77from nirum .datastructures import List
8- from nirum .validate import (validate_unboxed_type , validate_record_type ,
9- validate_union_type , validate_type )
8+ from nirum .validate import (validate_record_type , validate_type ,
9+ validate_unboxed_type , validate_union_type )
1010
1111
1212def test_validate_unboxed_type ():
You can’t perform that action at this time.
0 commit comments