File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ install:
12
12
- if [[ $TRAVIS_PYTHON_VERSION != 3.5 ]]; then pip install black==19.10b0; fi
13
13
script :
14
14
- if [[ $TRAVIS_PYTHON_VERSION != 3.5 ]]; then black --check *.py */; fi
15
- - isort --check-only --recursive *.py */
15
+ # isort 5 only runs under Python >= 3.6
16
+ - if [[ $TRAVIS_PYTHON_VERSION != 3.5 ]]; then isort --check-only --recursive *.py */; fi
16
17
- flake8
17
18
- py.test --cov .
18
19
after_success : coveralls
Original file line number Diff line number Diff line change 9
9
from flattentool .json_input import BadlyFormedJSONError
10
10
from flattentool .output import FORMATS as OUTPUT_FORMATS
11
11
12
-
13
12
"""
14
13
This file does most of the work of the flatten-tool commandline command.
15
14
Original file line number Diff line number Diff line change 15
15
if sys .version_info [:2 ] > (3 , 0 ):
16
16
import pathlib
17
17
else :
18
- import urlparse , urllib
18
+ import urllib
19
+
20
+ import urlparse
19
21
20
22
21
23
def get_property_type_set (property_schema_dict ):
You can’t perform that action at this time.
0 commit comments