diff --git a/.travis.yml b/.travis.yml index f211d64..ec0b553 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,9 @@ language: python python: - "2.7" - - "3.3" - "3.4" - "3.5" + - "3.6" before_install: - pip install -U pip setuptools install: diff --git a/setup.py b/setup.py index af77e02..cb228fa 100755 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ def get_version(): 'astroid>=1.5,<1.6', 'six>=1.10.0,<2', 'typing>=3.5.3.0,<4', - 'autopep8>=1.2.2,<2', + 'autopep8>=1.3.4,<2', ], extras_require={ 'dev': [ diff --git a/shopify_python/git_utils.py b/shopify_python/git_utils.py index 0f8ebe0..268039f 100644 --- a/shopify_python/git_utils.py +++ b/shopify_python/git_utils.py @@ -78,6 +78,7 @@ def changed_python_files_in_tree(root_path): ('recursive', bool), ('select', typing.Set[str]), ('verbose', int), + ('hang_closing', bool), ]) @@ -100,7 +101,8 @@ def autopep_files(files, max_line_length): pep8_passes=-1, recursive=False, select={'W', 'E'}, - verbose=0) + verbose=0, + hang_closing=False) autopep8.fix_multiple_files(files, options, sys.stdout)