From 039051735542d29ae02f4faa09c0c51c47292bf0 Mon Sep 17 00:00:00 2001 From: Eric Arellano Date: Wed, 11 Jul 2018 13:51:26 -0400 Subject: [PATCH] Remove unnecessary __future__ imports (#6096) Removes `from __future__ import generators, nested_scopes, with_statement` from every header + updates header checker. These future imports are [enabled by default since Python 2.6]( https://docs.python.org/2.7/reference/simple_stmts.html#future-statements) so they were redundant. Removing them reduces duplication and simplifies code base ever so slightly. We'll also be doing this type of change several times once we drop Python 2, e.g. removing `__future__` entirely and removing `from builtins` imports, so this is a good first step. #### FYI commands to do this * `grep -rli 'from\ __future__\ import' src tests pants-plugins examples contrib | xargs perl -pi -e 's/.*from __future__ import.*/from __future__ import absolute_import, division, print_function, unicode_literals/'` * `grep -rli 'from\ __future__\ import' src tests pants-plugins examples contrib | xargs perl -ni -e 'print unless /.*with_statement.*/'` ## Impact on PRs Pre-existing PRs either must be merged first or rebased onto this after it's merged. --- build-support/bin/check_header_helper.py | 11 +++++----- .../src/python/pants/contrib/avro/register.py | 3 +-- .../contrib/avro/targets/java_avro_library.py | 3 +-- .../pants/contrib/avro/tasks/avro_gen.py | 3 +-- .../contrib/avro/tasks/test_avro_gen.py | 3 +-- .../avro/tasks/test_avro_gen_integration.py | 3 +-- .../buildgen/build_file_manipulator.py | 3 +-- .../buildgen/test_build_file_manipulator.py | 3 +-- .../pants/contrib/buildrefactor/buildozer.py | 3 +-- .../contrib/buildrefactor/buildozer_binary.py | 3 +-- .../contrib/buildrefactor/meta_rename.py | 3 +-- .../pants/contrib/buildrefactor/register.py | 3 +-- .../contrib/buildrefactor/buildozer_util.py | 3 +-- .../contrib/buildrefactor/test_buildozer.py | 3 +-- .../test_buildozer_integration.py | 3 +-- .../contrib/buildrefactor/test_meta_rename.py | 3 +-- .../test_meta_rename_integration.py | 3 +-- .../pants/contrib/codeanalysis/register.py | 3 +-- .../codeanalysis/tasks/bundle_entries.py | 3 +-- .../codeanalysis/tasks/extract_java.py | 3 +-- .../contrib/codeanalysis/tasks/index_java.py | 3 +-- .../tasks/indexable_java_targets.py | 3 +-- .../tasks/test_index_java_integration.py | 3 +-- .../pants/contrib/confluence/register.py | 3 +-- .../confluence/tasks/confluence_publish.py | 3 +-- .../confluence/util/confluence_util.py | 3 +-- .../src/python/pants/contrib/cpp/register.py | 3 +-- .../pants/contrib/cpp/targets/cpp_binary.py | 3 +-- .../pants/contrib/cpp/targets/cpp_library.py | 3 +-- .../pants/contrib/cpp/targets/cpp_target.py | 3 +-- .../contrib/cpp/tasks/cpp_binary_create.py | 3 +-- .../pants/contrib/cpp/tasks/cpp_compile.py | 3 +-- .../contrib/cpp/tasks/cpp_library_create.py | 3 +-- .../python/pants/contrib/cpp/tasks/cpp_run.py | 3 +-- .../pants/contrib/cpp/tasks/cpp_task.py | 3 +-- .../contrib/cpp/toolchain/cpp_toolchain.py | 3 +-- .../contrib/cpp/test_cpp_integration.py | 3 +-- .../contrib/cpp/test_cpp_toolchain.py | 3 +-- .../pants/contrib/errorprone/register.py | 3 +-- .../contrib/errorprone/tasks/errorprone.py | 3 +-- .../errorprone/tasks/test_errorprone.py | 3 +-- .../tasks/test_errorprone_integration.py | 3 +-- .../python/pants/contrib/findbugs/register.py | 3 +-- .../pants/contrib/findbugs/tasks/findbugs.py | 3 +-- .../contrib/findbugs/tasks/test_findbugs.py | 3 +-- .../tasks/test_findbugs_integration.py | 3 +-- .../src/python/pants/contrib/go/register.py | 3 +-- .../go/subsystems/archive_retriever.py | 3 +-- .../contrib/go/subsystems/fetch_error.py | 3 +-- .../pants/contrib/go/subsystems/fetcher.py | 3 +-- .../contrib/go/subsystems/fetcher_factory.py | 3 +-- .../contrib/go/subsystems/go_distribution.py | 3 +-- .../subsystems/go_import_meta_tag_reader.py | 3 +-- .../contrib/go/subsystems/imported_repo.py | 3 +-- .../contrib/go/subsystems/protoc_gen_go.py | 3 +-- .../pants/contrib/go/targets/go_binary.py | 3 +-- .../pants/contrib/go/targets/go_library.py | 3 +-- .../contrib/go/targets/go_local_source.py | 3 +-- .../contrib/go/targets/go_protobuf_library.py | 3 +-- .../contrib/go/targets/go_remote_library.py | 3 +-- .../pants/contrib/go/targets/go_target.py | 3 +-- .../contrib/go/targets/go_thrift_library.py | 3 +-- .../contrib/go/tasks/go_binary_create.py | 3 +-- .../tasks/go_binary_fingerprint_strategy.py | 3 +-- .../pants/contrib/go/tasks/go_buildgen.py | 3 +-- .../pants/contrib/go/tasks/go_checkstyle.py | 3 +-- .../pants/contrib/go/tasks/go_compile.py | 3 +-- .../python/pants/contrib/go/tasks/go_fetch.py | 3 +-- .../python/pants/contrib/go/tasks/go_fmt.py | 3 +-- .../contrib/go/tasks/go_fmt_task_base.py | 3 +-- .../python/pants/contrib/go/tasks/go_go.py | 3 +-- .../pants/contrib/go/tasks/go_protobuf_gen.py | 3 +-- .../python/pants/contrib/go/tasks/go_run.py | 3 +-- .../python/pants/contrib/go/tasks/go_task.py | 3 +-- .../python/pants/contrib/go/tasks/go_test.py | 3 +-- .../pants/contrib/go/tasks/go_thrift_gen.py | 3 +-- .../contrib/go/tasks/go_workspace_task.py | 3 +-- .../contrib/go/subsystems/test_fetchers.py | 3 +-- .../go/subsystems/test_go_distribution.py | 3 +-- .../test_go_import_meta_tag_reader.py | 3 +-- .../test_protoc_gen_go_integration.py | 3 +-- .../go/targets/go_local_source_test_base.py | 3 +-- .../contrib/go/targets/test_go_binary.py | 3 +-- .../contrib/go/targets/test_go_library.py | 3 +-- .../go/targets/test_go_remote_library.py | 3 +-- .../contrib/go/tasks/test_go_binary_create.py | 3 +-- .../go/tasks/test_go_binary_integration.py | 3 +-- .../contrib/go/tasks/test_go_buildgen.py | 3 +-- .../tasks/test_go_check_style_integration.py | 3 +-- .../contrib/go/tasks/test_go_compile.py | 3 +-- .../go/tasks/test_go_compile_integration.py | 3 +-- .../contrib/go/tasks/test_go_fetch.py | 3 +-- .../go/tasks/test_go_fetch_integration.py | 3 +-- .../pants_test/contrib/go/tasks/test_go_go.py | 3 +-- .../go/tasks/test_go_run_integration.py | 3 +-- .../contrib/go/tasks/test_go_task.py | 3 +-- .../go/tasks/test_go_test_integration.py | 3 +-- .../contrib/go/tasks/test_go_thrift_gen.py | 3 +-- .../tasks/test_go_thrift_gen_integration.py | 3 +-- .../go/tasks/test_go_workspace_task.py | 3 +-- .../googlejavaformat/googlejavaformat.py | 3 +-- .../contrib/googlejavaformat/register.py | 3 +-- .../googlejavaformat/test_googlejavaformat.py | 3 +-- .../python/pants/contrib/jax_ws/register.py | 3 +-- .../contrib/jax_ws/targets/jax_ws_library.py | 3 +-- .../pants/contrib/jax_ws/tasks/jax_ws_gen.py | 3 +-- .../contrib/jax_ws/tasks/test_jax_ws_gen.py | 3 +-- .../tasks/test_jax_ws_gen_integration.py | 3 +-- .../src/python/pants/contrib/mypy/register.py | 3 +-- .../pants/contrib/mypy/tasks/mypy_task.py | 3 +-- .../mypy/tasks/test_mypy_integration.py | 3 +-- .../src/python/pants/contrib/node/register.py | 3 +-- .../pants/contrib/node/subsystems/command.py | 3 +-- .../node/subsystems/node_distribution.py | 3 +-- .../node/subsystems/package_managers.py | 3 +-- .../node_preinstalled_module_resolver.py | 3 +-- .../resolvers/node_resolver_base.py | 3 +-- .../node/subsystems/resolvers/npm_resolver.py | 3 +-- .../node/subsystems/yarnpkg_distribution.py | 3 +-- .../pants/contrib/node/targets/node_bundle.py | 3 +-- .../pants/contrib/node/targets/node_module.py | 3 +-- .../contrib/node/targets/node_package.py | 3 +-- .../node/targets/node_preinstalled_module.py | 3 +-- .../node/targets/node_remote_module.py | 3 +-- .../pants/contrib/node/targets/node_test.py | 3 +-- .../contrib/node/tasks/javascript_style.py | 3 +-- .../pants/contrib/node/tasks/node_build.py | 3 +-- .../pants/contrib/node/tasks/node_bundle.py | 3 +-- .../pants/contrib/node/tasks/node_paths.py | 3 +-- .../pants/contrib/node/tasks/node_repl.py | 3 +-- .../pants/contrib/node/tasks/node_resolve.py | 3 +-- .../pants/contrib/node/tasks/node_run.py | 3 +-- .../pants/contrib/node/tasks/node_task.py | 3 +-- .../pants/contrib/node/tasks/node_test.py | 3 +-- .../node/subsystems/test_node_distribution.py | 3 +-- .../node/subsystems/test_package_managers.py | 3 +-- .../contrib/node/targets/test_node_package.py | 3 +-- .../node/targets/test_node_remote_module.py | 3 +-- .../contrib/node/tasks/test_node_build.py | 3 +-- .../contrib/node/tasks/test_node_bundle.py | 3 +-- .../tasks/test_node_bundle_integration.py | 3 +-- .../node/tasks/test_node_lint_integration.py | 3 +-- .../node/tasks/test_node_repl_integration.py | 3 +-- .../contrib/node/tasks/test_node_resolve.py | 3 +-- .../tasks/test_node_resolve_integration.py | 3 +-- .../node/tasks/test_node_run_integration.py | 3 +-- .../contrib/node/tasks/test_node_task.py | 3 +-- .../node/tasks/test_node_test_integration.py | 3 +-- .../pants/contrib/python/checks/register.py | 3 +-- .../python/checks/tasks/checkstyle/checker.py | 3 +-- .../tasks/checkstyle/class_factoring.py | 3 +-- .../checkstyle/class_factoring_subsystem.py | 3 +-- .../python/checks/tasks/checkstyle/common.py | 3 +-- .../tasks/checkstyle/except_statements.py | 3 +-- .../checkstyle/except_statements_subsystem.py | 3 +-- .../checks/tasks/checkstyle/file_excluder.py | 3 +-- .../tasks/checkstyle/future_compatibility.py | 3 +-- .../future_compatibility_subsystem.py | 3 +-- .../checks/tasks/checkstyle/import_order.py | 3 +-- .../checkstyle/import_order_subsystem.py | 3 +-- .../checks/tasks/checkstyle/indentation.py | 3 +-- .../tasks/checkstyle/indentation_subsystem.py | 3 +-- .../checkstyle/missing_contextmanager.py | 3 +-- .../missing_contextmanager_subsystem.py | 3 +-- .../tasks/checkstyle/new_style_classes.py | 3 +-- .../checkstyle/new_style_classes_subsystem.py | 3 +-- .../checks/tasks/checkstyle/newlines.py | 3 +-- .../tasks/checkstyle/newlines_subsystem.py | 3 +-- .../tasks/checkstyle/plugin_subsystem_base.py | 3 +-- .../tasks/checkstyle/print_statements.py | 3 +-- .../checkstyle/print_statements_subsystem.py | 3 +-- .../checks/tasks/checkstyle/pycodestyle.py | 3 +-- .../tasks/checkstyle/pycodestyle_subsystem.py | 3 +-- .../checks/tasks/checkstyle/pyflakes.py | 3 +-- .../tasks/checkstyle/pyflakes_subsystem.py | 3 +-- .../tasks/checkstyle/register_plugins.py | 3 +-- .../tasks/checkstyle/trailing_whitespace.py | 3 +-- .../trailing_whitespace_subsystem.py | 3 +-- .../checks/tasks/checkstyle/variable_names.py | 3 +-- .../checkstyle/variable_names_subsystem.py | 3 +-- .../python/checks/tasks/python_eval.py | 3 +-- .../pants/contrib/python/isort/isort.py | 3 +-- .../tasks/checkstyle/plugin_test_base.py | 3 +-- .../checks/tasks/checkstyle/test_checker.py | 3 +-- .../tasks/checkstyle/test_class_factoring.py | 3 +-- .../checks/tasks/checkstyle/test_common.py | 3 +-- .../checkstyle/test_except_statements.py | 3 +-- .../tasks/checkstyle/test_file_excluder.py | 3 +-- .../checkstyle/test_future_compatibility.py | 3 +-- .../tasks/checkstyle/test_import_order.py | 3 +-- .../tasks/checkstyle/test_indentation.py | 3 +-- .../checkstyle/test_missing_contextmanager.py | 3 +-- .../checkstyle/test_new_style_classes.py | 3 +-- .../checks/tasks/checkstyle/test_newlines.py | 3 +-- .../checks/tasks/checkstyle/test_noqa.py | 3 +-- .../tasks/checkstyle/test_print_statements.py | 3 +-- .../tasks/checkstyle/test_pycodestyle.py | 3 +-- .../checks/tasks/checkstyle/test_pyflakes.py | 3 +-- .../checkstyle/test_trailing_whitespace.py | 3 +-- .../tasks/checkstyle/test_variable_names.py | 3 +-- .../python/checks/tasks/test_python_eval.py | 3 +-- .../python/pants/contrib/scalajs/register.py | 3 +-- .../scalajs/subsystems/scala_js_platform.py | 3 +-- .../scalajs/targets/scala_js_binary.py | 3 +-- .../scalajs/targets/scala_js_library.py | 3 +-- .../scalajs/targets/scala_js_target.py | 3 +-- .../contrib/scalajs/tasks/scala_js_link.py | 3 +-- .../scalajs/tasks/scala_js_zinc_compile.py | 3 +-- .../tasks/test_scalajs_repl_integration.py | 3 +-- .../python/pants/contrib/scrooge/register.py | 3 +-- ...ava_thrift_library_fingerprint_strategy.py | 3 +-- .../contrib/scrooge/tasks/scrooge_gen.py | 3 +-- .../contrib/scrooge/tasks/thrift_linter.py | 3 +-- .../contrib/scrooge/tasks/thrift_util.py | 3 +-- ...ava_thrift_library_fingerprint_strategy.py | 3 +-- .../contrib/scrooge/tasks/test_scrooge_gen.py | 3 +-- .../tasks/test_scrooge_gen_integration.py | 3 +-- .../scrooge/tasks/test_thrift_linter.py | 3 +-- .../tasks/test_thrift_linter_integration.py | 3 +-- .../contrib/scrooge/tasks/test_thrift_util.py | 3 +-- .../pants/contrib/thrifty/java_thrifty_gen.py | 3 +-- .../contrib/thrifty/java_thrifty_library.py | 3 +-- .../python/pants/contrib/thrifty/register.py | 3 +-- .../pants/contrib/thrifty/test_thrifty_gen.py | 3 +-- .../src/python/example/hello/greet/greet.py | 3 +-- .../src/python/example/hello/main/main.py | 3 +-- .../extra_test_jar_example.py | 3 +-- .../example/pants_publish_plugin/register.py | 3 +-- .../hello/fasthello/hello_package/hello.py | 3 +-- .../hello/fasthello/main.py | 3 +-- .../hello/fasthello/setup.py | 3 +-- .../setup_requires/hello_package/hello.py | 3 +-- .../hello/setup_requires/main.py | 3 +-- .../hello/setup_requires/setup.py | 3 +-- .../hello/test_fasthello/test_fasthello.py | 3 +-- .../example_test/hello/greet/test_greet.py | 3 +-- .../usethriftpy/use_thrift_test.py | 3 +-- .../internal_backend/repositories/register.py | 3 +-- .../internal_backend/sitegen/register.py | 3 +-- .../internal_backend/sitegen/tasks/sitegen.py | 3 +-- .../internal_backend/utilities/register.py | 3 +-- .../sitegen/test_sitegen.py | 3 +-- .../utilities/test_releases.py | 3 +-- .../codegen/antlr/java/antlr_java_gen.py | 3 +-- .../codegen/antlr/java/java_antlr_library.py | 3 +-- .../backend/codegen/antlr/java/register.py | 3 +-- .../codegen/antlr/python/antlr_py_gen.py | 3 +-- .../antlr/python/python_antlr_library.py | 3 +-- .../backend/codegen/antlr/python/register.py | 3 +-- .../pants/backend/codegen/jaxb/jaxb_gen.py | 3 +-- .../backend/codegen/jaxb/jaxb_library.py | 3 +-- .../pants/backend/codegen/jaxb/register.py | 3 +-- .../protobuf/java/java_protobuf_library.py | 3 +-- .../codegen/protobuf/java/protobuf_gen.py | 3 +-- .../backend/codegen/protobuf/java/register.py | 3 +-- .../codegen/protobuf/subsystems/protoc.py | 3 +-- .../codegen/ragel/java/java_ragel_library.py | 3 +-- .../backend/codegen/ragel/java/ragel_gen.py | 3 +-- .../backend/codegen/ragel/java/register.py | 3 +-- .../backend/codegen/ragel/subsystems/ragel.py | 3 +-- src/python/pants/backend/codegen/register.py | 3 +-- .../thrift/java/apache_thrift_java_gen.py | 3 +-- .../thrift/java/java_thrift_library.py | 3 +-- .../backend/codegen/thrift/java/register.py | 3 +-- .../codegen/thrift/java/thrift_defaults.py | 3 +-- .../thrift/lib/apache_thrift_gen_base.py | 3 +-- .../backend/codegen/thrift/lib/thrift.py | 3 +-- .../thrift/python/apache_thrift_py_gen.py | 3 +-- .../thrift/python/python_thrift_library.py | 3 +-- .../backend/codegen/thrift/python/register.py | 3 +-- .../codegen/wire/java/java_wire_library.py | 3 +-- .../backend/codegen/wire/java/register.py | 3 +-- .../backend/codegen/wire/java/wire_gen.py | 3 +-- src/python/pants/backend/docgen/register.py | 3 +-- .../pants/backend/docgen/targets/doc.py | 3 +-- .../docgen/tasks/generate_pants_reference.py | 3 +-- .../backend/docgen/tasks/markdown_to_html.py | 3 +-- .../docgen/tasks/markdown_to_html_utils.py | 3 +-- .../pants/backend/graph_info/register.py | 3 +-- .../graph_info/subsystems/cloc_binary.py | 3 +-- .../pants/backend/graph_info/tasks/cloc.py | 3 +-- .../backend/graph_info/tasks/dependees.py | 3 +-- .../pants/backend/graph_info/tasks/filemap.py | 3 +-- .../pants/backend/graph_info/tasks/filter.py | 3 +-- .../backend/graph_info/tasks/list_owners.py | 3 +-- .../backend/graph_info/tasks/listtargets.py | 3 +-- .../backend/graph_info/tasks/minimal_cover.py | 3 +-- .../pants/backend/graph_info/tasks/paths.py | 3 +-- .../backend/graph_info/tasks/sorttargets.py | 3 +-- .../tasks/target_filter_task_mixin.py | 3 +-- src/python/pants/backend/jvm/argfile.py | 3 +-- src/python/pants/backend/jvm/artifact.py | 3 +-- src/python/pants/backend/jvm/ivy_utils.py | 3 +-- .../backend/jvm/ossrh_publication_metadata.py | 3 +-- src/python/pants/backend/jvm/register.py | 3 +-- src/python/pants/backend/jvm/repository.py | 3 +-- .../pants/backend/jvm/scala_artifact.py | 3 +-- .../jvm/subsystems/dependency_context.py | 3 +-- .../subsystems/jar_dependency_management.py | 3 +-- .../pants/backend/jvm/subsystems/jar_tool.py | 3 +-- .../pants/backend/jvm/subsystems/java.py | 3 +-- .../pants/backend/jvm/subsystems/junit.py | 3 +-- .../pants/backend/jvm/subsystems/jvm.py | 3 +-- .../backend/jvm/subsystems/jvm_platform.py | 3 +-- .../backend/jvm/subsystems/jvm_tool_mixin.py | 3 +-- .../jvm/subsystems/resolve_subsystem.py | 3 +-- .../backend/jvm/subsystems/scala_platform.py | 3 +-- .../pants/backend/jvm/subsystems/shader.py | 3 +-- .../pants/backend/jvm/subsystems/zinc.py | 3 +-- .../jvm/subsystems/zinc_language_mixin.py | 3 +-- .../jvm/targets/annotation_processor.py | 3 +-- .../pants/backend/jvm/targets/benchmark.py | 3 +-- .../pants/backend/jvm/targets/credentials.py | 3 +-- .../jvm/targets/exportable_jvm_library.py | 3 +-- .../backend/jvm/targets/import_jars_mixin.py | 3 +-- .../pants/backend/jvm/targets/jar_library.py | 3 +-- .../pants/backend/jvm/targets/jarable.py | 3 +-- .../pants/backend/jvm/targets/java_agent.py | 3 +-- .../pants/backend/jvm/targets/java_library.py | 3 +-- .../pants/backend/jvm/targets/javac_plugin.py | 3 +-- .../pants/backend/jvm/targets/junit_tests.py | 3 +-- .../pants/backend/jvm/targets/jvm_app.py | 3 +-- .../pants/backend/jvm/targets/jvm_binary.py | 3 +-- .../backend/jvm/targets/jvm_prep_command.py | 3 +-- .../pants/backend/jvm/targets/jvm_target.py | 3 +-- .../jvm/targets/managed_jar_dependencies.py | 3 +-- .../jvm/targets/scala_jar_dependency.py | 3 +-- .../backend/jvm/targets/scala_library.py | 3 +-- .../backend/jvm/targets/scalac_plugin.py | 3 +-- .../pants/backend/jvm/targets/tools_jar.py | 3 +-- .../backend/jvm/targets/unpacked_jars.py | 3 +-- .../backend/jvm/tasks/analysis_extraction.py | 3 +-- .../pants/backend/jvm/tasks/benchmark_run.py | 3 +-- .../pants/backend/jvm/tasks/binary_create.py | 3 +-- .../backend/jvm/tasks/bootstrap_jvm_tools.py | 3 +-- .../pants/backend/jvm/tasks/bundle_create.py | 3 +-- .../backend/jvm/tasks/check_published_deps.py | 3 +-- .../pants/backend/jvm/tasks/checkstyle.py | 3 +-- .../pants/backend/jvm/tasks/classmap.py | 3 +-- .../backend/jvm/tasks/classpath_products.py | 3 +-- .../pants/backend/jvm/tasks/classpath_util.py | 3 +-- .../jvm/tasks/consolidate_classpath.py | 3 +-- .../jvm/tasks/coursier/coursier_subsystem.py | 3 +-- .../backend/jvm/tasks/coursier_resolve.py | 3 +-- .../backend/jvm/tasks/coverage/cobertura.py | 3 +-- .../backend/jvm/tasks/coverage/engine.py | 3 +-- .../backend/jvm/tasks/coverage/jacoco.py | 3 +-- .../backend/jvm/tasks/coverage/manager.py | 3 +-- .../backend/jvm/tasks/detect_duplicates.py | 3 +-- .../pants/backend/jvm/tasks/ivy_imports.py | 3 +-- .../pants/backend/jvm/tasks/ivy_outdated.py | 3 +-- .../pants/backend/jvm/tasks/ivy_resolve.py | 3 +-- .../pants/backend/jvm/tasks/ivy_task_mixin.py | 3 +-- .../pants/backend/jvm/tasks/jar_create.py | 3 +-- .../backend/jvm/tasks/jar_import_products.py | 3 +-- .../pants/backend/jvm/tasks/jar_publish.py | 3 +-- .../pants/backend/jvm/tasks/jar_task.py | 3 +-- .../pants/backend/jvm/tasks/javadoc_gen.py | 3 +-- .../pants/backend/jvm/tasks/junit_run.py | 3 +-- .../backend/jvm/tasks/jvm_binary_task.py | 3 +-- .../class_not_found_error_patterns.py | 3 +-- .../jvm/tasks/jvm_compile/compile_context.py | 3 +-- .../jvm/tasks/jvm_compile/execution_graph.py | 3 +-- .../tasks/jvm_compile/javac/javac_compile.py | 3 +-- .../jvm_compile/jvm_classpath_publisher.py | 3 +-- .../jvm/tasks/jvm_compile/jvm_compile.py | 3 +-- .../jvm_compile/missing_dependency_finder.py | 3 +-- .../tasks/jvm_compile/zinc/zinc_analysis.py | 3 +-- .../jvm_compile/zinc/zinc_analysis_parser.py | 3 +-- .../tasks/jvm_compile/zinc/zinc_compile.py | 3 +-- .../jvm/tasks/jvm_dependency_analyzer.py | 3 +-- .../backend/jvm/tasks/jvm_dependency_check.py | 3 +-- .../backend/jvm/tasks/jvm_dependency_usage.py | 3 +-- .../jvm/tasks/jvm_platform_analysis.py | 3 +-- src/python/pants/backend/jvm/tasks/jvm_run.py | 3 +-- .../pants/backend/jvm/tasks/jvm_task.py | 3 +-- .../backend/jvm/tasks/jvm_tool_task_mixin.py | 3 +-- .../pants/backend/jvm/tasks/jvmdoc_gen.py | 3 +-- .../pants/backend/jvm/tasks/nailgun_task.py | 3 +-- .../backend/jvm/tasks/prepare_resources.py | 3 +-- .../backend/jvm/tasks/prepare_services.py | 3 +-- .../pants/backend/jvm/tasks/properties.py | 3 +-- .../backend/jvm/tasks/provide_tools_jar.py | 3 +-- .../jvm/tasks/reports/junit_html_report.py | 3 +-- .../pants/backend/jvm/tasks/resources_task.py | 3 +-- .../pants/backend/jvm/tasks/rewrite_base.py | 3 +-- .../backend/jvm/tasks/run_jvm_prep_command.py | 3 +-- .../pants/backend/jvm/tasks/scala_repl.py | 3 +-- .../pants/backend/jvm/tasks/scaladoc_gen.py | 3 +-- .../pants/backend/jvm/tasks/scalafix.py | 3 +-- .../pants/backend/jvm/tasks/scalafmt.py | 3 +-- .../pants/backend/jvm/tasks/scalastyle.py | 3 +-- .../pants/backend/jvm/tasks/unpack_jars.py | 3 +-- .../backend/native/config/environment.py | 3 +-- src/python/pants/backend/native/register.py | 3 +-- .../native/subsystems/binaries/binutils.py | 3 +-- .../backend/native/subsystems/binaries/gcc.py | 3 +-- .../native/subsystems/binaries/llvm.py | 3 +-- .../backend/native/subsystems/libc_dev.py | 3 +-- .../subsystems/native_compile_settings.py | 3 +-- .../native/subsystems/native_toolchain.py | 3 +-- .../subsystems/utils/parse_search_dirs.py | 3 +-- .../native/subsystems/xcode_cli_tools.py | 3 +-- .../backend/native/targets/native_artifact.py | 3 +-- .../backend/native/targets/native_library.py | 3 +-- .../pants/backend/native/tasks/c_compile.py | 3 +-- .../pants/backend/native/tasks/cpp_compile.py | 3 +-- .../native/tasks/link_shared_libraries.py | 3 +-- .../backend/native/tasks/native_compile.py | 3 +-- .../pants/backend/native/tasks/native_task.py | 3 +-- .../pants/backend/project_info/register.py | 3 +-- .../project_info/tasks/dependencies.py | 3 +-- .../backend/project_info/tasks/depmap.py | 3 +-- .../backend/project_info/tasks/export.py | 3 +-- .../backend/project_info/tasks/filedeps.py | 3 +-- .../project_info/tasks/idea_plugin_gen.py | 3 +-- .../pants/backend/python/interpreter_cache.py | 3 +-- .../pants/backend/python/pants_requirement.py | 3 +-- src/python/pants/backend/python/pex_util.py | 3 +-- .../pants/backend/python/python_artifact.py | 3 +-- .../backend/python/python_requirement.py | 3 +-- .../backend/python/python_requirements.py | 3 +-- src/python/pants/backend/python/register.py | 3 +-- .../pants/backend/python/subsystems/isort.py | 3 +-- .../pants/backend/python/subsystems/pytest.py | 3 +-- .../python/subsystems/python_native_code.py | 3 +-- .../backend/python/subsystems/python_repos.py | 3 +-- .../backend/python/subsystems/python_setup.py | 3 +-- .../backend/python/targets/python_app.py | 3 +-- .../backend/python/targets/python_binary.py | 3 +-- .../python/targets/python_distribution.py | 3 +-- .../backend/python/targets/python_library.py | 3 +-- .../targets/python_requirement_library.py | 3 +-- .../backend/python/targets/python_target.py | 3 +-- .../backend/python/targets/python_tests.py | 3 +-- .../tasks/build_local_python_distributions.py | 3 +-- .../backend/python/tasks/coverage/plugin.py | 3 +-- .../backend/python/tasks/gather_sources.py | 3 +-- .../local_python_distribution_artifact.py | 3 +-- .../backend/python/tasks/pex_build_util.py | 3 +-- .../pants/backend/python/tasks/pytest_prep.py | 3 +-- .../pants/backend/python/tasks/pytest_run.py | 3 +-- .../python/tasks/python_binary_create.py | 3 +-- .../backend/python/tasks/python_bundle.py | 3 +-- .../tasks/python_execution_task_base.py | 3 +-- .../backend/python/tasks/python_isort.py | 3 +-- .../pants/backend/python/tasks/python_repl.py | 3 +-- .../pants/backend/python/tasks/python_run.py | 3 +-- .../python/tasks/resolve_requirements.py | 3 +-- .../tasks/resolve_requirements_task_base.py | 3 +-- .../python/tasks/select_interpreter.py | 3 +-- .../pants/backend/python/tasks/setup_py.py | 3 +-- .../pants/backend/python/tasks/wrapped_pex.py | 3 +-- src/python/pants/base/build_environment.py | 3 +-- src/python/pants/base/build_file.py | 3 +-- .../pants/base/build_file_target_factory.py | 3 +-- src/python/pants/base/build_root.py | 3 +-- src/python/pants/base/cmd_line_spec_parser.py | 3 +-- src/python/pants/base/deprecated.py | 3 +-- src/python/pants/base/exceptions.py | 3 +-- src/python/pants/base/exiter.py | 3 +-- .../pants/base/file_system_project_tree.py | 3 +-- src/python/pants/base/fingerprint_strategy.py | 3 +-- src/python/pants/base/generator.py | 3 +-- src/python/pants/base/hash_utils.py | 3 +-- src/python/pants/base/mustache.py | 3 +-- src/python/pants/base/parse_context.py | 3 +-- src/python/pants/base/payload.py | 3 +-- src/python/pants/base/payload_field.py | 3 +-- src/python/pants/base/project_tree.py | 3 +-- src/python/pants/base/project_tree_factory.py | 3 +-- src/python/pants/base/revision.py | 3 +-- src/python/pants/base/run_info.py | 3 +-- src/python/pants/base/specs.py | 3 +-- src/python/pants/base/target_roots.py | 3 +-- src/python/pants/base/validation.py | 3 +-- src/python/pants/base/worker_pool.py | 3 +-- src/python/pants/base/workunit.py | 3 +-- src/python/pants/bin/daemon_pants_runner.py | 3 +-- src/python/pants/bin/goal_runner.py | 3 +-- src/python/pants/bin/local_pants_runner.py | 3 +-- src/python/pants/bin/pants_exe.py | 3 +-- src/python/pants/bin/pants_loader.py | 3 +-- src/python/pants/bin/pants_runner.py | 3 +-- src/python/pants/bin/remote_pants_runner.py | 3 +-- src/python/pants/binaries/binary_tool.py | 3 +-- src/python/pants/binaries/binary_util.py | 3 +-- src/python/pants/build_graph/address.py | 3 +-- .../pants/build_graph/address_lookup_error.py | 3 +-- .../pants/build_graph/address_mapper.py | 3 +-- src/python/pants/build_graph/addressable.py | 3 +-- .../pants/build_graph/aliased_target.py | 3 +-- src/python/pants/build_graph/app_base.py | 3 +-- .../pants/build_graph/build_configuration.py | 3 +-- .../build_graph/build_file_address_mapper.py | 3 +-- .../pants/build_graph/build_file_aliases.py | 3 +-- .../pants/build_graph/build_file_parser.py | 3 +-- src/python/pants/build_graph/build_graph.py | 3 +-- src/python/pants/build_graph/bundle_mixin.py | 3 +-- .../pants/build_graph/dependency_context.py | 3 +-- src/python/pants/build_graph/files.py | 3 +-- .../pants/build_graph/injectables_mixin.py | 3 +-- .../intermediate_target_factory.py | 3 +-- .../build_graph/intransitive_dependency.py | 3 +-- .../pants/build_graph/mutable_build_graph.py | 3 +-- src/python/pants/build_graph/prep_command.py | 3 +-- src/python/pants/build_graph/register.py | 3 +-- .../pants/build_graph/remote_sources.py | 3 +-- src/python/pants/build_graph/resources.py | 3 +-- src/python/pants/build_graph/source_mapper.py | 3 +-- src/python/pants/build_graph/target.py | 3 +-- .../pants/build_graph/target_addressable.py | 3 +-- src/python/pants/build_graph/target_scopes.py | 3 +-- src/python/pants/cache/artifact.py | 3 +-- src/python/pants/cache/artifact_cache.py | 3 +-- src/python/pants/cache/cache_setup.py | 3 +-- .../pants/cache/local_artifact_cache.py | 3 +-- src/python/pants/cache/pinger.py | 3 +-- src/python/pants/cache/resolver.py | 3 +-- .../pants/cache/restful_artifact_cache.py | 3 +-- src/python/pants/console/stty_utils.py | 3 +-- .../pants/core_tasks/bash_completion.py | 3 +-- src/python/pants/core_tasks/clean.py | 3 +-- .../core_tasks/deferred_sources_mapper.py | 3 +-- .../pants/core_tasks/explain_options_task.py | 3 +-- src/python/pants/core_tasks/list_goals.py | 3 +-- src/python/pants/core_tasks/noop.py | 3 +-- src/python/pants/core_tasks/pantsd_kill.py | 3 +-- src/python/pants/core_tasks/register.py | 3 +-- .../pants/core_tasks/reporting_server_kill.py | 3 +-- .../pants/core_tasks/reporting_server_run.py | 3 +-- src/python/pants/core_tasks/roots.py | 3 +-- .../pants/core_tasks/run_prep_command.py | 3 +-- .../core_tasks/substitute_aliased_targets.py | 3 +-- src/python/pants/core_tasks/targets_help.py | 3 +-- src/python/pants/engine/addressable.py | 3 +-- src/python/pants/engine/build_files.py | 3 +-- src/python/pants/engine/fs.py | 3 +-- src/python/pants/engine/isolated_process.py | 3 +-- .../pants/engine/legacy/address_mapper.py | 3 +-- src/python/pants/engine/legacy/graph.py | 3 +-- .../pants/engine/legacy/options_parsing.py | 3 +-- src/python/pants/engine/legacy/parser.py | 3 +-- .../pants/engine/legacy/source_mapper.py | 3 +-- src/python/pants/engine/legacy/structs.py | 3 +-- src/python/pants/engine/legacy_engine.py | 3 +-- src/python/pants/engine/mapper.py | 3 +-- src/python/pants/engine/native.py | 3 +-- src/python/pants/engine/nodes.py | 3 +-- src/python/pants/engine/objects.py | 3 +-- src/python/pants/engine/parser.py | 3 +-- src/python/pants/engine/round_engine.py | 3 +-- src/python/pants/engine/round_manager.py | 3 +-- src/python/pants/engine/rules.py | 3 +-- src/python/pants/engine/scheduler.py | 3 +-- src/python/pants/engine/selectors.py | 3 +-- src/python/pants/engine/struct.py | 3 +-- src/python/pants/fs/archive.py | 3 +-- src/python/pants/fs/fs.py | 3 +-- src/python/pants/goal/aggregated_timings.py | 3 +-- src/python/pants/goal/artifact_cache_stats.py | 3 +-- src/python/pants/goal/context.py | 3 +-- src/python/pants/goal/error.py | 3 +-- src/python/pants/goal/goal.py | 3 +-- src/python/pants/goal/pantsd_stats.py | 3 +-- src/python/pants/goal/products.py | 3 +-- src/python/pants/goal/run_tracker.py | 3 +-- src/python/pants/goal/task_registrar.py | 3 +-- src/python/pants/goal/workspace.py | 3 +-- .../help/build_dictionary_info_extracter.py | 3 +-- src/python/pants/help/help_formatter.py | 3 +-- src/python/pants/help/help_info_extracter.py | 3 +-- src/python/pants/help/help_printer.py | 3 +-- src/python/pants/help/scope_info_iterator.py | 3 +-- src/python/pants/init/engine_initializer.py | 3 +-- src/python/pants/init/extension_loader.py | 3 +-- src/python/pants/init/global_subsystems.py | 3 +-- src/python/pants/init/logging.py | 3 +-- src/python/pants/init/options_initializer.py | 3 +-- src/python/pants/init/plugin_resolver.py | 3 +-- src/python/pants/init/repro.py | 3 +-- src/python/pants/init/subprocess.py | 3 +-- .../pants/init/target_roots_calculator.py | 3 +-- src/python/pants/init/util.py | 3 +-- .../pants/invalidation/build_invalidator.py | 3 +-- .../pants/invalidation/cache_manager.py | 3 +-- src/python/pants/ivy/bootstrapper.py | 3 +-- src/python/pants/ivy/ivy.py | 3 +-- src/python/pants/ivy/ivy_subsystem.py | 3 +-- .../pants/java/distribution/distribution.py | 3 +-- src/python/pants/java/executor.py | 3 +-- src/python/pants/java/jar/exclude.py | 3 +-- src/python/pants/java/jar/jar_dependency.py | 3 +-- .../pants/java/jar/jar_dependency_utils.py | 3 +-- src/python/pants/java/jar/manifest.py | 3 +-- .../pants/java/junit/junit_xml_parser.py | 3 +-- src/python/pants/java/nailgun_client.py | 3 +-- src/python/pants/java/nailgun_executor.py | 3 +-- src/python/pants/java/nailgun_io.py | 3 +-- src/python/pants/java/nailgun_protocol.py | 3 +-- src/python/pants/java/util.py | 3 +-- src/python/pants/net/http/fetcher.py | 3 +-- src/python/pants/option/arg_splitter.py | 3 +-- src/python/pants/option/config.py | 3 +-- src/python/pants/option/custom_types.py | 3 +-- src/python/pants/option/errors.py | 3 +-- src/python/pants/option/global_options.py | 3 +-- src/python/pants/option/option_tracker.py | 3 +-- src/python/pants/option/option_util.py | 3 +-- .../pants/option/option_value_container.py | 3 +-- src/python/pants/option/optionable.py | 3 +-- src/python/pants/option/options.py | 3 +-- .../pants/option/options_bootstrapper.py | 3 +-- .../pants/option/options_fingerprinter.py | 3 +-- src/python/pants/option/parser.py | 3 +-- src/python/pants/option/parser_hierarchy.py | 3 +-- src/python/pants/option/ranked_value.py | 3 +-- src/python/pants/option/scope.py | 3 +-- src/python/pants/pantsd/pailgun_server.py | 3 +-- src/python/pants/pantsd/pants_daemon.py | 3 +-- src/python/pants/pantsd/process_manager.py | 3 +-- .../pants/pantsd/service/fs_event_service.py | 3 +-- .../pants/pantsd/service/pailgun_service.py | 3 +-- .../pants/pantsd/service/pants_service.py | 3 +-- .../pants/pantsd/service/scheduler_service.py | 3 +-- .../pants/pantsd/service/store_gc_service.py | 3 +-- src/python/pants/pantsd/watchman.py | 3 +-- src/python/pants/pantsd/watchman_client.py | 3 +-- src/python/pants/pantsd/watchman_launcher.py | 3 +-- src/python/pants/process/lock.py | 3 +-- src/python/pants/process/xargs.py | 3 +-- src/python/pants/releases/packages.py | 3 +-- src/python/pants/releases/reversion.py | 3 +-- src/python/pants/reporting/html_reporter.py | 3 +-- .../pants/reporting/invalidation_report.py | 3 +-- src/python/pants/reporting/linkify.py | 3 +-- .../pants/reporting/plaintext_reporter.py | 3 +-- .../reporting/plaintext_reporter_base.py | 3 +-- src/python/pants/reporting/quiet_reporter.py | 3 +-- src/python/pants/reporting/report.py | 3 +-- src/python/pants/reporting/reporter.py | 3 +-- src/python/pants/reporting/reporting.py | 3 +-- .../pants/reporting/reporting_server.py | 3 +-- src/python/pants/reporting/reporting_utils.py | 3 +-- src/python/pants/scm/git.py | 3 +-- src/python/pants/scm/scm.py | 3 +-- src/python/pants/scm/subsystems/changed.py | 3 +-- src/python/pants/source/filespec.py | 3 +-- src/python/pants/source/payload_fields.py | 3 +-- src/python/pants/source/source_root.py | 3 +-- src/python/pants/source/wrapped_globs.py | 3 +-- src/python/pants/stats/statsdb.py | 3 +-- src/python/pants/subsystem/subsystem.py | 3 +-- .../pants/subsystem/subsystem_client_mixin.py | 3 +-- src/python/pants/task/console_task.py | 3 +-- src/python/pants/task/fmt_task_mixin.py | 3 +-- src/python/pants/task/goal_options_mixin.py | 3 +-- src/python/pants/task/lint_task_mixin.py | 3 +-- src/python/pants/task/mutex_task_mixin.py | 3 +-- src/python/pants/task/noop_exec_task.py | 3 +-- src/python/pants/task/repl_task_mixin.py | 3 +-- src/python/pants/task/scm_publish_mixin.py | 3 +-- src/python/pants/task/simple_codegen_task.py | 3 +-- .../pants/task/target_restriction_mixins.py | 3 +-- src/python/pants/task/task.py | 3 +-- .../pants/task/testrunner_task_mixin.py | 3 +-- src/python/pants/util/argutil.py | 3 +-- src/python/pants/util/collections.py | 3 +-- src/python/pants/util/contextutil.py | 3 +-- src/python/pants/util/debug.py | 3 +-- src/python/pants/util/desktop.py | 3 +-- src/python/pants/util/dirutil.py | 3 +-- src/python/pants/util/eval.py | 3 +-- src/python/pants/util/fileutil.py | 3 +-- src/python/pants/util/filtering.py | 3 +-- src/python/pants/util/memo.py | 3 +-- src/python/pants/util/meta.py | 3 +-- src/python/pants/util/netrc.py | 3 +-- src/python/pants/util/objects.py | 3 +-- src/python/pants/util/osutil.py | 3 +-- src/python/pants/util/process_handler.py | 3 +-- src/python/pants/util/retry.py | 3 +-- src/python/pants/util/rwbuf.py | 3 +-- src/python/pants/util/s3_log_aggregator.py | 3 +-- src/python/pants/util/socket.py | 3 +-- src/python/pants/util/strutil.py | 3 +-- src/python/pants/util/tarutil.py | 3 +-- src/python/pants/util/xml_parser.py | 3 +-- src/python/pants/version.py | 3 +-- .../codegen/antlr/java/test_antlr_java_gen.py | 3 +-- .../java/test_antlr_java_gen_integration.py | 3 +-- .../antlr/java/test_java_antlr_library.py | 3 +-- .../codegen/antlr/python/test_antlr_py_gen.py | 3 +-- .../python/test_antlr_py_gen_integration.py | 3 +-- .../backend/codegen/jaxb/test_jaxb_gen.py | 3 +-- .../java/test_java_protobuf_library.py | 3 +-- .../protobuf/java/test_protobuf_gen.py | 3 +-- .../java/test_protobuf_integration.py | 3 +-- .../codegen/ragel/java/test_ragel_gen.py | 3 +-- .../java/test_apache_thrift_java_gen.py | 3 +-- .../thrift/java/test_thrift_defaults.py | 3 +-- .../python/test_apache_thrift_py_gen.py | 3 +-- .../wire/java/test_java_wire_library.py | 3 +-- .../codegen/wire/java/test_wire_gen.py | 3 +-- .../wire/java/test_wire_integration.py | 3 +-- .../backend/docgen/targets/test_wiki_page.py | 3 +-- .../docgen/tasks/test_markdown_to_html.py | 3 +-- .../test_markdown_to_html_integration.py | 3 +-- .../backend/graph_info/tasks/test_cloc.py | 3 +-- .../graph_info/tasks/test_cloc_integration.py | 3 +-- .../graph_info/tasks/test_dependees.py | 3 +-- .../backend/graph_info/tasks/test_filemap.py | 3 +-- .../backend/graph_info/tasks/test_filter.py | 3 +-- .../graph_info/tasks/test_list_owners.py | 3 +-- .../graph_info/tasks/test_listtargets.py | 3 +-- .../graph_info/tasks/test_minimal_cover.py | 3 +-- .../backend/graph_info/tasks/test_paths.py | 3 +-- .../tasks/test_paths_integration.py | 3 +-- .../graph_info/tasks/test_sorttargets.py | 3 +-- .../tasks/test_target_filter_task_mixin.py | 3 +-- .../jvm/subsystems/test_custom_scala.py | 3 +-- .../test_incomplete_custom_scala.py | 3 +-- .../test_jar_dependency_management.py | 3 +-- ...t_jar_dependency_management_integration.py | 3 +-- .../backend/jvm/subsystems/test_shader.py | 3 +-- .../jvm/subsystems/test_shader_integration.py | 3 +-- .../backend/jvm/targets/test_credentials.py | 3 +-- .../jvm/targets/test_jar_dependency.py | 3 +-- .../test_jar_dependency_integration.py | 3 +-- .../backend/jvm/targets/test_jar_library.py | 3 +-- .../backend/jvm/targets/test_junit_tests.py | 3 +-- .../backend/jvm/targets/test_jvm_app.py | 3 +-- .../backend/jvm/targets/test_jvm_binary.py | 3 +-- .../backend/jvm/targets/test_unpacked_jars.py | 3 +-- .../jvm/tasks/coverage/test_cobertura.py | 3 +-- .../pants_test/backend/jvm/tasks/false.py | 3 +-- .../jvm/tasks/jvm_binary_task_test_base.py | 3 +-- .../base_compile_integration_test.py | 3 +-- .../java/jvm_platform_integration_mixin.py | 3 +-- .../java/test_cache_compile_integration.py | 3 +-- .../java/test_java_compile_integration.py | 3 +-- ...test_java_compile_settings_partitioning.py | 3 +-- .../java/test_javac_plugin_integration.py | 3 +-- .../java/test_zinc_compile_integration.py | 3 +-- ...t_zinc_compile_jvm_platform_integration.py | 3 +-- .../javac/test_javac_compile_integration.py | 3 +-- .../scala/test_scalac_plugin_integration.py | 3 +-- .../test_declared_deps_integration.py | 3 +-- .../test_dep_exports_integration.py | 3 +-- .../test_jvm_classpath_published.py | 3 +-- .../jvm/tasks/jvm_compile/test_jvm_compile.py | 3 +-- .../test_missing_dependency_finder.py | 3 +-- ...t_missing_dependency_finder_integration.py | 3 +-- .../zinc/test_zinc_compile_integration.py | 3 +-- ...est_zinc_compile_integration_with_zjars.py | 3 +-- .../zinc/zinc_compile_integration_base.py | 3 +-- .../backend/jvm/tasks/missing_jvm_check.py | 3 +-- .../tasks/reports/test_junit_html_report.py | 3 +-- .../backend/jvm/tasks/test_benchmark_run.py | 3 +-- .../tasks/test_benchmark_run_integration.py | 3 +-- .../backend/jvm/tasks/test_binary_create.py | 3 +-- .../tasks/test_binary_create_integration.py | 3 +-- .../jvm/tasks/test_bootstrap_jvm_tools.py | 3 +-- .../test_bootstrap_jvm_tools_integration.py | 3 +-- .../backend/jvm/tasks/test_bundle_create.py | 3 +-- .../jvm/tasks/test_check_published_deps.py | 3 +-- .../backend/jvm/tasks/test_checkstyle.py | 3 +-- .../jvm/tasks/test_checkstyle_integration.py | 3 +-- .../backend/jvm/tasks/test_classmap.py | 3 +-- .../jvm/tasks/test_classmap_integration.py | 3 +-- .../jvm/tasks/test_classpath_products.py | 3 +-- .../backend/jvm/tasks/test_classpath_util.py | 3 +-- .../jvm/tasks/test_consolidate_classpath.py | 3 +-- .../jvm/tasks/test_coursier_integration.py | 3 +-- .../jvm/tasks/test_coursier_resolve.py | 3 +-- .../jvm/tasks/test_detect_duplicates.py | 3 +-- .../test_export_classpath_integration.py | 3 +-- .../tasks/test_intransitive_integration.py | 3 +-- .../backend/jvm/tasks/test_ivy_imports.py | 3 +-- .../tasks/test_ivy_outdated_integration.py | 3 +-- .../backend/jvm/tasks/test_ivy_resolve.py | 3 +-- .../jvm/tasks/test_ivy_resolve_integration.py | 3 +-- .../backend/jvm/tasks/test_ivy_utils.py | 3 +-- .../backend/jvm/tasks/test_jar_create.py | 3 +-- .../test_jar_dependency_management_setup.py | 3 +-- .../backend/jvm/tasks/test_jar_publish.py | 3 +-- .../jvm/tasks/test_jar_publish_integration.py | 3 +-- .../backend/jvm/tasks/test_jar_task.py | 3 +-- .../backend/jvm/tasks/test_junit_run.py | 3 +-- .../jvm/tasks/test_junit_run_integration.py | 3 +-- ...est_junit_tests_concurrency_integration.py | 3 +-- .../jvm/tasks/test_junit_tests_integration.py | 3 +-- .../jvm/tasks/test_jvm_bundle_integration.py | 3 +-- .../jvm/tasks/test_jvm_dependency_usage.py | 3 +-- .../test_jvm_dependency_usage_integration.py | 3 +-- .../jvm/tasks/test_jvm_platform_analysis.py | 3 +-- .../test_jvm_platform_analysis_integration.py | 3 +-- .../jvm/tasks/test_jvm_prep_command.py | 3 +-- .../test_jvm_prep_command_integration.py | 3 +-- .../backend/jvm/tasks/test_jvm_run.py | 3 +-- .../jvm/tasks/test_jvm_run_integration.py | 3 +-- .../backend/jvm/tasks/test_jvm_task.py | 3 +-- .../backend/jvm/tasks/test_jvmdoc_gen.py | 3 +-- .../jvm/tasks/test_prepare_resources.py | 3 +-- .../jvm/tasks/test_prepare_services.py | 3 +-- .../backend/jvm/tasks/test_properties.py | 3 +-- .../backend/jvm/tasks/test_resources_task.py | 3 +-- .../jvm/tasks/test_scala_repl_integration.py | 3 +-- .../backend/jvm/tasks/test_scalafix.py | 3 +-- .../backend/jvm/tasks/test_scalafmt.py | 3 +-- .../backend/jvm/tasks/test_scalastyle.py | 3 +-- .../tasks/test_scope_provided_integration.py | 3 +-- .../tasks/test_scope_runtime_integration.py | 3 +-- .../jvm/tasks/test_scope_test_integration.py | 3 +-- .../backend/jvm/tasks/test_unpack_jars.py | 3 +-- .../pants_test/backend/jvm/tasks/true.py | 3 +-- .../backend/jvm/test_jar_dependency_utils.py | 3 +-- .../subsystems/test_native_toolchain.py | 3 +-- .../tasks/resolve_jars_test_mixin.py | 3 +-- .../project_info/tasks/test_dependencies.py | 3 +-- .../backend/project_info/tasks/test_depmap.py | 3 +-- .../backend/project_info/tasks/test_export.py | 3 +-- .../tasks/test_export_integration.py | 3 +-- .../project_info/tasks/test_filedeps.py | 3 +-- .../tasks/test_idea_plugin_integration.py | 3 +-- ...pants_requirement_integration_test_base.py | 3 +-- .../tasks/interpreter_cache_test_mixin.py | 3 +-- .../python/tasks/python_task_test_base.py | 3 +-- .../test_build_local_python_distributions.py | 3 +-- .../python/tasks/test_ctypes_integration.py | 3 +-- .../python/tasks/test_gather_sources.py | 3 +-- .../backend/python/tasks/test_pytest_run.py | 3 +-- .../tasks/test_pytest_run_integration.py | 3 +-- .../python/tasks/test_python_binary_create.py | 3 +-- .../test_python_distribution_integration.py | 3 +-- .../backend/python/tasks/test_python_isort.py | 22 +++++++------------ .../tasks/test_python_isort_integration.py | 3 +-- .../backend/python/tasks/test_python_repl.py | 3 +-- .../tasks/test_python_repl_integration.py | 3 +-- .../tasks/test_python_run_integration.py | 3 +-- .../python/tasks/test_resolve_requirements.py | 3 +-- .../python/tasks/test_select_interpreter.py | 3 +-- .../backend/python/tasks/test_setup_py.py | 3 +-- .../python/tasks/test_setup_py_integration.py | 3 +-- .../backend/python/test_interpreter_cache.py | 3 +-- .../backend/python/test_pants_requirement.py | 3 +-- .../test_pants_requirement_integration.py | 3 +-- .../python/test_python_requirement_list.py | 3 +-- .../pants_test/base/build_file_test_base.py | 3 +-- tests/python/pants_test/base/context_utils.py | 3 +-- .../pants_test/base/pants_ignore_test_base.py | 3 +-- .../pants_test/base/project_tree_test_base.py | 3 +-- .../pants_test/base/test_build_environment.py | 3 +-- .../python/pants_test/base/test_build_root.py | 3 +-- .../base/test_cmd_line_spec_parser.py | 3 +-- .../python/pants_test/base/test_deprecated.py | 3 +-- .../test_exclude_target_regexp_integration.py | 3 +-- tests/python/pants_test/base/test_exiter.py | 3 +-- .../base/test_exiter_integration.py | 3 +-- .../base/test_filesystem_build_file.py | 3 +-- .../base/test_fingerprint_strategy.py | 3 +-- .../python/pants_test/base/test_generator.py | 3 +-- .../python/pants_test/base/test_hash_utils.py | 3 +-- .../base/test_pants_ignore_file_system.py | 3 +-- tests/python/pants_test/base/test_payload.py | 3 +-- .../pants_test/base/test_payload_field.py | 3 +-- tests/python/pants_test/base/test_revision.py | 3 +-- tests/python/pants_test/base/test_run_info.py | 3 +-- .../python/pants_test/base/test_validation.py | 3 +-- .../pants_test/base/test_worker_pool.py | 3 +-- tests/python/pants_test/base_test.py | 3 +-- .../pants_test/bin/test_loader_integration.py | 3 +-- .../pants_test/binaries/test_binary_tool.py | 3 +-- .../pants_test/binaries/test_binary_util.py | 3 +-- .../pants_test/build_graph/test_address.py | 3 +-- .../build_graph/test_build_configuration.py | 3 +-- .../test_build_file_address_mapper.py | 3 +-- .../build_graph/test_build_file_aliases.py | 3 +-- .../build_graph/test_build_file_parser.py | 3 +-- .../build_graph/test_build_graph.py | 3 +-- .../test_build_graph_integration.py | 3 +-- .../pants_test/build_graph/test_files.py | 3 +-- .../test_intermediate_target_integration.py | 3 +-- .../pants_test/build_graph/test_scopes.py | 3 +-- .../build_graph/test_source_mapper.py | 3 +-- .../test_subproject_integration.py | 3 +-- .../pants_test/build_graph/test_target.py | 3 +-- tests/python/pants_test/cache/cache_server.py | 3 +-- tests/python/pants_test/cache/delay_server.py | 3 +-- .../python/pants_test/cache/test_artifact.py | 3 +-- .../pants_test/cache/test_artifact_cache.py | 3 +-- .../cache/test_cache_cleanup_integration.py | 3 +-- .../pants_test/cache/test_cache_setup.py | 3 +-- tests/python/pants_test/cache/test_caching.py | 3 +-- .../cache/test_caching_tarball_deference.py | 3 +-- tests/python/pants_test/cache/test_pinger.py | 3 +-- .../python/pants_test/cache/test_resolver.py | 3 +-- .../core_tasks/test_bash_completion.py | 3 +-- ...est_deferred_sources_mapper_integration.py | 3 +-- .../pants_test/core_tasks/test_list_goals.py | 3 +-- .../test_prep_command_integration.py | 3 +-- .../pants_test/core_tasks/test_roots.py | 3 +-- .../core_tasks/test_run_prep_command.py | 3 +-- ...t_substitute_target_aliases_integration.py | 3 +-- .../pants_test/engine/base_engine_test.py | 3 +-- .../pants_test/engine/examples/parsers.py | 3 +-- .../pants_test/engine/examples/planners.py | 3 +-- .../pants_test/engine/examples/sources.py | 3 +-- .../pants_test/engine/examples/visualizer.py | 3 +-- .../engine/legacy/test_address_mapper.py | 3 +-- .../legacy/test_build_ignore_integration.py | 3 +-- .../engine/legacy/test_bundle_integration.py | 3 +-- .../engine/legacy/test_changed_integration.py | 3 +-- .../legacy/test_dependees_integration.py | 3 +-- .../legacy/test_dependencies_integration.py | 3 +-- .../legacy/test_filedeps_integration.py | 3 +-- .../engine/legacy/test_filemap_integration.py | 3 +-- .../pants_test/engine/legacy/test_graph.py | 3 +-- .../engine/legacy/test_graph_integration.py | 3 +-- .../engine/legacy/test_list_integration.py | 3 +-- .../legacy/test_list_owners_integration.py | 3 +-- .../engine/legacy/test_options_parsing.py | 3 +-- .../engine/legacy/test_owners_integration.py | 3 +-- .../legacy/test_pants_engine_integration.py | 3 +-- .../pants_test/engine/legacy/test_parser.py | 3 +-- .../pants_test/engine/legacy/test_structs.py | 3 +-- .../pants_test/engine/scheduler_test_base.py | 3 +-- .../pants_test/engine/test_addressable.py | 3 +-- .../pants_test/engine/test_build_files.py | 3 +-- tests/python/pants_test/engine/test_engine.py | 3 +-- tests/python/pants_test/engine/test_fs.py | 3 +-- tests/python/pants_test/engine/test_graph.py | 3 +-- .../engine/test_isolated_process.py | 3 +-- .../pants_test/engine/test_legacy_engine.py | 3 +-- tests/python/pants_test/engine/test_mapper.py | 3 +-- .../python/pants_test/engine/test_parsers.py | 3 +-- .../pants_test/engine/test_round_engine.py | 3 +-- tests/python/pants_test/engine/test_rules.py | 3 +-- .../pants_test/engine/test_scheduler.py | 3 +-- .../engine/test_scheduler_integration.py | 3 +-- .../pants_test/engine/test_selectors.py | 3 +-- tests/python/pants_test/engine/test_struct.py | 3 +-- tests/python/pants_test/engine/util.py | 3 +-- tests/python/pants_test/fs/test_archive.py | 3 +-- .../python/pants_test/fs/test_expand_path.py | 3 +-- .../pants_test/fs/test_safe_filename.py | 3 +-- tests/python/pants_test/goal/data/register.py | 3 +-- .../goal/test_artifact_cache_stats.py | 3 +-- tests/python/pants_test/goal/test_context.py | 3 +-- tests/python/pants_test/goal/test_products.py | 3 +-- .../pants_test/goal/test_run_tracker.py | 3 +-- .../goal/test_run_tracker_integration.py | 3 +-- .../pants_test/goal/test_union_products.py | 3 +-- .../test_build_dictionary_info_extracter.py | 3 +-- .../pants_test/help/test_help_formatter.py | 3 +-- .../help/test_help_info_extracter.py | 3 +-- .../pants_test/help/test_help_integration.py | 3 +-- .../help/test_scope_info_iterator.py | 3 +-- tests/python/pants_test/init/repro_mixin.py | 3 +-- .../pants_test/init/test_extension_loader.py | 3 +-- tests/python/pants_test/init/test_logging.py | 3 +-- .../init/test_options_initializer.py | 3 +-- .../pants_test/init/test_plugin_resolver.py | 3 +-- tests/python/pants_test/init/test_repro.py | 3 +-- .../pants_test/init/test_repro_ignore.py | 3 +-- .../python/pants_test/init/test_subprocess.py | 3 +-- .../invalidation/test_build_invalidator.py | 3 +-- .../invalidation/test_cache_manager.py | 3 +-- ...st_strict_deps_invalidation_integration.py | 3 +-- .../pants_test/ivy/test_bootstrapper.py | 3 +-- .../pants_test/ivy/test_ivy_subsystem.py | 3 +-- .../java/distribution/test_distribution.py | 3 +-- .../test_distribution_integration.py | 3 +-- .../pants_test/java/jar/test_manifest.py | 3 +-- .../java/junit/test_junit_xml_parser.py | 3 +-- tests/python/pants_test/java/test_executor.py | 3 +-- .../pants_test/java/test_nailgun_client.py | 3 +-- .../pants_test/java/test_nailgun_executor.py | 3 +-- .../java/test_nailgun_integration.py | 3 +-- .../python/pants_test/java/test_nailgun_io.py | 3 +-- .../pants_test/java/test_nailgun_protocol.py | 3 +-- .../java/test_runjava_synthetic_classpath.py | 3 +-- tests/python/pants_test/java/test_util.py | 3 +-- .../pants_test/jvm/jar_task_test_base.py | 3 +-- .../pants_test/jvm/jvm_task_test_base.py | 3 +-- .../pants_test/jvm/jvm_tool_task_test_base.py | 3 +-- .../pants_test/jvm/nailgun_task_test_base.py | 3 +-- .../pants_test/jvm/subsystems/test_jvm.py | 3 +-- tests/python/pants_test/jvm/test_artifact.py | 3 +-- tests/python/pants_test/jvm/test_safeargs.py | 3 +-- .../pants_test/logging/data/register.py | 3 +-- .../logging/test_native_engine_logging.py | 3 +-- .../pants_test/logging/test_workunit_label.py | 3 +-- .../pants_test/net/http/test_fetcher.py | 3 +-- .../pants_test/option/test_arg_splitter.py | 3 +-- tests/python/pants_test/option/test_config.py | 3 +-- .../pants_test/option/test_custom_types.py | 3 +-- .../option/test_enclosing_scopes.py | 3 +-- .../option/test_option_value_container.py | 3 +-- .../pants_test/option/test_optionable.py | 3 +-- .../python/pants_test/option/test_options.py | 3 +-- .../option/test_options_bootstrapper.py | 3 +-- .../option/test_options_fingerprinter.py | 3 +-- .../option/test_options_integration.py | 3 +-- .../option/test_quiet_option_integration.py | 3 +-- tests/python/pants_test/option/util/fakes.py | 3 +-- .../pants_test/pants_run_integration_test.py | 3 +-- .../pantsd/service/test_fs_event_service.py | 3 +-- .../pantsd/service/test_pailgun_service.py | 3 +-- .../pantsd/service/test_pants_service.py | 3 +-- .../pants_test/pantsd/test_pailgun_server.py | 3 +-- .../pants_test/pantsd/test_pants_daemon.py | 3 +-- .../pantsd/test_pantsd_integration.py | 3 +-- .../pants_test/pantsd/test_process_manager.py | 3 +-- .../python/pants_test/pantsd/test_watchman.py | 3 +-- .../pants_test/pantsd/test_watchman_client.py | 3 +-- .../pantsd/test_watchman_launcher.py | 3 +-- tests/python/pants_test/process/test_lock.py | 3 +-- tests/python/pants_test/process/test_xargs.py | 3 +-- .../projects/base_project_integration_test.py | 3 +-- .../projects/test_testprojects_integration.py | 3 +-- .../test_interpreter_selection_integration.py | 3 +-- .../python/test_python_binary_integration.py | 3 +-- .../pants_test/releases/test_reversion.py | 3 +-- .../pants_test/reporting/test_linkify.py | 3 +-- .../reporting/test_reporting_integration.py | 3 +-- tests/python/pants_test/scm/test_git.py | 3 +-- .../python/pants_test/source/test_filespec.py | 3 +-- .../pants_test/source/test_payload_fields.py | 3 +-- .../pants_test/source/test_source_root.py | 3 +-- .../pants_test/source/test_wrapped_globs.py | 3 +-- tests/python/pants_test/stats/test_statsdb.py | 3 +-- .../pants_test/subsystem/subsystem_util.py | 3 +-- .../pants_test/subsystem/test_subsystem.py | 3 +-- .../pants_test/targets/test_java_agent.py | 3 +-- .../targets/test_jvm_app_integration.py | 3 +-- .../pants_test/targets/test_python_binary.py | 3 +-- .../pants_test/targets/test_python_target.py | 3 +-- .../pants_test/targets/test_scala_library.py | 3 +-- .../targets/test_scala_library_integration.py | 3 +-- .../pants_test/targets/test_sort_targets.py | 3 +-- .../test_unknown_arguments_integration.py | 3 +-- .../pants_test/task/echo_plugin/register.py | 3 +-- .../pants_test/task/test_console_task.py | 3 +-- .../test_goal_options_mixin_integration.py | 3 +-- .../pants_test/task/test_mutex_task_mixin.py | 3 +-- .../pants_test/task/test_scm_publish_mixin.py | 3 +-- .../task/test_simple_codegen_task.py | 3 +-- tests/python/pants_test/task/test_task.py | 3 +-- .../task/test_testrunner_task_mixin.py | 3 +-- tests/python/pants_test/task_test_base.py | 3 +-- .../python/pants_test/tasks/task_test_base.py | 3 +-- .../test_bootstrap_jvm_tools_integration.py | 3 +-- .../tasks/test_changed_target_integration.py | 3 +-- .../tasks/test_clean_all_integration.py | 3 +-- .../pants_test/tasks/test_execution_graph.py | 3 +-- .../tasks/test_scalastyle_integration.py | 3 +-- tests/python/pants_test/test_base.py | 3 +-- tests/python/pants_test/test_maven_layout.py | 3 +-- .../pants_test/testutils/file_test_util.py | 3 +-- tests/python/pants_test/testutils/git_util.py | 3 +-- .../pants_test/testutils/mock_logger.py | 3 +-- .../python/pants_test/testutils/pexrc_util.py | 3 +-- .../pants_test/testutils/process_test_util.py | 3 +-- tests/python/pants_test/util/test_argutil.py | 3 +-- .../pants_test/util/test_collections.py | 3 +-- .../pants_test/util/test_contextutil.py | 3 +-- tests/python/pants_test/util/test_dirutil.py | 3 +-- tests/python/pants_test/util/test_eval.py | 3 +-- tests/python/pants_test/util/test_fileutil.py | 3 +-- .../python/pants_test/util/test_filtering.py | 3 +-- tests/python/pants_test/util/test_memo.py | 3 +-- tests/python/pants_test/util/test_meta.py | 3 +-- tests/python/pants_test/util/test_netrc.py | 3 +-- tests/python/pants_test/util/test_objects.py | 3 +-- tests/python/pants_test/util/test_osutil.py | 3 +-- .../pants_test/util/test_process_handler.py | 3 +-- tests/python/pants_test/util/test_retry.py | 3 +-- tests/python/pants_test/util/test_socket.py | 3 +-- tests/python/pants_test/util/test_strutil.py | 3 +-- tests/python/pants_test/util/test_tarutil.py | 3 +-- .../python/pants_test/util/test_xml_parser.py | 3 +-- tests/python/pants_test/util/xml_test_base.py | 3 +-- 1083 files changed, 1095 insertions(+), 2181 deletions(-) diff --git a/build-support/bin/check_header_helper.py b/build-support/bin/check_header_helper.py index 812e3d84933..d2603aaa02f 100755 --- a/build-support/bin/check_header_helper.py +++ b/build-support/bin/check_header_helper.py @@ -8,8 +8,8 @@ # # usage: check_header_helper.py dir1 [ dir2 [ ... ] ] -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals + import os import re import sys @@ -18,8 +18,7 @@ # Copyright YYYY Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals """ @@ -29,7 +28,7 @@ def check_header(filename): try: with open(filename, 'r') as pyfile: buf = "" - for lineno in range(1,8): + for lineno in range(1,7): line = pyfile.readline() # Skip shebang line if lineno == 1 and line.startswith('#!'): @@ -45,6 +44,7 @@ def check_header(filename): except IOError: return False + def check_dir(directory): """Returns list of files that fail the check.""" failed_files = [] @@ -71,5 +71,6 @@ def main(): print(' {}'.format('\n '.join(failed_files))) sys.exit(1) + if __name__ == '__main__': main() diff --git a/contrib/avro/src/python/pants/contrib/avro/register.py b/contrib/avro/src/python/pants/contrib/avro/register.py index c8abcfb938f..1e3ddaafe3b 100644 --- a/contrib/avro/src/python/pants/contrib/avro/register.py +++ b/contrib/avro/src/python/pants/contrib/avro/register.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.build_file_aliases import BuildFileAliases from pants.goal.task_registrar import TaskRegistrar as task diff --git a/contrib/avro/src/python/pants/contrib/avro/targets/java_avro_library.py b/contrib/avro/src/python/pants/contrib/avro/targets/java_avro_library.py index b27c8586dce..8f788d68257 100644 --- a/contrib/avro/src/python/pants/contrib/avro/targets/java_avro_library.py +++ b/contrib/avro/src/python/pants/contrib/avro/targets/java_avro_library.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.jvm_target import JvmTarget from pants.base.payload import Payload diff --git a/contrib/avro/src/python/pants/contrib/avro/tasks/avro_gen.py b/contrib/avro/src/python/pants/contrib/avro/tasks/avro_gen.py index 551089f5fa9..95d67f0a77c 100644 --- a/contrib/avro/src/python/pants/contrib/avro/tasks/avro_gen.py +++ b/contrib/avro/src/python/pants/contrib/avro/tasks/avro_gen.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/avro/tests/python/pants_test/contrib/avro/tasks/test_avro_gen.py b/contrib/avro/tests/python/pants_test/contrib/avro/tasks/test_avro_gen.py index 2b6391ddab3..f76af01402c 100644 --- a/contrib/avro/tests/python/pants_test/contrib/avro/tasks/test_avro_gen.py +++ b/contrib/avro/tests/python/pants_test/contrib/avro/tasks/test_avro_gen.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/contrib/avro/tests/python/pants_test/contrib/avro/tasks/test_avro_gen_integration.py b/contrib/avro/tests/python/pants_test/contrib/avro/tasks/test_avro_gen_integration.py index b8ed47f4f09..a75d80b3da1 100644 --- a/contrib/avro/tests/python/pants_test/contrib/avro/tasks/test_avro_gen_integration.py +++ b/contrib/avro/tests/python/pants_test/contrib/avro/tasks/test_avro_gen_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/buildgen/src/python/pants/contrib/buildgen/build_file_manipulator.py b/contrib/buildgen/src/python/pants/contrib/buildgen/build_file_manipulator.py index 234f6ea6c64..666099ed337 100644 --- a/contrib/buildgen/src/python/pants/contrib/buildgen/build_file_manipulator.py +++ b/contrib/buildgen/src/python/pants/contrib/buildgen/build_file_manipulator.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast import logging diff --git a/contrib/buildgen/tests/python/pants_test/contrib/buildgen/test_build_file_manipulator.py b/contrib/buildgen/tests/python/pants_test/contrib/buildgen/test_build_file_manipulator.py index 7ad65064182..38b5623b4fc 100644 --- a/contrib/buildgen/tests/python/pants_test/contrib/buildgen/test_build_file_manipulator.py +++ b/contrib/buildgen/tests/python/pants_test/contrib/buildgen/test_build_file_manipulator.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/contrib/buildrefactor/src/python/pants/contrib/buildrefactor/buildozer.py b/contrib/buildrefactor/src/python/pants/contrib/buildrefactor/buildozer.py index af6b1573f5c..8addc3c14bf 100644 --- a/contrib/buildrefactor/src/python/pants/contrib/buildrefactor/buildozer.py +++ b/contrib/buildrefactor/src/python/pants/contrib/buildrefactor/buildozer.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/contrib/buildrefactor/src/python/pants/contrib/buildrefactor/buildozer_binary.py b/contrib/buildrefactor/src/python/pants/contrib/buildrefactor/buildozer_binary.py index 6f6129471e2..3f55b4da603 100644 --- a/contrib/buildrefactor/src/python/pants/contrib/buildrefactor/buildozer_binary.py +++ b/contrib/buildrefactor/src/python/pants/contrib/buildrefactor/buildozer_binary.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/contrib/buildrefactor/src/python/pants/contrib/buildrefactor/meta_rename.py b/contrib/buildrefactor/src/python/pants/contrib/buildrefactor/meta_rename.py index 2a8bca9cbca..948fb541fd0 100644 --- a/contrib/buildrefactor/src/python/pants/contrib/buildrefactor/meta_rename.py +++ b/contrib/buildrefactor/src/python/pants/contrib/buildrefactor/meta_rename.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging from collections import defaultdict diff --git a/contrib/buildrefactor/src/python/pants/contrib/buildrefactor/register.py b/contrib/buildrefactor/src/python/pants/contrib/buildrefactor/register.py index f267bb87d31..3302b45916c 100644 --- a/contrib/buildrefactor/src/python/pants/contrib/buildrefactor/register.py +++ b/contrib/buildrefactor/src/python/pants/contrib/buildrefactor/register.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.goal.task_registrar import TaskRegistrar as task diff --git a/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/buildozer_util.py b/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/buildozer_util.py index 3e0d90734b8..5654e02de0a 100644 --- a/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/buildozer_util.py +++ b/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/buildozer_util.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals def prepare_dependencies(self): diff --git a/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/test_buildozer.py b/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/test_buildozer.py index d880963ee36..6bb236ce73a 100644 --- a/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/test_buildozer.py +++ b/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/test_buildozer.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/test_buildozer_integration.py b/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/test_buildozer_integration.py index a4932c727f9..ed2bb451e7f 100644 --- a/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/test_buildozer_integration.py +++ b/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/test_buildozer_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/test_meta_rename.py b/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/test_meta_rename.py index 4b521ff15ad..f633c468869 100644 --- a/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/test_meta_rename.py +++ b/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/test_meta_rename.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/test_meta_rename_integration.py b/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/test_meta_rename_integration.py index a5068200f29..d10127cfabc 100644 --- a/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/test_meta_rename_integration.py +++ b/contrib/buildrefactor/tests/python/pants_test/contrib/buildrefactor/test_meta_rename_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/register.py b/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/register.py index afc234a03f7..6e404deae63 100644 --- a/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/register.py +++ b/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/register.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.goal.task_registrar import TaskRegistrar as task diff --git a/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/tasks/bundle_entries.py b/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/tasks/bundle_entries.py index f4db6ea7fbe..0652884c974 100644 --- a/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/tasks/bundle_entries.py +++ b/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/tasks/bundle_entries.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/tasks/extract_java.py b/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/tasks/extract_java.py index 1c3c208bc31..c4296eb09ff 100644 --- a/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/tasks/extract_java.py +++ b/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/tasks/extract_java.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/tasks/index_java.py b/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/tasks/index_java.py index 21990c884de..ec457c54a5d 100644 --- a/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/tasks/index_java.py +++ b/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/tasks/index_java.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/tasks/indexable_java_targets.py b/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/tasks/indexable_java_targets.py index 15013193120..38a741455b5 100644 --- a/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/tasks/indexable_java_targets.py +++ b/contrib/codeanalysis/src/python/pants/contrib/codeanalysis/tasks/indexable_java_targets.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.jvm_target import JvmTarget from pants.build_graph.target_scopes import Scope diff --git a/contrib/codeanalysis/tests/python/pants_test/contrib/codeanalysis/tasks/test_index_java_integration.py b/contrib/codeanalysis/tests/python/pants_test/contrib/codeanalysis/tasks/test_index_java_integration.py index 547bf6983d4..a672f056516 100644 --- a/contrib/codeanalysis/tests/python/pants_test/contrib/codeanalysis/tasks/test_index_java_integration.py +++ b/contrib/codeanalysis/tests/python/pants_test/contrib/codeanalysis/tasks/test_index_java_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import glob import os diff --git a/contrib/confluence/src/python/pants/contrib/confluence/register.py b/contrib/confluence/src/python/pants/contrib/confluence/register.py index 1718515fe5b..1b7efe91e02 100644 --- a/contrib/confluence/src/python/pants/contrib/confluence/register.py +++ b/contrib/confluence/src/python/pants/contrib/confluence/register.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.goal.task_registrar import TaskRegistrar as task diff --git a/contrib/confluence/src/python/pants/contrib/confluence/tasks/confluence_publish.py b/contrib/confluence/src/python/pants/contrib/confluence/tasks/confluence_publish.py index effb1d4d60f..4597dde7cac 100644 --- a/contrib/confluence/src/python/pants/contrib/confluence/tasks/confluence_publish.py +++ b/contrib/confluence/src/python/pants/contrib/confluence/tasks/confluence_publish.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import textwrap diff --git a/contrib/confluence/src/python/pants/contrib/confluence/util/confluence_util.py b/contrib/confluence/src/python/pants/contrib/confluence/util/confluence_util.py index e0d8c96f2e3..d13130524d0 100644 --- a/contrib/confluence/src/python/pants/contrib/confluence/util/confluence_util.py +++ b/contrib/confluence/src/python/pants/contrib/confluence/util/confluence_util.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import getpass import logging diff --git a/contrib/cpp/src/python/pants/contrib/cpp/register.py b/contrib/cpp/src/python/pants/contrib/cpp/register.py index 6347a61c298..2aa49a7c912 100644 --- a/contrib/cpp/src/python/pants/contrib/cpp/register.py +++ b/contrib/cpp/src/python/pants/contrib/cpp/register.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.build_file_aliases import BuildFileAliases from pants.goal.task_registrar import TaskRegistrar as task diff --git a/contrib/cpp/src/python/pants/contrib/cpp/targets/cpp_binary.py b/contrib/cpp/src/python/pants/contrib/cpp/targets/cpp_binary.py index eab8b45ecb9..af1eb725406 100644 --- a/contrib/cpp/src/python/pants/contrib/cpp/targets/cpp_binary.py +++ b/contrib/cpp/src/python/pants/contrib/cpp/targets/cpp_binary.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.payload import Payload from pants.base.payload_field import PrimitiveField diff --git a/contrib/cpp/src/python/pants/contrib/cpp/targets/cpp_library.py b/contrib/cpp/src/python/pants/contrib/cpp/targets/cpp_library.py index 4333da088c2..6510488a894 100644 --- a/contrib/cpp/src/python/pants/contrib/cpp/targets/cpp_library.py +++ b/contrib/cpp/src/python/pants/contrib/cpp/targets/cpp_library.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.cpp.targets.cpp_target import CppTarget diff --git a/contrib/cpp/src/python/pants/contrib/cpp/targets/cpp_target.py b/contrib/cpp/src/python/pants/contrib/cpp/targets/cpp_target.py index 347b57a826a..85e784b7683 100644 --- a/contrib/cpp/src/python/pants/contrib/cpp/targets/cpp_target.py +++ b/contrib/cpp/src/python/pants/contrib/cpp/targets/cpp_target.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.payload import Payload from pants.build_graph.target import Target diff --git a/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_binary_create.py b/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_binary_create.py index 6562df61242..f9574e59c11 100644 --- a/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_binary_create.py +++ b/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_binary_create.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_compile.py b/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_compile.py index 2610fed8c61..866b2332f4a 100644 --- a/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_compile.py +++ b/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_compile.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_library_create.py b/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_library_create.py index 72a6680fd4e..a44fbe65fc6 100644 --- a/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_library_create.py +++ b/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_library_create.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_run.py b/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_run.py index edc38751c2a..ac090522cab 100644 --- a/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_run.py +++ b/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_run.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.workunit import WorkUnitLabel diff --git a/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_task.py b/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_task.py index c073b8041ea..e451f033a64 100644 --- a/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_task.py +++ b/contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_task.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.exceptions import TaskError from pants.task.task import Task diff --git a/contrib/cpp/src/python/pants/contrib/cpp/toolchain/cpp_toolchain.py b/contrib/cpp/src/python/pants/contrib/cpp/toolchain/cpp_toolchain.py index 1993b693f50..df751b0fc75 100644 --- a/contrib/cpp/src/python/pants/contrib/cpp/toolchain/cpp_toolchain.py +++ b/contrib/cpp/src/python/pants/contrib/cpp/toolchain/cpp_toolchain.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/cpp/tests/python/pants_test/contrib/cpp/test_cpp_integration.py b/contrib/cpp/tests/python/pants_test/contrib/cpp/test_cpp_integration.py index 5fc1f29b24d..5000c6f407a 100644 --- a/contrib/cpp/tests/python/pants_test/contrib/cpp/test_cpp_integration.py +++ b/contrib/cpp/tests/python/pants_test/contrib/cpp/test_cpp_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from unittest import skipUnless diff --git a/contrib/cpp/tests/python/pants_test/contrib/cpp/test_cpp_toolchain.py b/contrib/cpp/tests/python/pants_test/contrib/cpp/test_cpp_toolchain.py index c8a13f869ff..97102eadcba 100644 --- a/contrib/cpp/tests/python/pants_test/contrib/cpp/test_cpp_toolchain.py +++ b/contrib/cpp/tests/python/pants_test/contrib/cpp/test_cpp_toolchain.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/contrib/errorprone/src/python/pants/contrib/errorprone/register.py b/contrib/errorprone/src/python/pants/contrib/errorprone/register.py index 1731d2f45f3..48ff942d4e4 100644 --- a/contrib/errorprone/src/python/pants/contrib/errorprone/register.py +++ b/contrib/errorprone/src/python/pants/contrib/errorprone/register.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.goal.task_registrar import TaskRegistrar as task diff --git a/contrib/errorprone/src/python/pants/contrib/errorprone/tasks/errorprone.py b/contrib/errorprone/src/python/pants/contrib/errorprone/tasks/errorprone.py index a6a0108c903..95bb0ec1875 100644 --- a/contrib/errorprone/src/python/pants/contrib/errorprone/tasks/errorprone.py +++ b/contrib/errorprone/src/python/pants/contrib/errorprone/tasks/errorprone.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/contrib/errorprone/tests/python/pants_test/contrib/errorprone/tasks/test_errorprone.py b/contrib/errorprone/tests/python/pants_test/contrib/errorprone/tasks/test_errorprone.py index 797cf50cbf8..2bd0318b308 100644 --- a/contrib/errorprone/tests/python/pants_test/contrib/errorprone/tasks/test_errorprone.py +++ b/contrib/errorprone/tests/python/pants_test/contrib/errorprone/tasks/test_errorprone.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.jvm.nailgun_task_test_base import NailgunTaskTestBase diff --git a/contrib/errorprone/tests/python/pants_test/contrib/errorprone/tasks/test_errorprone_integration.py b/contrib/errorprone/tests/python/pants_test/contrib/errorprone/tasks/test_errorprone_integration.py index aeac6c03ebe..c39f8017837 100644 --- a/contrib/errorprone/tests/python/pants_test/contrib/errorprone/tasks/test_errorprone_integration.py +++ b/contrib/errorprone/tests/python/pants_test/contrib/errorprone/tasks/test_errorprone_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/contrib/findbugs/src/python/pants/contrib/findbugs/register.py b/contrib/findbugs/src/python/pants/contrib/findbugs/register.py index 8c5e6ebb189..a63f88b1e63 100644 --- a/contrib/findbugs/src/python/pants/contrib/findbugs/register.py +++ b/contrib/findbugs/src/python/pants/contrib/findbugs/register.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.goal.task_registrar import TaskRegistrar as task diff --git a/contrib/findbugs/src/python/pants/contrib/findbugs/tasks/findbugs.py b/contrib/findbugs/src/python/pants/contrib/findbugs/tasks/findbugs.py index eb6a40d55f2..8c52dac4190 100644 --- a/contrib/findbugs/src/python/pants/contrib/findbugs/tasks/findbugs.py +++ b/contrib/findbugs/src/python/pants/contrib/findbugs/tasks/findbugs.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/contrib/findbugs/tests/python/pants_test/contrib/findbugs/tasks/test_findbugs.py b/contrib/findbugs/tests/python/pants_test/contrib/findbugs/tasks/test_findbugs.py index 169b81feae8..d1d9fab8cc5 100644 --- a/contrib/findbugs/tests/python/pants_test/contrib/findbugs/tasks/test_findbugs.py +++ b/contrib/findbugs/tests/python/pants_test/contrib/findbugs/tasks/test_findbugs.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.jvm.nailgun_task_test_base import NailgunTaskTestBase diff --git a/contrib/findbugs/tests/python/pants_test/contrib/findbugs/tasks/test_findbugs_integration.py b/contrib/findbugs/tests/python/pants_test/contrib/findbugs/tasks/test_findbugs_integration.py index 2a145cb8015..42cfcd168de 100644 --- a/contrib/findbugs/tests/python/pants_test/contrib/findbugs/tasks/test_findbugs_integration.py +++ b/contrib/findbugs/tests/python/pants_test/contrib/findbugs/tasks/test_findbugs_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/contrib/go/src/python/pants/contrib/go/register.py b/contrib/go/src/python/pants/contrib/go/register.py index b58742c1324..2ada9507ef8 100644 --- a/contrib/go/src/python/pants/contrib/go/register.py +++ b/contrib/go/src/python/pants/contrib/go/register.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.build_file_aliases import BuildFileAliases, TargetMacro from pants.goal.task_registrar import TaskRegistrar as task diff --git a/contrib/go/src/python/pants/contrib/go/subsystems/archive_retriever.py b/contrib/go/src/python/pants/contrib/go/subsystems/archive_retriever.py index f9866a97bd9..ca1b85347c7 100644 --- a/contrib/go/src/python/pants/contrib/go/subsystems/archive_retriever.py +++ b/contrib/go/src/python/pants/contrib/go/subsystems/archive_retriever.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/contrib/go/src/python/pants/contrib/go/subsystems/fetch_error.py b/contrib/go/src/python/pants/contrib/go/subsystems/fetch_error.py index 4dd69b8ff0e..47add1e79d0 100644 --- a/contrib/go/src/python/pants/contrib/go/subsystems/fetch_error.py +++ b/contrib/go/src/python/pants/contrib/go/subsystems/fetch_error.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals class FetchError(Exception): diff --git a/contrib/go/src/python/pants/contrib/go/subsystems/fetcher.py b/contrib/go/src/python/pants/contrib/go/subsystems/fetcher.py index 106c36f0148..2fc3975dceb 100644 --- a/contrib/go/src/python/pants/contrib/go/subsystems/fetcher.py +++ b/contrib/go/src/python/pants/contrib/go/subsystems/fetcher.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging from abc import abstractmethod diff --git a/contrib/go/src/python/pants/contrib/go/subsystems/fetcher_factory.py b/contrib/go/src/python/pants/contrib/go/subsystems/fetcher_factory.py index 930f320ad02..7452662c3fb 100644 --- a/contrib/go/src/python/pants/contrib/go/subsystems/fetcher_factory.py +++ b/contrib/go/src/python/pants/contrib/go/subsystems/fetcher_factory.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import re diff --git a/contrib/go/src/python/pants/contrib/go/subsystems/go_distribution.py b/contrib/go/src/python/pants/contrib/go/subsystems/go_distribution.py index 82dce73316c..dfd51944005 100644 --- a/contrib/go/src/python/pants/contrib/go/subsystems/go_distribution.py +++ b/contrib/go/src/python/pants/contrib/go/subsystems/go_distribution.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import OrderedDict, namedtuple diff --git a/contrib/go/src/python/pants/contrib/go/subsystems/go_import_meta_tag_reader.py b/contrib/go/src/python/pants/contrib/go/subsystems/go_import_meta_tag_reader.py index f50188f1357..162f1f584f5 100644 --- a/contrib/go/src/python/pants/contrib/go/subsystems/go_import_meta_tag_reader.py +++ b/contrib/go/src/python/pants/contrib/go/subsystems/go_import_meta_tag_reader.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re diff --git a/contrib/go/src/python/pants/contrib/go/subsystems/imported_repo.py b/contrib/go/src/python/pants/contrib/go/subsystems/imported_repo.py index 858123bcbdf..859edf653b3 100644 --- a/contrib/go/src/python/pants/contrib/go/subsystems/imported_repo.py +++ b/contrib/go/src/python/pants/contrib/go/subsystems/imported_repo.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import namedtuple diff --git a/contrib/go/src/python/pants/contrib/go/subsystems/protoc_gen_go.py b/contrib/go/src/python/pants/contrib/go/subsystems/protoc_gen_go.py index ff4c5a52f28..bce4ae61495 100644 --- a/contrib/go/src/python/pants/contrib/go/subsystems/protoc_gen_go.py +++ b/contrib/go/src/python/pants/contrib/go/subsystems/protoc_gen_go.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/contrib/go/src/python/pants/contrib/go/targets/go_binary.py b/contrib/go/src/python/pants/contrib/go/targets/go_binary.py index 4044cf1ecbb..6179e68e0b6 100644 --- a/contrib/go/src/python/pants/contrib/go/targets/go_binary.py +++ b/contrib/go/src/python/pants/contrib/go/targets/go_binary.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.go.targets.go_local_source import GoLocalSource diff --git a/contrib/go/src/python/pants/contrib/go/targets/go_library.py b/contrib/go/src/python/pants/contrib/go/targets/go_library.py index dd46eba6ec3..2e2499983d3 100644 --- a/contrib/go/src/python/pants/contrib/go/targets/go_library.py +++ b/contrib/go/src/python/pants/contrib/go/targets/go_library.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.go.targets.go_local_source import GoLocalSource diff --git a/contrib/go/src/python/pants/contrib/go/targets/go_local_source.py b/contrib/go/src/python/pants/contrib/go/targets/go_local_source.py index ef9f29d0a9a..d4d4aab9ca2 100644 --- a/contrib/go/src/python/pants/contrib/go/targets/go_local_source.py +++ b/contrib/go/src/python/pants/contrib/go/targets/go_local_source.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/go/src/python/pants/contrib/go/targets/go_protobuf_library.py b/contrib/go/src/python/pants/contrib/go/targets/go_protobuf_library.py index 20d380112e7..3a8b59b63e6 100644 --- a/contrib/go/src/python/pants/contrib/go/targets/go_protobuf_library.py +++ b/contrib/go/src/python/pants/contrib/go/targets/go_protobuf_library.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.payload import Payload from pants.build_graph.target import Target diff --git a/contrib/go/src/python/pants/contrib/go/targets/go_remote_library.py b/contrib/go/src/python/pants/contrib/go/targets/go_remote_library.py index 3608e4a91c7..e0a18d7fa37 100644 --- a/contrib/go/src/python/pants/contrib/go/targets/go_remote_library.py +++ b/contrib/go/src/python/pants/contrib/go/targets/go_remote_library.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/go/src/python/pants/contrib/go/targets/go_target.py b/contrib/go/src/python/pants/contrib/go/targets/go_target.py index f5ac64b0b51..4956b555bb7 100644 --- a/contrib/go/src/python/pants/contrib/go/targets/go_target.py +++ b/contrib/go/src/python/pants/contrib/go/targets/go_target.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from abc import abstractproperty diff --git a/contrib/go/src/python/pants/contrib/go/targets/go_thrift_library.py b/contrib/go/src/python/pants/contrib/go/targets/go_thrift_library.py index d1a0a189e65..c490674a7a9 100644 --- a/contrib/go/src/python/pants/contrib/go/targets/go_thrift_library.py +++ b/contrib/go/src/python/pants/contrib/go/targets/go_thrift_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.payload import Payload from pants.build_graph.target import Target diff --git a/contrib/go/src/python/pants/contrib/go/tasks/go_binary_create.py b/contrib/go/src/python/pants/contrib/go/tasks/go_binary_create.py index df6073751c7..6bf57e9cacf 100644 --- a/contrib/go/src/python/pants/contrib/go/tasks/go_binary_create.py +++ b/contrib/go/src/python/pants/contrib/go/tasks/go_binary_create.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/contrib/go/src/python/pants/contrib/go/tasks/go_binary_fingerprint_strategy.py b/contrib/go/src/python/pants/contrib/go/tasks/go_binary_fingerprint_strategy.py index f3976dd4229..4bd7994294c 100644 --- a/contrib/go/src/python/pants/contrib/go/tasks/go_binary_fingerprint_strategy.py +++ b/contrib/go/src/python/pants/contrib/go/tasks/go_binary_fingerprint_strategy.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import hashlib diff --git a/contrib/go/src/python/pants/contrib/go/tasks/go_buildgen.py b/contrib/go/src/python/pants/contrib/go/tasks/go_buildgen.py index 9e9c377dace..8e30635ab80 100644 --- a/contrib/go/src/python/pants/contrib/go/tasks/go_buildgen.py +++ b/contrib/go/src/python/pants/contrib/go/tasks/go_buildgen.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import defaultdict, namedtuple diff --git a/contrib/go/src/python/pants/contrib/go/tasks/go_checkstyle.py b/contrib/go/src/python/pants/contrib/go/tasks/go_checkstyle.py index dc347c72c68..d73db780c60 100644 --- a/contrib/go/src/python/pants/contrib/go/tasks/go_checkstyle.py +++ b/contrib/go/src/python/pants/contrib/go/tasks/go_checkstyle.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.exceptions import TaskError from pants.task.lint_task_mixin import LintTaskMixin diff --git a/contrib/go/src/python/pants/contrib/go/tasks/go_compile.py b/contrib/go/src/python/pants/contrib/go/tasks/go_compile.py index ec0e9ee9b67..82da510b048 100644 --- a/contrib/go/src/python/pants/contrib/go/tasks/go_compile.py +++ b/contrib/go/src/python/pants/contrib/go/tasks/go_compile.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import os diff --git a/contrib/go/src/python/pants/contrib/go/tasks/go_fetch.py b/contrib/go/src/python/pants/contrib/go/tasks/go_fetch.py index b6a01330a25..5e1b97ad800 100644 --- a/contrib/go/src/python/pants/contrib/go/tasks/go_fetch.py +++ b/contrib/go/src/python/pants/contrib/go/tasks/go_fetch.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/contrib/go/src/python/pants/contrib/go/tasks/go_fmt.py b/contrib/go/src/python/pants/contrib/go/tasks/go_fmt.py index 1ff8a062d2d..0a3c7dab224 100644 --- a/contrib/go/src/python/pants/contrib/go/tasks/go_fmt.py +++ b/contrib/go/src/python/pants/contrib/go/tasks/go_fmt.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.task.fmt_task_mixin import FmtTaskMixin diff --git a/contrib/go/src/python/pants/contrib/go/tasks/go_fmt_task_base.py b/contrib/go/src/python/pants/contrib/go/tasks/go_fmt_task_base.py index 02a77839f16..9442dfeaf88 100644 --- a/contrib/go/src/python/pants/contrib/go/tasks/go_fmt_task_base.py +++ b/contrib/go/src/python/pants/contrib/go/tasks/go_fmt_task_base.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/contrib/go/src/python/pants/contrib/go/tasks/go_go.py b/contrib/go/src/python/pants/contrib/go/tasks/go_go.py index 95945317813..a67dfa2eac4 100644 --- a/contrib/go/src/python/pants/contrib/go/tasks/go_go.py +++ b/contrib/go/src/python/pants/contrib/go/tasks/go_go.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from abc import abstractmethod diff --git a/contrib/go/src/python/pants/contrib/go/tasks/go_protobuf_gen.py b/contrib/go/src/python/pants/contrib/go/tasks/go_protobuf_gen.py index cdec0d063f2..4cacc922f24 100644 --- a/contrib/go/src/python/pants/contrib/go/tasks/go_protobuf_gen.py +++ b/contrib/go/src/python/pants/contrib/go/tasks/go_protobuf_gen.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/contrib/go/src/python/pants/contrib/go/tasks/go_run.py b/contrib/go/src/python/pants/contrib/go/tasks/go_run.py index 19a86facd8d..f948544a50c 100644 --- a/contrib/go/src/python/pants/contrib/go/tasks/go_run.py +++ b/contrib/go/src/python/pants/contrib/go/tasks/go_run.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/go/src/python/pants/contrib/go/tasks/go_task.py b/contrib/go/src/python/pants/contrib/go/tasks/go_task.py index abfa23c3c26..da4f75be30a 100644 --- a/contrib/go/src/python/pants/contrib/go/tasks/go_task.py +++ b/contrib/go/src/python/pants/contrib/go/tasks/go_task.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import re diff --git a/contrib/go/src/python/pants/contrib/go/tasks/go_test.py b/contrib/go/src/python/pants/contrib/go/tasks/go_test.py index 643ea04c22b..195a1dcfaa2 100644 --- a/contrib/go/src/python/pants/contrib/go/tasks/go_test.py +++ b/contrib/go/src/python/pants/contrib/go/tasks/go_test.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.exceptions import TaskError from pants.base.workunit import WorkUnitLabel diff --git a/contrib/go/src/python/pants/contrib/go/tasks/go_thrift_gen.py b/contrib/go/src/python/pants/contrib/go/tasks/go_thrift_gen.py index a65486efc00..00b109b7746 100644 --- a/contrib/go/src/python/pants/contrib/go/tasks/go_thrift_gen.py +++ b/contrib/go/src/python/pants/contrib/go/tasks/go_thrift_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/contrib/go/src/python/pants/contrib/go/tasks/go_workspace_task.py b/contrib/go/src/python/pants/contrib/go/tasks/go_workspace_task.py index bae625fe31b..13936bb11c5 100644 --- a/contrib/go/src/python/pants/contrib/go/tasks/go_workspace_task.py +++ b/contrib/go/src/python/pants/contrib/go/tasks/go_workspace_task.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from itertools import chain diff --git a/contrib/go/tests/python/pants_test/contrib/go/subsystems/test_fetchers.py b/contrib/go/tests/python/pants_test/contrib/go/subsystems/test_fetchers.py index 59a4acd091f..cb66c4ba907 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/subsystems/test_fetchers.py +++ b/contrib/go/tests/python/pants_test/contrib/go/subsystems/test_fetchers.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.subsystem.subsystem_util import global_subsystem_instance from pants_test.test_base import TestBase diff --git a/contrib/go/tests/python/pants_test/contrib/go/subsystems/test_go_distribution.py b/contrib/go/tests/python/pants_test/contrib/go/subsystems/test_go_distribution.py index fea5f54617b..7433f2b3411 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/subsystems/test_go_distribution.py +++ b/contrib/go/tests/python/pants_test/contrib/go/subsystems/test_go_distribution.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/contrib/go/tests/python/pants_test/contrib/go/subsystems/test_go_import_meta_tag_reader.py b/contrib/go/tests/python/pants_test/contrib/go/subsystems/test_go_import_meta_tag_reader.py index 440478e7089..f97ba9f90df 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/subsystems/test_go_import_meta_tag_reader.py +++ b/contrib/go/tests/python/pants_test/contrib/go/subsystems/test_go_import_meta_tag_reader.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/contrib/go/tests/python/pants_test/contrib/go/subsystems/test_protoc_gen_go_integration.py b/contrib/go/tests/python/pants_test/contrib/go/subsystems/test_protoc_gen_go_integration.py index b0e0d65509b..4aa035cc38d 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/subsystems/test_protoc_gen_go_integration.py +++ b/contrib/go/tests/python/pants_test/contrib/go/subsystems/test_protoc_gen_go_integration.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/contrib/go/tests/python/pants_test/contrib/go/targets/go_local_source_test_base.py b/contrib/go/tests/python/pants_test/contrib/go/targets/go_local_source_test_base.py index 4b6106572b3..c865af59262 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/targets/go_local_source_test_base.py +++ b/contrib/go/tests/python/pants_test/contrib/go/targets/go_local_source_test_base.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractproperty from textwrap import dedent diff --git a/contrib/go/tests/python/pants_test/contrib/go/targets/test_go_binary.py b/contrib/go/tests/python/pants_test/contrib/go/targets/test_go_binary.py index 171748d7c09..2c83f4e808f 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/targets/test_go_binary.py +++ b/contrib/go/tests/python/pants_test/contrib/go/targets/test_go_binary.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.contrib.go.targets.go_local_source_test_base import GoLocalSourceTestBase from pants_test.test_base import TestBase diff --git a/contrib/go/tests/python/pants_test/contrib/go/targets/test_go_library.py b/contrib/go/tests/python/pants_test/contrib/go/targets/test_go_library.py index 3afc959f11e..1a04e849fe0 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/targets/test_go_library.py +++ b/contrib/go/tests/python/pants_test/contrib/go/targets/test_go_library.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.contrib.go.targets.go_local_source_test_base import GoLocalSourceTestBase from pants_test.test_base import TestBase diff --git a/contrib/go/tests/python/pants_test/contrib/go/targets/test_go_remote_library.py b/contrib/go/tests/python/pants_test/contrib/go/targets/test_go_remote_library.py index bdcedcdf0b5..e494520d9f2 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/targets/test_go_remote_library.py +++ b/contrib/go/tests/python/pants_test/contrib/go/targets/test_go_remote_library.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_binary_create.py b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_binary_create.py index 895bf804c3d..150178979a8 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_binary_create.py +++ b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_binary_create.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_binary_integration.py b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_binary_integration.py index 4287e692789..1dd524c44b5 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_binary_integration.py +++ b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_binary_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.util.dirutil import safe_delete from pants.util.process_handler import subprocess diff --git a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_buildgen.py b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_buildgen.py index 6a379e6bf08..807570ccf04 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_buildgen.py +++ b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_buildgen.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import types from textwrap import dedent diff --git a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_check_style_integration.py b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_check_style_integration.py index 0a18dd556c5..b5c128d3104 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_check_style_integration.py +++ b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_check_style_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_compile.py b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_compile.py index 37166c5c2f1..6e5f58866de 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_compile.py +++ b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_compile.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import time diff --git a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_compile_integration.py b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_compile_integration.py index 2e0d3fe5107..8090856b533 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_compile_integration.py +++ b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_compile_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_fetch.py b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_fetch.py index ca4b49ad630..6da0f6dfc32 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_fetch.py +++ b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_fetch.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_fetch_integration.py b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_fetch_integration.py index ea8c939e933..2e9f25ad9ec 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_fetch_integration.py +++ b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_fetch_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_go.py b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_go.py index 95b2fa07f65..ddf45d071a9 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_go.py +++ b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_go.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_run_integration.py b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_run_integration.py index 7fe139b26a2..a479257d60d 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_run_integration.py +++ b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_run_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_task.py b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_task.py index 669f35f077e..549e9416b4f 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_task.py +++ b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_task.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.task_test_base import TaskTestBase diff --git a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_test_integration.py b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_test_integration.py index fdd7717b325..c27471dac36 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_test_integration.py +++ b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_test_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent diff --git a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_thrift_gen.py b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_thrift_gen.py index 02719b48a73..b111803c603 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_thrift_gen.py +++ b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_thrift_gen.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.codegen.thrift.lib.thrift import Thrift from pants.base.exceptions import TaskError diff --git a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_thrift_gen_integration.py b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_thrift_gen_integration.py index 7f0357615bc..73b75dd3b91 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_thrift_gen_integration.py +++ b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_thrift_gen_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_workspace_task.py b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_workspace_task.py index 9086316cf50..a5075e5ae8d 100644 --- a/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_workspace_task.py +++ b/contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_workspace_task.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import time diff --git a/contrib/googlejavaformat/src/python/pants/contrib/googlejavaformat/googlejavaformat.py b/contrib/googlejavaformat/src/python/pants/contrib/googlejavaformat/googlejavaformat.py index 5c26cc3392c..fa15cf0b042 100644 --- a/contrib/googlejavaformat/src/python/pants/contrib/googlejavaformat/googlejavaformat.py +++ b/contrib/googlejavaformat/src/python/pants/contrib/googlejavaformat/googlejavaformat.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractproperty diff --git a/contrib/googlejavaformat/src/python/pants/contrib/googlejavaformat/register.py b/contrib/googlejavaformat/src/python/pants/contrib/googlejavaformat/register.py index a9018872448..afcffebda79 100644 --- a/contrib/googlejavaformat/src/python/pants/contrib/googlejavaformat/register.py +++ b/contrib/googlejavaformat/src/python/pants/contrib/googlejavaformat/register.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.goal.task_registrar import TaskRegistrar as task diff --git a/contrib/googlejavaformat/tests/python/pants_test/contrib/googlejavaformat/test_googlejavaformat.py b/contrib/googlejavaformat/tests/python/pants_test/contrib/googlejavaformat/test_googlejavaformat.py index b796e4d7ec1..1e8473e7b60 100644 --- a/contrib/googlejavaformat/tests/python/pants_test/contrib/googlejavaformat/test_googlejavaformat.py +++ b/contrib/googlejavaformat/tests/python/pants_test/contrib/googlejavaformat/test_googlejavaformat.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/contrib/jax_ws/src/python/pants/contrib/jax_ws/register.py b/contrib/jax_ws/src/python/pants/contrib/jax_ws/register.py index c234aaff322..4f69278c349 100644 --- a/contrib/jax_ws/src/python/pants/contrib/jax_ws/register.py +++ b/contrib/jax_ws/src/python/pants/contrib/jax_ws/register.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.build_file_aliases import BuildFileAliases from pants.goal.task_registrar import TaskRegistrar as task diff --git a/contrib/jax_ws/src/python/pants/contrib/jax_ws/targets/jax_ws_library.py b/contrib/jax_ws/src/python/pants/contrib/jax_ws/targets/jax_ws_library.py index 6255d91f47a..65f18fef5c4 100644 --- a/contrib/jax_ws/src/python/pants/contrib/jax_ws/targets/jax_ws_library.py +++ b/contrib/jax_ws/src/python/pants/contrib/jax_ws/targets/jax_ws_library.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.jvm_target import JvmTarget from pants.base.payload import Payload diff --git a/contrib/jax_ws/src/python/pants/contrib/jax_ws/tasks/jax_ws_gen.py b/contrib/jax_ws/src/python/pants/contrib/jax_ws/tasks/jax_ws_gen.py index f21dc736843..633ce00e8a4 100644 --- a/contrib/jax_ws/src/python/pants/contrib/jax_ws/tasks/jax_ws_gen.py +++ b/contrib/jax_ws/src/python/pants/contrib/jax_ws/tasks/jax_ws_gen.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/contrib/jax_ws/tests/python/pants_test/contrib/jax_ws/tasks/test_jax_ws_gen.py b/contrib/jax_ws/tests/python/pants_test/contrib/jax_ws/tasks/test_jax_ws_gen.py index c545754e5fb..884f5e13852 100644 --- a/contrib/jax_ws/tests/python/pants_test/contrib/jax_ws/tasks/test_jax_ws_gen.py +++ b/contrib/jax_ws/tests/python/pants_test/contrib/jax_ws/tasks/test_jax_ws_gen.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.jvm.nailgun_task_test_base import NailgunTaskTestBase diff --git a/contrib/jax_ws/tests/python/pants_test/contrib/jax_ws/tasks/test_jax_ws_gen_integration.py b/contrib/jax_ws/tests/python/pants_test/contrib/jax_ws/tasks/test_jax_ws_gen_integration.py index 4da8e4cc794..a3609e81fd2 100644 --- a/contrib/jax_ws/tests/python/pants_test/contrib/jax_ws/tasks/test_jax_ws_gen_integration.py +++ b/contrib/jax_ws/tests/python/pants_test/contrib/jax_ws/tasks/test_jax_ws_gen_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/contrib/mypy/src/python/pants/contrib/mypy/register.py b/contrib/mypy/src/python/pants/contrib/mypy/register.py index b5bb916ba88..f00f4732b55 100644 --- a/contrib/mypy/src/python/pants/contrib/mypy/register.py +++ b/contrib/mypy/src/python/pants/contrib/mypy/register.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.goal.task_registrar import TaskRegistrar as task diff --git a/contrib/mypy/src/python/pants/contrib/mypy/tasks/mypy_task.py b/contrib/mypy/src/python/pants/contrib/mypy/tasks/mypy_task.py index c099d5e1e98..5222edd0811 100644 --- a/contrib/mypy/src/python/pants/contrib/mypy/tasks/mypy_task.py +++ b/contrib/mypy/src/python/pants/contrib/mypy/tasks/mypy_task.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/mypy/tests/python/pants_test/contrib/mypy/tasks/test_mypy_integration.py b/contrib/mypy/tests/python/pants_test/contrib/mypy/tasks/test_mypy_integration.py index 946c1ffe546..bddc7ac899e 100644 --- a/contrib/mypy/tests/python/pants_test/contrib/mypy/tasks/test_mypy_integration.py +++ b/contrib/mypy/tests/python/pants_test/contrib/mypy/tasks/test_mypy_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/contrib/node/src/python/pants/contrib/node/register.py b/contrib/node/src/python/pants/contrib/node/register.py index 67d909fb980..835e696b844 100644 --- a/contrib/node/src/python/pants/contrib/node/register.py +++ b/contrib/node/src/python/pants/contrib/node/register.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.build_file_aliases import BuildFileAliases from pants.goal.task_registrar import TaskRegistrar as task diff --git a/contrib/node/src/python/pants/contrib/node/subsystems/command.py b/contrib/node/src/python/pants/contrib/node/subsystems/command.py index 95047f7b2d0..44321935b0c 100644 --- a/contrib/node/src/python/pants/contrib/node/subsystems/command.py +++ b/contrib/node/src/python/pants/contrib/node/subsystems/command.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/contrib/node/src/python/pants/contrib/node/subsystems/node_distribution.py b/contrib/node/src/python/pants/contrib/node/subsystems/node_distribution.py index 7aed8a7e0a9..c6317b2d1dc 100644 --- a/contrib/node/src/python/pants/contrib/node/subsystems/node_distribution.py +++ b/contrib/node/src/python/pants/contrib/node/subsystems/node_distribution.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import filecmp import logging diff --git a/contrib/node/src/python/pants/contrib/node/subsystems/package_managers.py b/contrib/node/src/python/pants/contrib/node/subsystems/package_managers.py index fb470ec0825..fec060c513b 100644 --- a/contrib/node/src/python/pants/contrib/node/subsystems/package_managers.py +++ b/contrib/node/src/python/pants/contrib/node/subsystems/package_managers.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/contrib/node/src/python/pants/contrib/node/subsystems/resolvers/node_preinstalled_module_resolver.py b/contrib/node/src/python/pants/contrib/node/subsystems/resolvers/node_preinstalled_module_resolver.py index 014bc7282d8..5a083514f96 100644 --- a/contrib/node/src/python/pants/contrib/node/subsystems/resolvers/node_preinstalled_module_resolver.py +++ b/contrib/node/src/python/pants/contrib/node/subsystems/resolvers/node_preinstalled_module_resolver.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/contrib/node/src/python/pants/contrib/node/subsystems/resolvers/node_resolver_base.py b/contrib/node/src/python/pants/contrib/node/subsystems/resolvers/node_resolver_base.py index 3d09bdea809..225d7d9b4ec 100644 --- a/contrib/node/src/python/pants/contrib/node/subsystems/resolvers/node_resolver_base.py +++ b/contrib/node/src/python/pants/contrib/node/subsystems/resolvers/node_resolver_base.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/contrib/node/src/python/pants/contrib/node/subsystems/resolvers/npm_resolver.py b/contrib/node/src/python/pants/contrib/node/subsystems/resolvers/npm_resolver.py index 01cb51ab9c3..7f048b7cdee 100644 --- a/contrib/node/src/python/pants/contrib/node/subsystems/resolvers/npm_resolver.py +++ b/contrib/node/src/python/pants/contrib/node/subsystems/resolvers/npm_resolver.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/contrib/node/src/python/pants/contrib/node/subsystems/yarnpkg_distribution.py b/contrib/node/src/python/pants/contrib/node/subsystems/yarnpkg_distribution.py index 4e381740fe0..bf17894e7f9 100644 --- a/contrib/node/src/python/pants/contrib/node/subsystems/yarnpkg_distribution.py +++ b/contrib/node/src/python/pants/contrib/node/subsystems/yarnpkg_distribution.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/contrib/node/src/python/pants/contrib/node/targets/node_bundle.py b/contrib/node/src/python/pants/contrib/node/targets/node_bundle.py index 059bef0109f..99b7f877682 100644 --- a/contrib/node/src/python/pants/contrib/node/targets/node_bundle.py +++ b/contrib/node/src/python/pants/contrib/node/targets/node_bundle.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.exceptions import TargetDefinitionException from pants.base.payload import Payload diff --git a/contrib/node/src/python/pants/contrib/node/targets/node_module.py b/contrib/node/src/python/pants/contrib/node/targets/node_module.py index 56508f95c27..283d887519e 100644 --- a/contrib/node/src/python/pants/contrib/node/targets/node_module.py +++ b/contrib/node/src/python/pants/contrib/node/targets/node_module.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/contrib/node/src/python/pants/contrib/node/targets/node_package.py b/contrib/node/src/python/pants/contrib/node/targets/node_package.py index d9b626970d1..c7b94cddaf9 100644 --- a/contrib/node/src/python/pants/contrib/node/targets/node_package.py +++ b/contrib/node/src/python/pants/contrib/node/targets/node_package.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.payload import Payload from pants.base.payload_field import PrimitiveField diff --git a/contrib/node/src/python/pants/contrib/node/targets/node_preinstalled_module.py b/contrib/node/src/python/pants/contrib/node/targets/node_preinstalled_module.py index 64e06000ddc..e8fc0abbb2b 100644 --- a/contrib/node/src/python/pants/contrib/node/targets/node_preinstalled_module.py +++ b/contrib/node/src/python/pants/contrib/node/targets/node_preinstalled_module.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.payload import Payload from pants.base.payload_field import PrimitiveField diff --git a/contrib/node/src/python/pants/contrib/node/targets/node_remote_module.py b/contrib/node/src/python/pants/contrib/node/targets/node_remote_module.py index 905e7ab4966..421659ca0b3 100644 --- a/contrib/node/src/python/pants/contrib/node/targets/node_remote_module.py +++ b/contrib/node/src/python/pants/contrib/node/targets/node_remote_module.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.payload import Payload from pants.base.payload_field import PrimitiveField diff --git a/contrib/node/src/python/pants/contrib/node/targets/node_test.py b/contrib/node/src/python/pants/contrib/node/targets/node_test.py index a97ef236884..9a6498cd9cc 100644 --- a/contrib/node/src/python/pants/contrib/node/targets/node_test.py +++ b/contrib/node/src/python/pants/contrib/node/targets/node_test.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.payload import Payload from pants.base.payload_field import PrimitiveField diff --git a/contrib/node/src/python/pants/contrib/node/tasks/javascript_style.py b/contrib/node/src/python/pants/contrib/node/tasks/javascript_style.py index 399670eb7c8..4d4b8ec1fd3 100644 --- a/contrib/node/src/python/pants/contrib/node/tasks/javascript_style.py +++ b/contrib/node/src/python/pants/contrib/node/tasks/javascript_style.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/node/src/python/pants/contrib/node/tasks/node_build.py b/contrib/node/src/python/pants/contrib/node/tasks/node_build.py index 75f1612239d..5cd43a6915c 100644 --- a/contrib/node/src/python/pants/contrib/node/tasks/node_build.py +++ b/contrib/node/src/python/pants/contrib/node/tasks/node_build.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import defaultdict diff --git a/contrib/node/src/python/pants/contrib/node/tasks/node_bundle.py b/contrib/node/src/python/pants/contrib/node/tasks/node_bundle.py index 8d736a34580..5e42f8c7541 100644 --- a/contrib/node/src/python/pants/contrib/node/tasks/node_bundle.py +++ b/contrib/node/src/python/pants/contrib/node/tasks/node_bundle.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/node/src/python/pants/contrib/node/tasks/node_paths.py b/contrib/node/src/python/pants/contrib/node/tasks/node_paths.py index 6ca23662f71..80dd6cac26c 100644 --- a/contrib/node/src/python/pants/contrib/node/tasks/node_paths.py +++ b/contrib/node/src/python/pants/contrib/node/tasks/node_paths.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals # TODO(John Sirois): UnionProducts? That seems broken though for ranged version constraints, diff --git a/contrib/node/src/python/pants/contrib/node/tasks/node_repl.py b/contrib/node/src/python/pants/contrib/node/tasks/node_repl.py index 23a14f05a0d..da7e26296f7 100644 --- a/contrib/node/src/python/pants/contrib/node/tasks/node_repl.py +++ b/contrib/node/src/python/pants/contrib/node/tasks/node_repl.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/contrib/node/src/python/pants/contrib/node/tasks/node_resolve.py b/contrib/node/src/python/pants/contrib/node/tasks/node_resolve.py index ca136220347..f27df0b465b 100644 --- a/contrib/node/src/python/pants/contrib/node/tasks/node_resolve.py +++ b/contrib/node/src/python/pants/contrib/node/tasks/node_resolve.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.workunit import WorkUnitLabel diff --git a/contrib/node/src/python/pants/contrib/node/tasks/node_run.py b/contrib/node/src/python/pants/contrib/node/tasks/node_run.py index d58f4eb8287..18df7f987fc 100644 --- a/contrib/node/src/python/pants/contrib/node/tasks/node_run.py +++ b/contrib/node/src/python/pants/contrib/node/tasks/node_run.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.exceptions import TaskError from pants.base.workunit import WorkUnitLabel diff --git a/contrib/node/src/python/pants/contrib/node/tasks/node_task.py b/contrib/node/src/python/pants/contrib/node/tasks/node_task.py index 2477b1b513a..e8e3e0cba22 100644 --- a/contrib/node/src/python/pants/contrib/node/tasks/node_task.py +++ b/contrib/node/src/python/pants/contrib/node/tasks/node_task.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.workunit import WorkUnit, WorkUnitLabel from pants.task.task import Task diff --git a/contrib/node/src/python/pants/contrib/node/tasks/node_test.py b/contrib/node/src/python/pants/contrib/node/tasks/node_test.py index 2d08482d70d..a1e5b858767 100644 --- a/contrib/node/src/python/pants/contrib/node/tasks/node_test.py +++ b/contrib/node/src/python/pants/contrib/node/tasks/node_test.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.exceptions import TargetDefinitionException, TaskError from pants.base.workunit import WorkUnitLabel diff --git a/contrib/node/tests/python/pants_test/contrib/node/subsystems/test_node_distribution.py b/contrib/node/tests/python/pants_test/contrib/node/subsystems/test_node_distribution.py index 79a68d00833..0ef72719627 100644 --- a/contrib/node/tests/python/pants_test/contrib/node/subsystems/test_node_distribution.py +++ b/contrib/node/tests/python/pants_test/contrib/node/subsystems/test_node_distribution.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/contrib/node/tests/python/pants_test/contrib/node/subsystems/test_package_managers.py b/contrib/node/tests/python/pants_test/contrib/node/subsystems/test_package_managers.py index e928a7a27f7..78d138a3e19 100644 --- a/contrib/node/tests/python/pants_test/contrib/node/subsystems/test_package_managers.py +++ b/contrib/node/tests/python/pants_test/contrib/node/subsystems/test_package_managers.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/contrib/node/tests/python/pants_test/contrib/node/targets/test_node_package.py b/contrib/node/tests/python/pants_test/contrib/node/targets/test_node_package.py index 708be48ef41..d0f14123ae5 100644 --- a/contrib/node/tests/python/pants_test/contrib/node/targets/test_node_package.py +++ b/contrib/node/tests/python/pants_test/contrib/node/targets/test_node_package.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.test_base import TestBase diff --git a/contrib/node/tests/python/pants_test/contrib/node/targets/test_node_remote_module.py b/contrib/node/tests/python/pants_test/contrib/node/targets/test_node_remote_module.py index 429e6d28a56..80f887f1ae3 100644 --- a/contrib/node/tests/python/pants_test/contrib/node/targets/test_node_remote_module.py +++ b/contrib/node/tests/python/pants_test/contrib/node/targets/test_node_remote_module.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.test_base import TestBase diff --git a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_build.py b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_build.py index cf834309c0e..57b24434e23 100644 --- a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_build.py +++ b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_build.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_bundle.py b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_bundle.py index 381c2b25118..d41bb0c714c 100644 --- a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_bundle.py +++ b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_bundle.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import defaultdict diff --git a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_bundle_integration.py b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_bundle_integration.py index 6aa9cbad62d..905b3759c4a 100644 --- a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_bundle_integration.py +++ b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_bundle_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_lint_integration.py b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_lint_integration.py index e753d614dd8..76d63928d02 100644 --- a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_lint_integration.py +++ b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_lint_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_repl_integration.py b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_repl_integration.py index cbdddf0aca1..bef613b1daa 100644 --- a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_repl_integration.py +++ b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_repl_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_resolve.py b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_resolve.py index b633800667f..a0dff10d9f7 100644 --- a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_resolve.py +++ b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_resolve.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_resolve_integration.py b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_resolve_integration.py index 6f984122d43..7a1a678e4ac 100644 --- a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_resolve_integration.py +++ b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_resolve_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_run_integration.py b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_run_integration.py index cb5dc350f91..2b924df9bac 100644 --- a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_run_integration.py +++ b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_run_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_task.py b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_task.py index cd6ce0b8857..f7b374d3f22 100644 --- a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_task.py +++ b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_task.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_test_integration.py b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_test_integration.py index d695be40586..dea76d07d87 100644 --- a/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_test_integration.py +++ b/contrib/node/tests/python/pants_test/contrib/node/tasks/test_node_test_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/contrib/python/src/python/pants/contrib/python/checks/register.py b/contrib/python/src/python/pants/contrib/python/checks/register.py index 36948d330ef..4ae9b311a41 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/register.py +++ b/contrib/python/src/python/pants/contrib/python/checks/register.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.goal.task_registrar import TaskRegistrar as task diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/checker.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/checker.py index 69d1faac1d2..a4fb65a495f 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/checker.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/checker.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re from collections import namedtuple diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/class_factoring.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/class_factoring.py index fd97f26020c..e8e5d842c5d 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/class_factoring.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/class_factoring.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/class_factoring_subsystem.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/class_factoring_subsystem.py index b690bd50c40..6664a8b9567 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/class_factoring_subsystem.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/class_factoring_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.python.checks.tasks.checkstyle.plugin_subsystem_base import PluginSubsystemBase diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/common.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/common.py index 949d047b30a..9e4f767c0e3 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/common.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/common.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast import codecs diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/except_statements.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/except_statements.py index 7d8f5462fb2..ec2f31fb94f 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/except_statements.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/except_statements.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/except_statements_subsystem.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/except_statements_subsystem.py index b228144d5d6..19ddda370eb 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/except_statements_subsystem.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/except_statements_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.python.checks.tasks.checkstyle.plugin_subsystem_base import PluginSubsystemBase diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/file_excluder.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/file_excluder.py index 654449180b3..a4fe661a447 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/file_excluder.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/file_excluder.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/future_compatibility.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/future_compatibility.py index 339faff384e..3e4a0c576f2 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/future_compatibility.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/future_compatibility.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/future_compatibility_subsystem.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/future_compatibility_subsystem.py index 8f6f5c168e1..6b05219bb12 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/future_compatibility_subsystem.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/future_compatibility_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.python.checks.tasks.checkstyle.plugin_subsystem_base import PluginSubsystemBase diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/import_order.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/import_order.py index bc7f2b1ed1e..29d01811b71 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/import_order.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/import_order.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast import os diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/import_order_subsystem.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/import_order_subsystem.py index 92a0fb5d2a1..06b47a1bd24 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/import_order_subsystem.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/import_order_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.python.checks.tasks.checkstyle.plugin_subsystem_base import PluginSubsystemBase diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/indentation.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/indentation.py index 03c1ff84214..e7d8e2fc14f 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/indentation.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/indentation.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import tokenize diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/indentation_subsystem.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/indentation_subsystem.py index e734ac72cf0..4ec438a2e2a 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/indentation_subsystem.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/indentation_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.python.checks.tasks.checkstyle.plugin_subsystem_base import PluginSubsystemBase diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/missing_contextmanager.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/missing_contextmanager.py index fd8b584c3ae..883cb35b516 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/missing_contextmanager.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/missing_contextmanager.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/missing_contextmanager_subsystem.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/missing_contextmanager_subsystem.py index a28024d4230..80a124fb13c 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/missing_contextmanager_subsystem.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/missing_contextmanager_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.python.checks.tasks.checkstyle.plugin_subsystem_base import PluginSubsystemBase diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/new_style_classes.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/new_style_classes.py index d8dfcec2706..9e5134cc9f0 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/new_style_classes.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/new_style_classes.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/new_style_classes_subsystem.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/new_style_classes_subsystem.py index 973dcca159a..1be976cd05c 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/new_style_classes_subsystem.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/new_style_classes_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.python.checks.tasks.checkstyle.plugin_subsystem_base import PluginSubsystemBase diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/newlines.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/newlines.py index 0a543f9d18c..08e27aacd59 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/newlines.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/newlines.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/newlines_subsystem.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/newlines_subsystem.py index 2e8e7f381ad..0d5fc8cb4ac 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/newlines_subsystem.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/newlines_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.python.checks.tasks.checkstyle.plugin_subsystem_base import PluginSubsystemBase diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/plugin_subsystem_base.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/plugin_subsystem_base.py index 9c2f281a266..00bfbb10b6f 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/plugin_subsystem_base.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/plugin_subsystem_base.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.subsystem.subsystem import Subsystem diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/print_statements.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/print_statements.py index ae1e4ea779e..e77b79427e6 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/print_statements.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/print_statements.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast import re diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/print_statements_subsystem.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/print_statements_subsystem.py index 472d9be659a..e2a28e62854 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/print_statements_subsystem.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/print_statements_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.python.checks.tasks.checkstyle.plugin_subsystem_base import PluginSubsystemBase diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pycodestyle.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pycodestyle.py index 7416f062cd6..14fe028bc66 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pycodestyle.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pycodestyle.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import pycodestyle diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pycodestyle_subsystem.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pycodestyle_subsystem.py index 0011e6e7e98..6a356c604c9 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pycodestyle_subsystem.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pycodestyle_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.python.checks.tasks.checkstyle.plugin_subsystem_base import PluginSubsystemBase diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pyflakes.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pyflakes.py index 491ea34a6f0..88b472d121d 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pyflakes.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pyflakes.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pyflakes.checker import Checker as FlakesChecker diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pyflakes_subsystem.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pyflakes_subsystem.py index 4890b596343..e721167d696 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pyflakes_subsystem.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pyflakes_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.python.checks.tasks.checkstyle.plugin_subsystem_base import PluginSubsystemBase diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/register_plugins.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/register_plugins.py index 02322dd935b..5a58102f663 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/register_plugins.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/register_plugins.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.python.checks.tasks.checkstyle.class_factoring_subsystem import \ ClassFactoringSubsystem diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/trailing_whitespace.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/trailing_whitespace.py index 9b22862ffef..291b5efaa7b 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/trailing_whitespace.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/trailing_whitespace.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import sys import tokenize diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/trailing_whitespace_subsystem.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/trailing_whitespace_subsystem.py index 8c7dc85c334..a0a36c28691 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/trailing_whitespace_subsystem.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/trailing_whitespace_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.python.checks.tasks.checkstyle.plugin_subsystem_base import PluginSubsystemBase diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/variable_names.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/variable_names.py index b0b13229bd5..d6abb92c336 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/variable_names.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/variable_names.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast import keyword diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/variable_names_subsystem.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/variable_names_subsystem.py index 5a0c223dbcd..aa1f0a248f0 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/variable_names_subsystem.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/variable_names_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.python.checks.tasks.checkstyle.plugin_subsystem_base import PluginSubsystemBase diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/python_eval.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/python_eval.py index 5646fa079c4..904a46bf491 100644 --- a/contrib/python/src/python/pants/contrib/python/checks/tasks/python_eval.py +++ b/contrib/python/src/python/pants/contrib/python/checks/tasks/python_eval.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import hashlib import os diff --git a/contrib/python/src/python/pants/contrib/python/isort/isort.py b/contrib/python/src/python/pants/contrib/python/isort/isort.py index 6e5258b9768..2f537ee7e98 100644 --- a/contrib/python/src/python/pants/contrib/python/isort/isort.py +++ b/contrib/python/src/python/pants/contrib/python/isort/isort.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re import sys diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/plugin_test_base.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/plugin_test_base.py index df3c3925e47..ff2b7999479 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/plugin_test_base.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/plugin_test_base.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import copy import os diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_checker.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_checker.py index 381059caa49..ec9a5405a6d 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_checker.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_checker.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_class_factoring.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_class_factoring.py index 952fe237060..13cf10b2f94 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_class_factoring.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_class_factoring.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.contrib.python.checks.tasks.checkstyle.plugin_test_base import \ CheckstylePluginTestBase diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_common.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_common.py index 7b782c62328..87d242fff2c 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_common.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_common.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast import textwrap diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_except_statements.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_except_statements.py index 8a36b531de3..f08bd5ae921 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_except_statements.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_except_statements.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.contrib.python.checks.tasks.checkstyle.plugin_test_base import \ CheckstylePluginTestBase diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_file_excluder.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_file_excluder.py index d5f56faca54..b774fa39c68 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_file_excluder.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_file_excluder.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import textwrap diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_future_compatibility.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_future_compatibility.py index 8c63f330c57..92b170ba50d 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_future_compatibility.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_future_compatibility.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.contrib.python.checks.tasks.checkstyle.plugin_test_base import \ CheckstylePluginTestBase diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_import_order.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_import_order.py index b63d6107799..0219489dc8a 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_import_order.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_import_order.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast import textwrap diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_indentation.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_indentation.py index 2e971cd37e7..b426f426920 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_indentation.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_indentation.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.contrib.python.checks.tasks.checkstyle.plugin_test_base import \ CheckstylePluginTestBase diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_missing_contextmanager.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_missing_contextmanager.py index 6607485155e..bc54ba79919 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_missing_contextmanager.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_missing_contextmanager.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.contrib.python.checks.tasks.checkstyle.plugin_test_base import \ CheckstylePluginTestBase diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_new_style_classes.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_new_style_classes.py index f9289caf9fc..97e8e88445d 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_new_style_classes.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_new_style_classes.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.contrib.python.checks.tasks.checkstyle.plugin_test_base import \ CheckstylePluginTestBase diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_newlines.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_newlines.py index 9c0cf79db1a..8fc9c0ab1a3 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_newlines.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_newlines.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.contrib.python.checks.tasks.checkstyle.plugin_test_base import \ CheckstylePluginTestBase diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_noqa.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_noqa.py index 2e6026718cb..4cc91d6d4d6 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_noqa.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_noqa.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import textwrap diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_print_statements.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_print_statements.py index f17e55ba908..9242b4c6104 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_print_statements.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_print_statements.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.contrib.python.checks.tasks.checkstyle.plugin_test_base import \ CheckstylePluginTestBase diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_pycodestyle.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_pycodestyle.py index d953d683510..1645346cfa2 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_pycodestyle.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_pycodestyle.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.contrib.python.checks.tasks.checkstyle.plugin_test_base import \ CheckstylePluginTestBase diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_pyflakes.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_pyflakes.py index 647574913dc..e452256447c 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_pyflakes.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_pyflakes.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.contrib.python.checks.tasks.checkstyle.plugin_test_base import \ CheckstylePluginTestBase diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_trailing_whitespace.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_trailing_whitespace.py index bf035ac1853..a0b9d984c53 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_trailing_whitespace.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_trailing_whitespace.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.contrib.python.checks.tasks.checkstyle.plugin_test_base import \ CheckstylePluginTestBase diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_variable_names.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_variable_names.py index 91c36f1369e..88915926920 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_variable_names.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/checkstyle/test_variable_names.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.contrib.python.checks.tasks.checkstyle.plugin_test_base import \ CheckstylePluginTestBase diff --git a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/test_python_eval.py b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/test_python_eval.py index 3d07d559a6e..df5a2e2091a 100644 --- a/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/test_python_eval.py +++ b/contrib/python/tests/python/pants_test/contrib/python/checks/tasks/test_python_eval.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/contrib/scalajs/src/python/pants/contrib/scalajs/register.py b/contrib/scalajs/src/python/pants/contrib/scalajs/register.py index e75291a002e..6f0d1d52a4a 100644 --- a/contrib/scalajs/src/python/pants/contrib/scalajs/register.py +++ b/contrib/scalajs/src/python/pants/contrib/scalajs/register.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.build_file_aliases import BuildFileAliases from pants.goal.task_registrar import TaskRegistrar as task diff --git a/contrib/scalajs/src/python/pants/contrib/scalajs/subsystems/scala_js_platform.py b/contrib/scalajs/src/python/pants/contrib/scalajs/subsystems/scala_js_platform.py index 0dcc72c78cd..ea995b43be8 100644 --- a/contrib/scalajs/src/python/pants/contrib/scalajs/subsystems/scala_js_platform.py +++ b/contrib/scalajs/src/python/pants/contrib/scalajs/subsystems/scala_js_platform.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/contrib/scalajs/src/python/pants/contrib/scalajs/targets/scala_js_binary.py b/contrib/scalajs/src/python/pants/contrib/scalajs/targets/scala_js_binary.py index 8a737a78c30..44d7fb04b3d 100644 --- a/contrib/scalajs/src/python/pants/contrib/scalajs/targets/scala_js_binary.py +++ b/contrib/scalajs/src/python/pants/contrib/scalajs/targets/scala_js_binary.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.contrib.node.targets.node_module import NodeModule from pants.contrib.scalajs.targets.scala_js_target import ScalaJSTarget diff --git a/contrib/scalajs/src/python/pants/contrib/scalajs/targets/scala_js_library.py b/contrib/scalajs/src/python/pants/contrib/scalajs/targets/scala_js_library.py index dd3be23c647..d5d1ceabbba 100644 --- a/contrib/scalajs/src/python/pants/contrib/scalajs/targets/scala_js_library.py +++ b/contrib/scalajs/src/python/pants/contrib/scalajs/targets/scala_js_library.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.payload import Payload from pants.build_graph.target import Target diff --git a/contrib/scalajs/src/python/pants/contrib/scalajs/targets/scala_js_target.py b/contrib/scalajs/src/python/pants/contrib/scalajs/targets/scala_js_target.py index 28effcfc002..258c9ab7f2e 100644 --- a/contrib/scalajs/src/python/pants/contrib/scalajs/targets/scala_js_target.py +++ b/contrib/scalajs/src/python/pants/contrib/scalajs/targets/scala_js_target.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.jvm_platform import JvmPlatform from pants.base.payload import Payload diff --git a/contrib/scalajs/src/python/pants/contrib/scalajs/tasks/scala_js_link.py b/contrib/scalajs/src/python/pants/contrib/scalajs/tasks/scala_js_link.py index f633d956a63..07426af964a 100644 --- a/contrib/scalajs/src/python/pants/contrib/scalajs/tasks/scala_js_link.py +++ b/contrib/scalajs/src/python/pants/contrib/scalajs/tasks/scala_js_link.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import defaultdict diff --git a/contrib/scalajs/src/python/pants/contrib/scalajs/tasks/scala_js_zinc_compile.py b/contrib/scalajs/src/python/pants/contrib/scalajs/tasks/scala_js_zinc_compile.py index ae1e326ae1b..ef4d3c177f2 100644 --- a/contrib/scalajs/src/python/pants/contrib/scalajs/tasks/scala_js_zinc_compile.py +++ b/contrib/scalajs/src/python/pants/contrib/scalajs/tasks/scala_js_zinc_compile.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.tasks.jvm_compile.zinc.zinc_compile import BaseZincCompile from pants.util.memo import memoized_method diff --git a/contrib/scalajs/tests/python/pants_test/contrib/scalajs/tasks/test_scalajs_repl_integration.py b/contrib/scalajs/tests/python/pants_test/contrib/scalajs/tasks/test_scalajs_repl_integration.py index 63f6437ac99..a131a0cdbb4 100644 --- a/contrib/scalajs/tests/python/pants_test/contrib/scalajs/tasks/test_scalajs_repl_integration.py +++ b/contrib/scalajs/tests/python/pants_test/contrib/scalajs/tasks/test_scalajs_repl_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/contrib/scrooge/src/python/pants/contrib/scrooge/register.py b/contrib/scrooge/src/python/pants/contrib/scrooge/register.py index dafc82c639c..8ae9224414d 100644 --- a/contrib/scrooge/src/python/pants/contrib/scrooge/register.py +++ b/contrib/scrooge/src/python/pants/contrib/scrooge/register.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.goal.task_registrar import TaskRegistrar as task diff --git a/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/java_thrift_library_fingerprint_strategy.py b/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/java_thrift_library_fingerprint_strategy.py index f7c12d01ab2..3be468b1402 100644 --- a/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/java_thrift_library_fingerprint_strategy.py +++ b/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/java_thrift_library_fingerprint_strategy.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import hashlib diff --git a/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/scrooge_gen.py b/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/scrooge_gen.py index 4d104fa9f9d..e9c77b3e816 100644 --- a/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/scrooge_gen.py +++ b/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/scrooge_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_linter.py b/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_linter.py index ae054616aaf..a7c6b10a8de 100644 --- a/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_linter.py +++ b/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_linter.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import multiprocessing diff --git a/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_util.py b/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_util.py index 955de3f21b7..7a07279c127 100644 --- a/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_util.py +++ b/contrib/scrooge/src/python/pants/contrib/scrooge/tasks/thrift_util.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_java_thrift_library_fingerprint_strategy.py b/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_java_thrift_library_fingerprint_strategy.py index c080a4043b2..6003ce775d2 100644 --- a/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_java_thrift_library_fingerprint_strategy.py +++ b/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_java_thrift_library_fingerprint_strategy.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.codegen.thrift.java.java_thrift_library import JavaThriftLibrary from pants.backend.codegen.thrift.java.thrift_defaults import ThriftDefaults diff --git a/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_scrooge_gen.py b/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_scrooge_gen.py index 4e0702a94c5..3e61eedf642 100644 --- a/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_scrooge_gen.py +++ b/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_scrooge_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent diff --git a/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_scrooge_gen_integration.py b/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_scrooge_gen_integration.py index f49a27a40e1..af266ce7ff5 100644 --- a/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_scrooge_gen_integration.py +++ b/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_scrooge_gen_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_thrift_linter.py b/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_thrift_linter.py index f7bf2016a22..f8db447e695 100644 --- a/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_thrift_linter.py +++ b/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_thrift_linter.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from mock import Mock, patch from pants.backend.codegen.thrift.java.java_thrift_library import JavaThriftLibrary diff --git a/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_thrift_linter_integration.py b/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_thrift_linter_integration.py index 8c12b714104..06c33cf41c4 100644 --- a/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_thrift_linter_integration.py +++ b/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_thrift_linter_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_thrift_util.py b/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_thrift_util.py index 5670c04f9b4..76e9f3303b3 100644 --- a/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_thrift_util.py +++ b/contrib/scrooge/tests/python/pants_test/contrib/scrooge/tasks/test_thrift_util.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/contrib/thrifty/src/python/pants/contrib/thrifty/java_thrifty_gen.py b/contrib/thrifty/src/python/pants/contrib/thrifty/java_thrifty_gen.py index 023525d7311..d4da28a53fe 100644 --- a/contrib/thrifty/src/python/pants/contrib/thrifty/java_thrifty_gen.py +++ b/contrib/thrifty/src/python/pants/contrib/thrifty/java_thrifty_gen.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/contrib/thrifty/src/python/pants/contrib/thrifty/java_thrifty_library.py b/contrib/thrifty/src/python/pants/contrib/thrifty/java_thrifty_library.py index 423accd65b6..52d347448cd 100644 --- a/contrib/thrifty/src/python/pants/contrib/thrifty/java_thrifty_library.py +++ b/contrib/thrifty/src/python/pants/contrib/thrifty/java_thrifty_library.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.jvm_target import JvmTarget diff --git a/contrib/thrifty/src/python/pants/contrib/thrifty/register.py b/contrib/thrifty/src/python/pants/contrib/thrifty/register.py index 0590600a307..a7182db0572 100644 --- a/contrib/thrifty/src/python/pants/contrib/thrifty/register.py +++ b/contrib/thrifty/src/python/pants/contrib/thrifty/register.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.build_file_aliases import BuildFileAliases from pants.goal.task_registrar import TaskRegistrar as task diff --git a/contrib/thrifty/tests/python/pants_test/pants/contrib/thrifty/test_thrifty_gen.py b/contrib/thrifty/tests/python/pants_test/pants/contrib/thrifty/test_thrifty_gen.py index a4a172b513f..51167176d67 100644 --- a/contrib/thrifty/tests/python/pants_test/pants/contrib/thrifty/test_thrifty_gen.py +++ b/contrib/thrifty/tests/python/pants_test/pants/contrib/thrifty/test_thrifty_gen.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.codegen.wire.java.register import build_file_aliases as register_codegen from pants.backend.jvm.targets.jar_library import JarLibrary diff --git a/examples/src/python/example/hello/greet/greet.py b/examples/src/python/example/hello/greet/greet.py index 8f3a22b4203..134dc4d4e21 100644 --- a/examples/src/python/example/hello/greet/greet.py +++ b/examples/src/python/example/hello/greet/greet.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from colors import green diff --git a/examples/src/python/example/hello/main/main.py b/examples/src/python/example/hello/main/main.py index 7a5aa1cb245..08e04691aec 100644 --- a/examples/src/python/example/hello/main/main.py +++ b/examples/src/python/example/hello/main/main.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import sys diff --git a/examples/src/python/example/pants_publish_plugin/extra_test_jar_example.py b/examples/src/python/example/pants_publish_plugin/extra_test_jar_example.py index 3703e30608b..1a41c11362b 100644 --- a/examples/src/python/example/pants_publish_plugin/extra_test_jar_example.py +++ b/examples/src/python/example/pants_publish_plugin/extra_test_jar_example.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/examples/src/python/example/pants_publish_plugin/register.py b/examples/src/python/example/pants_publish_plugin/register.py index 810c6ddea8d..c2e969a551d 100644 --- a/examples/src/python/example/pants_publish_plugin/register.py +++ b/examples/src/python/example/pants_publish_plugin/register.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.goal.task_registrar import TaskRegistrar as task diff --git a/examples/src/python/example/python_distribution/hello/fasthello/hello_package/hello.py b/examples/src/python/example/python_distribution/hello/fasthello/hello_package/hello.py index 3a4143e67dd..7e4164535da 100644 --- a/examples/src/python/example/python_distribution/hello/fasthello/hello_package/hello.py +++ b/examples/src/python/example/python_distribution/hello/fasthello/hello_package/hello.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import c_greet import cpp_greet diff --git a/examples/src/python/example/python_distribution/hello/fasthello/main.py b/examples/src/python/example/python_distribution/hello/fasthello/main.py index ec69c7c700a..2bcf387d513 100644 --- a/examples/src/python/example/python_distribution/hello/fasthello/main.py +++ b/examples/src/python/example/python_distribution/hello/fasthello/main.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals # hello_package is a python module within the fasthello python_distribution from hello_package import hello diff --git a/examples/src/python/example/python_distribution/hello/fasthello/setup.py b/examples/src/python/example/python_distribution/hello/fasthello/setup.py index 702c9151719..0a4cdb3507f 100644 --- a/examples/src/python/example/python_distribution/hello/fasthello/setup.py +++ b/examples/src/python/example/python_distribution/hello/fasthello/setup.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from setuptools import setup, find_packages from distutils.core import Extension diff --git a/examples/src/python/example/python_distribution/hello/setup_requires/hello_package/hello.py b/examples/src/python/example/python_distribution/hello/setup_requires/hello_package/hello.py index 51e7cc38b64..1b02aa7db5c 100644 --- a/examples/src/python/example/python_distribution/hello/setup_requires/hello_package/hello.py +++ b/examples/src/python/example/python_distribution/hello/setup_requires/hello_package/hello.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals def hello(): return 'Hello, world!' diff --git a/examples/src/python/example/python_distribution/hello/setup_requires/main.py b/examples/src/python/example/python_distribution/hello/setup_requires/main.py index c7b586e35c4..cf04ba357b7 100644 --- a/examples/src/python/example/python_distribution/hello/setup_requires/main.py +++ b/examples/src/python/example/python_distribution/hello/setup_requires/main.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from hello_package import hello diff --git a/examples/src/python/example/python_distribution/hello/setup_requires/setup.py b/examples/src/python/example/python_distribution/hello/setup_requires/setup.py index 05f3629cd50..217248181ab 100644 --- a/examples/src/python/example/python_distribution/hello/setup_requires/setup.py +++ b/examples/src/python/example/python_distribution/hello/setup_requires/setup.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from setuptools import setup, find_packages diff --git a/examples/tests/python/example/python_distribution/hello/test_fasthello/test_fasthello.py b/examples/tests/python/example/python_distribution/hello/test_fasthello/test_fasthello.py index 898da312acb..5e0d6af3518 100644 --- a/examples/tests/python/example/python_distribution/hello/test_fasthello/test_fasthello.py +++ b/examples/tests/python/example/python_distribution/hello/test_fasthello/test_fasthello.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals # hello_package is a python module within the fasthello python_distribution. from hello_package import hello diff --git a/examples/tests/python/example_test/hello/greet/test_greet.py b/examples/tests/python/example_test/hello/greet/test_greet.py index ec3caabadee..fec30bb7988 100644 --- a/examples/tests/python/example_test/hello/greet/test_greet.py +++ b/examples/tests/python/example_test/hello/greet/test_greet.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/examples/tests/python/example_test/usethriftpy/use_thrift_test.py b/examples/tests/python/example_test/usethriftpy/use_thrift_test.py index 3d73f2315e6..7d4fe70ad17 100644 --- a/examples/tests/python/example_test/usethriftpy/use_thrift_test.py +++ b/examples/tests/python/example_test/usethriftpy/use_thrift_test.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/pants-plugins/src/python/internal_backend/repositories/register.py b/pants-plugins/src/python/internal_backend/repositories/register.py index c24a150ae77..dc2a2759630 100644 --- a/pants-plugins/src/python/internal_backend/repositories/register.py +++ b/pants-plugins/src/python/internal_backend/repositories/register.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/pants-plugins/src/python/internal_backend/sitegen/register.py b/pants-plugins/src/python/internal_backend/sitegen/register.py index 8fb01e3ec64..877dfaf4a0e 100644 --- a/pants-plugins/src/python/internal_backend/sitegen/register.py +++ b/pants-plugins/src/python/internal_backend/sitegen/register.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from internal_backend.sitegen.tasks.sitegen import SiteGen from pants.goal.task_registrar import TaskRegistrar as task diff --git a/pants-plugins/src/python/internal_backend/sitegen/tasks/sitegen.py b/pants-plugins/src/python/internal_backend/sitegen/tasks/sitegen.py index 45af7aa4c53..2cf328e1ae3 100644 --- a/pants-plugins/src/python/internal_backend/sitegen/tasks/sitegen.py +++ b/pants-plugins/src/python/internal_backend/sitegen/tasks/sitegen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import cgi import collections diff --git a/pants-plugins/src/python/internal_backend/utilities/register.py b/pants-plugins/src/python/internal_backend/utilities/register.py index fe6e012995a..22256b0f677 100644 --- a/pants-plugins/src/python/internal_backend/utilities/register.py +++ b/pants-plugins/src/python/internal_backend/utilities/register.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/pants-plugins/tests/python/internal_backend_test/sitegen/test_sitegen.py b/pants-plugins/tests/python/internal_backend_test/sitegen/test_sitegen.py index b024221deb0..f9d4bf94f8a 100644 --- a/pants-plugins/tests/python/internal_backend_test/sitegen/test_sitegen.py +++ b/pants-plugins/tests/python/internal_backend_test/sitegen/test_sitegen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import unittest diff --git a/pants-plugins/tests/python/internal_backend_test/utilities/test_releases.py b/pants-plugins/tests/python/internal_backend_test/utilities/test_releases.py index 87f13855216..9c081eb02f0 100644 --- a/pants-plugins/tests/python/internal_backend_test/utilities/test_releases.py +++ b/pants-plugins/tests/python/internal_backend_test/utilities/test_releases.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/src/python/pants/backend/codegen/antlr/java/antlr_java_gen.py b/src/python/pants/backend/codegen/antlr/java/antlr_java_gen.py index c0199d193e8..caf6cd289ee 100644 --- a/src/python/pants/backend/codegen/antlr/java/antlr_java_gen.py +++ b/src/python/pants/backend/codegen/antlr/java/antlr_java_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/backend/codegen/antlr/java/java_antlr_library.py b/src/python/pants/backend/codegen/antlr/java/java_antlr_library.py index 389f49fa737..907905aef2a 100644 --- a/src/python/pants/backend/codegen/antlr/java/java_antlr_library.py +++ b/src/python/pants/backend/codegen/antlr/java/java_antlr_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.jvm_target import JvmTarget diff --git a/src/python/pants/backend/codegen/antlr/java/register.py b/src/python/pants/backend/codegen/antlr/java/register.py index eba0e98fded..750b694166b 100644 --- a/src/python/pants/backend/codegen/antlr/java/register.py +++ b/src/python/pants/backend/codegen/antlr/java/register.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.codegen.antlr.java.antlr_java_gen import AntlrJavaGen from pants.backend.codegen.antlr.java.java_antlr_library import JavaAntlrLibrary diff --git a/src/python/pants/backend/codegen/antlr/python/antlr_py_gen.py b/src/python/pants/backend/codegen/antlr/python/antlr_py_gen.py index 0ffbd409536..ac99f31da91 100644 --- a/src/python/pants/backend/codegen/antlr/python/antlr_py_gen.py +++ b/src/python/pants/backend/codegen/antlr/python/antlr_py_gen.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/backend/codegen/antlr/python/python_antlr_library.py b/src/python/pants/backend/codegen/antlr/python/python_antlr_library.py index 53c308c562d..5345f8407fa 100644 --- a/src/python/pants/backend/codegen/antlr/python/python_antlr_library.py +++ b/src/python/pants/backend/codegen/antlr/python/python_antlr_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.python.targets.python_target import PythonTarget diff --git a/src/python/pants/backend/codegen/antlr/python/register.py b/src/python/pants/backend/codegen/antlr/python/register.py index 6d0e1d6a5de..f48ea844af9 100644 --- a/src/python/pants/backend/codegen/antlr/python/register.py +++ b/src/python/pants/backend/codegen/antlr/python/register.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.codegen.antlr.python.python_antlr_library import PythonAntlrLibrary from pants.build_graph.build_file_aliases import BuildFileAliases diff --git a/src/python/pants/backend/codegen/jaxb/jaxb_gen.py b/src/python/pants/backend/codegen/jaxb/jaxb_gen.py index 1ae5ece2346..c16a8a0c220 100644 --- a/src/python/pants/backend/codegen/jaxb/jaxb_gen.py +++ b/src/python/pants/backend/codegen/jaxb/jaxb_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/src/python/pants/backend/codegen/jaxb/jaxb_library.py b/src/python/pants/backend/codegen/jaxb/jaxb_library.py index 997b54970fd..d0c53edff32 100644 --- a/src/python/pants/backend/codegen/jaxb/jaxb_library.py +++ b/src/python/pants/backend/codegen/jaxb/jaxb_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.jvm_target import JvmTarget from pants.base.payload import Payload diff --git a/src/python/pants/backend/codegen/jaxb/register.py b/src/python/pants/backend/codegen/jaxb/register.py index d7c553357d0..03b013460ac 100644 --- a/src/python/pants/backend/codegen/jaxb/register.py +++ b/src/python/pants/backend/codegen/jaxb/register.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.codegen.jaxb.jaxb_gen import JaxbGen from pants.backend.codegen.jaxb.jaxb_library import JaxbLibrary diff --git a/src/python/pants/backend/codegen/protobuf/java/java_protobuf_library.py b/src/python/pants/backend/codegen/protobuf/java/java_protobuf_library.py index 98f549b8a4d..58c5a7a79a1 100644 --- a/src/python/pants/backend/codegen/protobuf/java/java_protobuf_library.py +++ b/src/python/pants/backend/codegen/protobuf/java/java_protobuf_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/src/python/pants/backend/codegen/protobuf/java/protobuf_gen.py b/src/python/pants/backend/codegen/protobuf/java/protobuf_gen.py index 3e4e09aa40e..be11257c48b 100644 --- a/src/python/pants/backend/codegen/protobuf/java/protobuf_gen.py +++ b/src/python/pants/backend/codegen/protobuf/java/protobuf_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import OrderedDict diff --git a/src/python/pants/backend/codegen/protobuf/java/register.py b/src/python/pants/backend/codegen/protobuf/java/register.py index ba1540713e6..1fb9b7dca3b 100644 --- a/src/python/pants/backend/codegen/protobuf/java/register.py +++ b/src/python/pants/backend/codegen/protobuf/java/register.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.codegen.protobuf.java.java_protobuf_library import JavaProtobufLibrary from pants.backend.codegen.protobuf.java.protobuf_gen import ProtobufGen diff --git a/src/python/pants/backend/codegen/protobuf/subsystems/protoc.py b/src/python/pants/backend/codegen/protobuf/subsystems/protoc.py index fbef629d2d5..9f1ef2b253c 100644 --- a/src/python/pants/backend/codegen/protobuf/subsystems/protoc.py +++ b/src/python/pants/backend/codegen/protobuf/subsystems/protoc.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.binaries.binary_tool import NativeTool diff --git a/src/python/pants/backend/codegen/ragel/java/java_ragel_library.py b/src/python/pants/backend/codegen/ragel/java/java_ragel_library.py index 1747f3a77bb..178b0bf4259 100644 --- a/src/python/pants/backend/codegen/ragel/java/java_ragel_library.py +++ b/src/python/pants/backend/codegen/ragel/java/java_ragel_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.jvm_target import JvmTarget diff --git a/src/python/pants/backend/codegen/ragel/java/ragel_gen.py b/src/python/pants/backend/codegen/ragel/java/ragel_gen.py index 928a63184bc..e248ca8e199 100644 --- a/src/python/pants/backend/codegen/ragel/java/ragel_gen.py +++ b/src/python/pants/backend/codegen/ragel/java/ragel_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/src/python/pants/backend/codegen/ragel/java/register.py b/src/python/pants/backend/codegen/ragel/java/register.py index 4738ddddc59..8c973a3907c 100644 --- a/src/python/pants/backend/codegen/ragel/java/register.py +++ b/src/python/pants/backend/codegen/ragel/java/register.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.codegen.ragel.java.java_ragel_library import JavaRagelLibrary from pants.backend.codegen.ragel.java.ragel_gen import RagelGen diff --git a/src/python/pants/backend/codegen/ragel/subsystems/ragel.py b/src/python/pants/backend/codegen/ragel/subsystems/ragel.py index 44db0fef0a7..df3fd0f603b 100644 --- a/src/python/pants/backend/codegen/ragel/subsystems/ragel.py +++ b/src/python/pants/backend/codegen/ragel/subsystems/ragel.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.binaries.binary_tool import NativeTool diff --git a/src/python/pants/backend/codegen/register.py b/src/python/pants/backend/codegen/register.py index 60f7878602b..5c7093fcc75 100644 --- a/src/python/pants/backend/codegen/register.py +++ b/src/python/pants/backend/codegen/register.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.codegen.antlr.java.antlr_java_gen import AntlrJavaGen from pants.backend.codegen.antlr.java.java_antlr_library import JavaAntlrLibrary diff --git a/src/python/pants/backend/codegen/thrift/java/apache_thrift_java_gen.py b/src/python/pants/backend/codegen/thrift/java/apache_thrift_java_gen.py index 9e1dce3edd2..66b53bfde2c 100644 --- a/src/python/pants/backend/codegen/thrift/java/apache_thrift_java_gen.py +++ b/src/python/pants/backend/codegen/thrift/java/apache_thrift_java_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.codegen.thrift.java.java_thrift_library import JavaThriftLibrary from pants.backend.codegen.thrift.java.thrift_defaults import ThriftDefaults diff --git a/src/python/pants/backend/codegen/thrift/java/java_thrift_library.py b/src/python/pants/backend/codegen/thrift/java/java_thrift_library.py index c4fe15bab3e..6f820ef7b06 100644 --- a/src/python/pants/backend/codegen/thrift/java/java_thrift_library.py +++ b/src/python/pants/backend/codegen/thrift/java/java_thrift_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from builtins import map diff --git a/src/python/pants/backend/codegen/thrift/java/register.py b/src/python/pants/backend/codegen/thrift/java/register.py index 311faf2f967..a6d5d929c22 100644 --- a/src/python/pants/backend/codegen/thrift/java/register.py +++ b/src/python/pants/backend/codegen/thrift/java/register.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.codegen.thrift.java.apache_thrift_java_gen import ApacheThriftJavaGen from pants.backend.codegen.thrift.java.java_thrift_library import JavaThriftLibrary diff --git a/src/python/pants/backend/codegen/thrift/java/thrift_defaults.py b/src/python/pants/backend/codegen/thrift/java/thrift_defaults.py index 3ed42f6439f..1e31e258f3b 100644 --- a/src/python/pants/backend/codegen/thrift/java/thrift_defaults.py +++ b/src/python/pants/backend/codegen/thrift/java/thrift_defaults.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.codegen.thrift.java.java_thrift_library import JavaThriftLibrary from pants.subsystem.subsystem import Subsystem diff --git a/src/python/pants/backend/codegen/thrift/lib/apache_thrift_gen_base.py b/src/python/pants/backend/codegen/thrift/lib/apache_thrift_gen_base.py index 9c6ee63b014..da7a93ae8b0 100644 --- a/src/python/pants/backend/codegen/thrift/lib/apache_thrift_gen_base.py +++ b/src/python/pants/backend/codegen/thrift/lib/apache_thrift_gen_base.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/src/python/pants/backend/codegen/thrift/lib/thrift.py b/src/python/pants/backend/codegen/thrift/lib/thrift.py index efdae60c72e..960af05b7b0 100644 --- a/src/python/pants/backend/codegen/thrift/lib/thrift.py +++ b/src/python/pants/backend/codegen/thrift/lib/thrift.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.binaries.binary_tool import NativeTool diff --git a/src/python/pants/backend/codegen/thrift/python/apache_thrift_py_gen.py b/src/python/pants/backend/codegen/thrift/python/apache_thrift_py_gen.py index 54670637666..2a0811caa65 100644 --- a/src/python/pants/backend/codegen/thrift/python/apache_thrift_py_gen.py +++ b/src/python/pants/backend/codegen/thrift/python/apache_thrift_py_gen.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/codegen/thrift/python/python_thrift_library.py b/src/python/pants/backend/codegen/thrift/python/python_thrift_library.py index 2acf38ba781..cb04ede5729 100644 --- a/src/python/pants/backend/codegen/thrift/python/python_thrift_library.py +++ b/src/python/pants/backend/codegen/thrift/python/python_thrift_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.python.targets.python_target import PythonTarget diff --git a/src/python/pants/backend/codegen/thrift/python/register.py b/src/python/pants/backend/codegen/thrift/python/register.py index 7e1b43bcc36..78a75a22946 100644 --- a/src/python/pants/backend/codegen/thrift/python/register.py +++ b/src/python/pants/backend/codegen/thrift/python/register.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.codegen.thrift.python.apache_thrift_py_gen import ApacheThriftPyGen from pants.backend.codegen.thrift.python.python_thrift_library import PythonThriftLibrary diff --git a/src/python/pants/backend/codegen/wire/java/java_wire_library.py b/src/python/pants/backend/codegen/wire/java/java_wire_library.py index 4784fdf719d..d5cbd9b3fbe 100644 --- a/src/python/pants/backend/codegen/wire/java/java_wire_library.py +++ b/src/python/pants/backend/codegen/wire/java/java_wire_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.jvm_target import JvmTarget from pants.base.exceptions import TargetDefinitionException diff --git a/src/python/pants/backend/codegen/wire/java/register.py b/src/python/pants/backend/codegen/wire/java/register.py index 36ddeea11a4..e30b0eae890 100644 --- a/src/python/pants/backend/codegen/wire/java/register.py +++ b/src/python/pants/backend/codegen/wire/java/register.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.codegen.wire.java.java_wire_library import JavaWireLibrary from pants.backend.codegen.wire.java.wire_gen import WireGen diff --git a/src/python/pants/backend/codegen/wire/java/wire_gen.py b/src/python/pants/backend/codegen/wire/java/wire_gen.py index 019552e740c..84b378d9136 100644 --- a/src/python/pants/backend/codegen/wire/java/wire_gen.py +++ b/src/python/pants/backend/codegen/wire/java/wire_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/backend/docgen/register.py b/src/python/pants/backend/docgen/register.py index 95330e980c8..97663d5c998 100644 --- a/src/python/pants/backend/docgen/register.py +++ b/src/python/pants/backend/docgen/register.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.docgen.targets.doc import Page, Wiki, WikiArtifact from pants.backend.docgen.tasks.generate_pants_reference import GeneratePantsReference diff --git a/src/python/pants/backend/docgen/targets/doc.py b/src/python/pants/backend/docgen/targets/doc.py index ca52628d857..18bd148a6fd 100644 --- a/src/python/pants/backend/docgen/targets/doc.py +++ b/src/python/pants/backend/docgen/targets/doc.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.hash_utils import stable_json_hash from pants.base.payload import Payload diff --git a/src/python/pants/backend/docgen/tasks/generate_pants_reference.py b/src/python/pants/backend/docgen/tasks/generate_pants_reference.py index c470c618d8c..8b5f4a745f4 100644 --- a/src/python/pants/backend/docgen/tasks/generate_pants_reference.py +++ b/src/python/pants/backend/docgen/tasks/generate_pants_reference.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/docgen/tasks/markdown_to_html.py b/src/python/pants/backend/docgen/tasks/markdown_to_html.py index b0462d48e54..9a77ad6eae5 100644 --- a/src/python/pants/backend/docgen/tasks/markdown_to_html.py +++ b/src/python/pants/backend/docgen/tasks/markdown_to_html.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import codecs import os diff --git a/src/python/pants/backend/docgen/tasks/markdown_to_html_utils.py b/src/python/pants/backend/docgen/tasks/markdown_to_html_utils.py index 6719d2038c8..7bfc266f41e 100644 --- a/src/python/pants/backend/docgen/tasks/markdown_to_html_utils.py +++ b/src/python/pants/backend/docgen/tasks/markdown_to_html_utils.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import sys diff --git a/src/python/pants/backend/graph_info/register.py b/src/python/pants/backend/graph_info/register.py index 7c460934c08..92062ff3691 100644 --- a/src/python/pants/backend/graph_info/register.py +++ b/src/python/pants/backend/graph_info/register.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.graph_info.tasks.cloc import CountLinesOfCode from pants.backend.graph_info.tasks.dependees import ReverseDepmap diff --git a/src/python/pants/backend/graph_info/subsystems/cloc_binary.py b/src/python/pants/backend/graph_info/subsystems/cloc_binary.py index 00d4a5467fc..9cc22b2a6e4 100644 --- a/src/python/pants/backend/graph_info/subsystems/cloc_binary.py +++ b/src/python/pants/backend/graph_info/subsystems/cloc_binary.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.binaries.binary_tool import Script diff --git a/src/python/pants/backend/graph_info/tasks/cloc.py b/src/python/pants/backend/graph_info/tasks/cloc.py index ce2620837dd..ed6726d2b44 100644 --- a/src/python/pants/backend/graph_info/tasks/cloc.py +++ b/src/python/pants/backend/graph_info/tasks/cloc.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/graph_info/tasks/dependees.py b/src/python/pants/backend/graph_info/tasks/dependees.py index 423de2baea4..72cbdc45180 100644 --- a/src/python/pants/backend/graph_info/tasks/dependees.py +++ b/src/python/pants/backend/graph_info/tasks/dependees.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json from collections import defaultdict diff --git a/src/python/pants/backend/graph_info/tasks/filemap.py b/src/python/pants/backend/graph_info/tasks/filemap.py index eef09ff39e7..57a0fe2fde8 100644 --- a/src/python/pants/backend/graph_info/tasks/filemap.py +++ b/src/python/pants/backend/graph_info/tasks/filemap.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.task.console_task import ConsoleTask diff --git a/src/python/pants/backend/graph_info/tasks/filter.py b/src/python/pants/backend/graph_info/tasks/filter.py index 7e278792af1..b12423f6966 100644 --- a/src/python/pants/backend/graph_info/tasks/filter.py +++ b/src/python/pants/backend/graph_info/tasks/filter.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re diff --git a/src/python/pants/backend/graph_info/tasks/list_owners.py b/src/python/pants/backend/graph_info/tasks/list_owners.py index 1f8dee8957b..1297ee85862 100644 --- a/src/python/pants/backend/graph_info/tasks/list_owners.py +++ b/src/python/pants/backend/graph_info/tasks/list_owners.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json diff --git a/src/python/pants/backend/graph_info/tasks/listtargets.py b/src/python/pants/backend/graph_info/tasks/listtargets.py index c9a627fb33c..21015ce7324 100644 --- a/src/python/pants/backend/graph_info/tasks/listtargets.py +++ b/src/python/pants/backend/graph_info/tasks/listtargets.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.exceptions import TaskError from pants.task.console_task import ConsoleTask diff --git a/src/python/pants/backend/graph_info/tasks/minimal_cover.py b/src/python/pants/backend/graph_info/tasks/minimal_cover.py index 591dccda460..3b49a234781 100644 --- a/src/python/pants/backend/graph_info/tasks/minimal_cover.py +++ b/src/python/pants/backend/graph_info/tasks/minimal_cover.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.target import Target from pants.task.console_task import ConsoleTask diff --git a/src/python/pants/backend/graph_info/tasks/paths.py b/src/python/pants/backend/graph_info/tasks/paths.py index 414e664a2ea..f9665b32cb7 100644 --- a/src/python/pants/backend/graph_info/tasks/paths.py +++ b/src/python/pants/backend/graph_info/tasks/paths.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import deque diff --git a/src/python/pants/backend/graph_info/tasks/sorttargets.py b/src/python/pants/backend/graph_info/tasks/sorttargets.py index 61fc22a2719..1bf7d1a41d5 100644 --- a/src/python/pants/backend/graph_info/tasks/sorttargets.py +++ b/src/python/pants/backend/graph_info/tasks/sorttargets.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.build_graph import sort_targets from pants.task.console_task import ConsoleTask diff --git a/src/python/pants/backend/graph_info/tasks/target_filter_task_mixin.py b/src/python/pants/backend/graph_info/tasks/target_filter_task_mixin.py index 34efdd979a2..39413507d81 100644 --- a/src/python/pants/backend/graph_info/tasks/target_filter_task_mixin.py +++ b/src/python/pants/backend/graph_info/tasks/target_filter_task_mixin.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.exceptions import TaskError from pants.task.task import Task diff --git a/src/python/pants/backend/jvm/argfile.py b/src/python/pants/backend/jvm/argfile.py index 488f8eaa3bd..6d809d43034 100644 --- a/src/python/pants/backend/jvm/argfile.py +++ b/src/python/pants/backend/jvm/argfile.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/backend/jvm/artifact.py b/src/python/pants/backend/jvm/artifact.py index e014ab3dad7..d2a04ab50be 100644 --- a/src/python/pants/backend/jvm/artifact.py +++ b/src/python/pants/backend/jvm/artifact.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from six import string_types diff --git a/src/python/pants/backend/jvm/ivy_utils.py b/src/python/pants/backend/jvm/ivy_utils.py index b30fde61fa9..809ac1e21df 100644 --- a/src/python/pants/backend/jvm/ivy_utils.py +++ b/src/python/pants/backend/jvm/ivy_utils.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import errno import json diff --git a/src/python/pants/backend/jvm/ossrh_publication_metadata.py b/src/python/pants/backend/jvm/ossrh_publication_metadata.py index 3e0b4a57b01..65f731db534 100644 --- a/src/python/pants/backend/jvm/ossrh_publication_metadata.py +++ b/src/python/pants/backend/jvm/ossrh_publication_metadata.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import six diff --git a/src/python/pants/backend/jvm/register.py b/src/python/pants/backend/jvm/register.py index 90d00955f57..25547580aa3 100644 --- a/src/python/pants/backend/jvm/register.py +++ b/src/python/pants/backend/jvm/register.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.artifact import Artifact from pants.backend.jvm.ossrh_publication_metadata import (Developer, License, diff --git a/src/python/pants/backend/jvm/repository.py b/src/python/pants/backend/jvm/repository.py index c7dfdd8651a..f0461d7770c 100644 --- a/src/python/pants/backend/jvm/repository.py +++ b/src/python/pants/backend/jvm/repository.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/jvm/scala_artifact.py b/src/python/pants/backend/jvm/scala_artifact.py index 8d058c1150c..fdc61b9187a 100644 --- a/src/python/pants/backend/jvm/scala_artifact.py +++ b/src/python/pants/backend/jvm/scala_artifact.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.artifact import Artifact from pants.backend.jvm.subsystems.scala_platform import ScalaPlatform diff --git a/src/python/pants/backend/jvm/subsystems/dependency_context.py b/src/python/pants/backend/jvm/subsystems/dependency_context.py index 2a163fc9f18..9b6102d3283 100644 --- a/src/python/pants/backend/jvm/subsystems/dependency_context.py +++ b/src/python/pants/backend/jvm/subsystems/dependency_context.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import hashlib diff --git a/src/python/pants/backend/jvm/subsystems/jar_dependency_management.py b/src/python/pants/backend/jvm/subsystems/jar_dependency_management.py index 3b1b6252be0..4c97ce316e5 100644 --- a/src/python/pants/backend/jvm/subsystems/jar_dependency_management.py +++ b/src/python/pants/backend/jvm/subsystems/jar_dependency_management.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging from collections import defaultdict diff --git a/src/python/pants/backend/jvm/subsystems/jar_tool.py b/src/python/pants/backend/jvm/subsystems/jar_tool.py index 2cd39ac4e41..15d8d4006a3 100644 --- a/src/python/pants/backend/jvm/subsystems/jar_tool.py +++ b/src/python/pants/backend/jvm/subsystems/jar_tool.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.jvm_tool_mixin import JvmToolMixin from pants.base.workunit import WorkUnitLabel diff --git a/src/python/pants/backend/jvm/subsystems/java.py b/src/python/pants/backend/jvm/subsystems/java.py index f721c699cb9..6b2e1fded23 100644 --- a/src/python/pants/backend/jvm/subsystems/java.py +++ b/src/python/pants/backend/jvm/subsystems/java.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.jvm_tool_mixin import JvmToolMixin from pants.backend.jvm.subsystems.zinc_language_mixin import ZincLanguageMixin diff --git a/src/python/pants/backend/jvm/subsystems/junit.py b/src/python/pants/backend/jvm/subsystems/junit.py index 96abbc7029f..376773fddd5 100644 --- a/src/python/pants/backend/jvm/subsystems/junit.py +++ b/src/python/pants/backend/jvm/subsystems/junit.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.jvm_tool_mixin import JvmToolMixin from pants.backend.jvm.subsystems.shader import Shader diff --git a/src/python/pants/backend/jvm/subsystems/jvm.py b/src/python/pants/backend/jvm/subsystems/jvm.py index 28311f66aca..2b99ef67f19 100644 --- a/src/python/pants/backend/jvm/subsystems/jvm.py +++ b/src/python/pants/backend/jvm/subsystems/jvm.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/src/python/pants/backend/jvm/subsystems/jvm_platform.py b/src/python/pants/backend/jvm/subsystems/jvm_platform.py index e5cda1aeb3d..4f8c49db0e0 100644 --- a/src/python/pants/backend/jvm/subsystems/jvm_platform.py +++ b/src/python/pants/backend/jvm/subsystems/jvm_platform.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/src/python/pants/backend/jvm/subsystems/jvm_tool_mixin.py b/src/python/pants/backend/jvm/subsystems/jvm_tool_mixin.py index 7825c747c25..ed5670d6ab3 100644 --- a/src/python/pants/backend/jvm/subsystems/jvm_tool_mixin.py +++ b/src/python/pants/backend/jvm/subsystems/jvm_tool_mixin.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import namedtuple from textwrap import dedent diff --git a/src/python/pants/backend/jvm/subsystems/resolve_subsystem.py b/src/python/pants/backend/jvm/subsystems/resolve_subsystem.py index 8d425d85aa1..c63aea9ea10 100644 --- a/src/python/pants/backend/jvm/subsystems/resolve_subsystem.py +++ b/src/python/pants/backend/jvm/subsystems/resolve_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/src/python/pants/backend/jvm/subsystems/scala_platform.py b/src/python/pants/backend/jvm/subsystems/scala_platform.py index 3d816a85aa2..8e3bed8c5ac 100644 --- a/src/python/pants/backend/jvm/subsystems/scala_platform.py +++ b/src/python/pants/backend/jvm/subsystems/scala_platform.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import namedtuple diff --git a/src/python/pants/backend/jvm/subsystems/shader.py b/src/python/pants/backend/jvm/subsystems/shader.py index c5f06e5b0c4..5c2f15bf141 100644 --- a/src/python/pants/backend/jvm/subsystems/shader.py +++ b/src/python/pants/backend/jvm/subsystems/shader.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/backend/jvm/subsystems/zinc.py b/src/python/pants/backend/jvm/subsystems/zinc.py index 6ffb6af7976..bce50fe74db 100644 --- a/src/python/pants/backend/jvm/subsystems/zinc.py +++ b/src/python/pants/backend/jvm/subsystems/zinc.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.dependency_context import DependencyContext from pants.backend.jvm.subsystems.java import Java diff --git a/src/python/pants/backend/jvm/subsystems/zinc_language_mixin.py b/src/python/pants/backend/jvm/subsystems/zinc_language_mixin.py index 25abc3fff4e..5ff7c3b4368 100644 --- a/src/python/pants/backend/jvm/subsystems/zinc_language_mixin.py +++ b/src/python/pants/backend/jvm/subsystems/zinc_language_mixin.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals class ZincLanguageMixin(object): diff --git a/src/python/pants/backend/jvm/targets/annotation_processor.py b/src/python/pants/backend/jvm/targets/annotation_processor.py index 672c642320e..236b7d1ee41 100644 --- a/src/python/pants/backend/jvm/targets/annotation_processor.py +++ b/src/python/pants/backend/jvm/targets/annotation_processor.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.exportable_jvm_library import ExportableJvmLibrary diff --git a/src/python/pants/backend/jvm/targets/benchmark.py b/src/python/pants/backend/jvm/targets/benchmark.py index 443012ec1ce..2e963e63bc2 100644 --- a/src/python/pants/backend/jvm/targets/benchmark.py +++ b/src/python/pants/backend/jvm/targets/benchmark.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.jvm_target import JvmTarget diff --git a/src/python/pants/backend/jvm/targets/credentials.py b/src/python/pants/backend/jvm/targets/credentials.py index a961a86db0e..6cda8c78bf2 100644 --- a/src/python/pants/backend/jvm/targets/credentials.py +++ b/src/python/pants/backend/jvm/targets/credentials.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools from abc import abstractmethod diff --git a/src/python/pants/backend/jvm/targets/exportable_jvm_library.py b/src/python/pants/backend/jvm/targets/exportable_jvm_library.py index 7c638c80df3..b7597736ffd 100644 --- a/src/python/pants/backend/jvm/targets/exportable_jvm_library.py +++ b/src/python/pants/backend/jvm/targets/exportable_jvm_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.jvm_target import JvmTarget diff --git a/src/python/pants/backend/jvm/targets/import_jars_mixin.py b/src/python/pants/backend/jvm/targets/import_jars_mixin.py index ab1480efc3f..fe8604df288 100644 --- a/src/python/pants/backend/jvm/targets/import_jars_mixin.py +++ b/src/python/pants/backend/jvm/targets/import_jars_mixin.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import six diff --git a/src/python/pants/backend/jvm/targets/jar_library.py b/src/python/pants/backend/jvm/targets/jar_library.py index 3f2437d09cf..b3ef9753b95 100644 --- a/src/python/pants/backend/jvm/targets/jar_library.py +++ b/src/python/pants/backend/jvm/targets/jar_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import six from twitter.common.collections import OrderedSet diff --git a/src/python/pants/backend/jvm/targets/jarable.py b/src/python/pants/backend/jvm/targets/jarable.py index 968f8afc83e..6ca2be6133d 100644 --- a/src/python/pants/backend/jvm/targets/jarable.py +++ b/src/python/pants/backend/jvm/targets/jarable.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractproperty diff --git a/src/python/pants/backend/jvm/targets/java_agent.py b/src/python/pants/backend/jvm/targets/java_agent.py index 8104d69352c..40d48420002 100644 --- a/src/python/pants/backend/jvm/targets/java_agent.py +++ b/src/python/pants/backend/jvm/targets/java_agent.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from six import string_types diff --git a/src/python/pants/backend/jvm/targets/java_library.py b/src/python/pants/backend/jvm/targets/java_library.py index a6937787528..50a8e8328ff 100644 --- a/src/python/pants/backend/jvm/targets/java_library.py +++ b/src/python/pants/backend/jvm/targets/java_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.exportable_jvm_library import ExportableJvmLibrary from pants.backend.jvm.targets.junit_tests import JUnitTests diff --git a/src/python/pants/backend/jvm/targets/javac_plugin.py b/src/python/pants/backend/jvm/targets/javac_plugin.py index 3c4b35df08f..24cdb0a0d20 100644 --- a/src/python/pants/backend/jvm/targets/javac_plugin.py +++ b/src/python/pants/backend/jvm/targets/javac_plugin.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.java import Java from pants.backend.jvm.targets.java_library import JavaLibrary diff --git a/src/python/pants/backend/jvm/targets/junit_tests.py b/src/python/pants/backend/jvm/targets/junit_tests.py index 82c8f85c095..95e8addaa08 100644 --- a/src/python/pants/backend/jvm/targets/junit_tests.py +++ b/src/python/pants/backend/jvm/targets/junit_tests.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.junit import JUnit from pants.backend.jvm.subsystems.jvm_platform import JvmPlatform diff --git a/src/python/pants/backend/jvm/targets/jvm_app.py b/src/python/pants/backend/jvm/targets/jvm_app.py index c504ff022e2..60a7b66d73e 100644 --- a/src/python/pants/backend/jvm/targets/jvm_app.py +++ b/src/python/pants/backend/jvm/targets/jvm_app.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.jvm_binary import JvmBinary from pants.base.payload import Payload diff --git a/src/python/pants/backend/jvm/targets/jvm_binary.py b/src/python/pants/backend/jvm/targets/jvm_binary.py index 8ac34f06f8a..98d62f49afc 100644 --- a/src/python/pants/backend/jvm/targets/jvm_binary.py +++ b/src/python/pants/backend/jvm/targets/jvm_binary.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re from hashlib import sha1 diff --git a/src/python/pants/backend/jvm/targets/jvm_prep_command.py b/src/python/pants/backend/jvm/targets/jvm_prep_command.py index 81d3e079010..46cd38e2dd0 100644 --- a/src/python/pants/backend/jvm/targets/jvm_prep_command.py +++ b/src/python/pants/backend/jvm/targets/jvm_prep_command.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.jvm_target import JvmTarget from pants.base.exceptions import TargetDefinitionException diff --git a/src/python/pants/backend/jvm/targets/jvm_target.py b/src/python/pants/backend/jvm/targets/jvm_target.py index a55880bce67..1066e47f7a7 100644 --- a/src/python/pants/backend/jvm/targets/jvm_target.py +++ b/src/python/pants/backend/jvm/targets/jvm_target.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from twitter.common.collections import OrderedSet diff --git a/src/python/pants/backend/jvm/targets/managed_jar_dependencies.py b/src/python/pants/backend/jvm/targets/managed_jar_dependencies.py index cc748e6844b..7bf60cacfdc 100644 --- a/src/python/pants/backend/jvm/targets/managed_jar_dependencies.py +++ b/src/python/pants/backend/jvm/targets/managed_jar_dependencies.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import copy import os diff --git a/src/python/pants/backend/jvm/targets/scala_jar_dependency.py b/src/python/pants/backend/jvm/targets/scala_jar_dependency.py index 59e4115d3d3..d4c3232a2f6 100644 --- a/src/python/pants/backend/jvm/targets/scala_jar_dependency.py +++ b/src/python/pants/backend/jvm/targets/scala_jar_dependency.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.scala_platform import ScalaPlatform from pants.java.jar.jar_dependency import JarDependency diff --git a/src/python/pants/backend/jvm/targets/scala_library.py b/src/python/pants/backend/jvm/targets/scala_library.py index be15c13360b..dc3dbbdd3fb 100644 --- a/src/python/pants/backend/jvm/targets/scala_library.py +++ b/src/python/pants/backend/jvm/targets/scala_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.scala_platform import ScalaPlatform from pants.backend.jvm.targets.exportable_jvm_library import ExportableJvmLibrary diff --git a/src/python/pants/backend/jvm/targets/scalac_plugin.py b/src/python/pants/backend/jvm/targets/scalac_plugin.py index 3fcfad6db9a..430dc8e2885 100644 --- a/src/python/pants/backend/jvm/targets/scalac_plugin.py +++ b/src/python/pants/backend/jvm/targets/scalac_plugin.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.scala_platform import ScalaPlatform from pants.backend.jvm.targets.scala_library import ScalaLibrary diff --git a/src/python/pants/backend/jvm/targets/tools_jar.py b/src/python/pants/backend/jvm/targets/tools_jar.py index 4b81db9202d..826cf6051ca 100644 --- a/src/python/pants/backend/jvm/targets/tools_jar.py +++ b/src/python/pants/backend/jvm/targets/tools_jar.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.target import Target diff --git a/src/python/pants/backend/jvm/targets/unpacked_jars.py b/src/python/pants/backend/jvm/targets/unpacked_jars.py index f353e47e50b..e4996430553 100644 --- a/src/python/pants/backend/jvm/targets/unpacked_jars.py +++ b/src/python/pants/backend/jvm/targets/unpacked_jars.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/src/python/pants/backend/jvm/tasks/analysis_extraction.py b/src/python/pants/backend/jvm/tasks/analysis_extraction.py index 8248eeb1c13..f39f267cf0d 100644 --- a/src/python/pants/backend/jvm/tasks/analysis_extraction.py +++ b/src/python/pants/backend/jvm/tasks/analysis_extraction.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/src/python/pants/backend/jvm/tasks/benchmark_run.py b/src/python/pants/backend/jvm/tasks/benchmark_run.py index e19961f7047..cfc3f0b916b 100644 --- a/src/python/pants/backend/jvm/tasks/benchmark_run.py +++ b/src/python/pants/backend/jvm/tasks/benchmark_run.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/src/python/pants/backend/jvm/tasks/binary_create.py b/src/python/pants/backend/jvm/tasks/binary_create.py index d20ba17726b..560812eb5b0 100644 --- a/src/python/pants/backend/jvm/tasks/binary_create.py +++ b/src/python/pants/backend/jvm/tasks/binary_create.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/jvm/tasks/bootstrap_jvm_tools.py b/src/python/pants/backend/jvm/tasks/bootstrap_jvm_tools.py index 798ee09d769..a525a350659 100644 --- a/src/python/pants/backend/jvm/tasks/bootstrap_jvm_tools.py +++ b/src/python/pants/backend/jvm/tasks/bootstrap_jvm_tools.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import hashlib import os diff --git a/src/python/pants/backend/jvm/tasks/bundle_create.py b/src/python/pants/backend/jvm/tasks/bundle_create.py index 5e24d363fc2..b649094901c 100644 --- a/src/python/pants/backend/jvm/tasks/bundle_create.py +++ b/src/python/pants/backend/jvm/tasks/bundle_create.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/jvm/tasks/check_published_deps.py b/src/python/pants/backend/jvm/tasks/check_published_deps.py index c3333f2383d..89ec82ba7c7 100644 --- a/src/python/pants/backend/jvm/tasks/check_published_deps.py +++ b/src/python/pants/backend/jvm/tasks/check_published_deps.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.exportable_jvm_library import ExportableJvmLibrary from pants.backend.jvm.targets.jar_library import JarLibrary diff --git a/src/python/pants/backend/jvm/tasks/checkstyle.py b/src/python/pants/backend/jvm/tasks/checkstyle.py index 79b110f8700..b7fb0aa20d4 100644 --- a/src/python/pants/backend/jvm/tasks/checkstyle.py +++ b/src/python/pants/backend/jvm/tasks/checkstyle.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/jvm/tasks/classmap.py b/src/python/pants/backend/jvm/tasks/classmap.py index 815e7570d17..8cab5349102 100644 --- a/src/python/pants/backend/jvm/tasks/classmap.py +++ b/src/python/pants/backend/jvm/tasks/classmap.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.jar_library import JarLibrary from pants.backend.jvm.tasks.classpath_util import ClasspathUtil diff --git a/src/python/pants/backend/jvm/tasks/classpath_products.py b/src/python/pants/backend/jvm/tasks/classpath_products.py index 8512031161f..f023a6f7e22 100644 --- a/src/python/pants/backend/jvm/tasks/classpath_products.py +++ b/src/python/pants/backend/jvm/tasks/classpath_products.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/src/python/pants/backend/jvm/tasks/classpath_util.py b/src/python/pants/backend/jvm/tasks/classpath_util.py index f72ac04ea85..3c046e348ce 100644 --- a/src/python/pants/backend/jvm/tasks/classpath_util.py +++ b/src/python/pants/backend/jvm/tasks/classpath_util.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import itertools import os diff --git a/src/python/pants/backend/jvm/tasks/consolidate_classpath.py b/src/python/pants/backend/jvm/tasks/consolidate_classpath.py index 1b190e6ae85..3aae663e6ef 100644 --- a/src/python/pants/backend/jvm/tasks/consolidate_classpath.py +++ b/src/python/pants/backend/jvm/tasks/consolidate_classpath.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import defaultdict diff --git a/src/python/pants/backend/jvm/tasks/coursier/coursier_subsystem.py b/src/python/pants/backend/jvm/tasks/coursier/coursier_subsystem.py index 2980cf254ef..ace4dd37a30 100644 --- a/src/python/pants/backend/jvm/tasks/coursier/coursier_subsystem.py +++ b/src/python/pants/backend/jvm/tasks/coursier/coursier_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import hashlib import logging diff --git a/src/python/pants/backend/jvm/tasks/coursier_resolve.py b/src/python/pants/backend/jvm/tasks/coursier_resolve.py index a704506fa23..9f5670144d0 100644 --- a/src/python/pants/backend/jvm/tasks/coursier_resolve.py +++ b/src/python/pants/backend/jvm/tasks/coursier_resolve.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import hashlib import itertools diff --git a/src/python/pants/backend/jvm/tasks/coverage/cobertura.py b/src/python/pants/backend/jvm/tasks/coverage/cobertura.py index 31cf9dd7eb9..10b2e58449d 100644 --- a/src/python/pants/backend/jvm/tasks/coverage/cobertura.py +++ b/src/python/pants/backend/jvm/tasks/coverage/cobertura.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import os diff --git a/src/python/pants/backend/jvm/tasks/coverage/engine.py b/src/python/pants/backend/jvm/tasks/coverage/engine.py index 1b7cf1dca36..9435658975f 100644 --- a/src/python/pants/backend/jvm/tasks/coverage/engine.py +++ b/src/python/pants/backend/jvm/tasks/coverage/engine.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractmethod diff --git a/src/python/pants/backend/jvm/tasks/coverage/jacoco.py b/src/python/pants/backend/jvm/tasks/coverage/jacoco.py index 2392afd8681..c7afaa3cce5 100644 --- a/src/python/pants/backend/jvm/tasks/coverage/jacoco.py +++ b/src/python/pants/backend/jvm/tasks/coverage/jacoco.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import os diff --git a/src/python/pants/backend/jvm/tasks/coverage/manager.py b/src/python/pants/backend/jvm/tasks/coverage/manager.py index eab0d36d1ad..c9282ae5448 100644 --- a/src/python/pants/backend/jvm/tasks/coverage/manager.py +++ b/src/python/pants/backend/jvm/tasks/coverage/manager.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/src/python/pants/backend/jvm/tasks/detect_duplicates.py b/src/python/pants/backend/jvm/tasks/detect_duplicates.py index e8c1e393410..70590b695b1 100644 --- a/src/python/pants/backend/jvm/tasks/detect_duplicates.py +++ b/src/python/pants/backend/jvm/tasks/detect_duplicates.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/src/python/pants/backend/jvm/tasks/ivy_imports.py b/src/python/pants/backend/jvm/tasks/ivy_imports.py index 597421ea764..21ccff3c83e 100644 --- a/src/python/pants/backend/jvm/tasks/ivy_imports.py +++ b/src/python/pants/backend/jvm/tasks/ivy_imports.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.import_jars_mixin import ImportJarsMixin from pants.backend.jvm.tasks.classpath_products import ArtifactClasspathEntry, ClasspathProducts diff --git a/src/python/pants/backend/jvm/tasks/ivy_outdated.py b/src/python/pants/backend/jvm/tasks/ivy_outdated.py index 7774e9c230f..d3c241989e7 100644 --- a/src/python/pants/backend/jvm/tasks/ivy_outdated.py +++ b/src/python/pants/backend/jvm/tasks/ivy_outdated.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/src/python/pants/backend/jvm/tasks/ivy_resolve.py b/src/python/pants/backend/jvm/tasks/ivy_resolve.py index 6fa3e54759e..16dea39918d 100644 --- a/src/python/pants/backend/jvm/tasks/ivy_resolve.py +++ b/src/python/pants/backend/jvm/tasks/ivy_resolve.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/src/python/pants/backend/jvm/tasks/ivy_task_mixin.py b/src/python/pants/backend/jvm/tasks/ivy_task_mixin.py index 60672c48b8b..b381d4d0482 100644 --- a/src/python/pants/backend/jvm/tasks/ivy_task_mixin.py +++ b/src/python/pants/backend/jvm/tasks/ivy_task_mixin.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import hashlib import logging diff --git a/src/python/pants/backend/jvm/tasks/jar_create.py b/src/python/pants/backend/jvm/tasks/jar_create.py index 2b62a9b65e4..bb227f74bc4 100644 --- a/src/python/pants/backend/jvm/tasks/jar_create.py +++ b/src/python/pants/backend/jvm/tasks/jar_create.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/src/python/pants/backend/jvm/tasks/jar_import_products.py b/src/python/pants/backend/jvm/tasks/jar_import_products.py index 30782dde164..b013951a4f6 100644 --- a/src/python/pants/backend/jvm/tasks/jar_import_products.py +++ b/src/python/pants/backend/jvm/tasks/jar_import_products.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import defaultdict, namedtuple diff --git a/src/python/pants/backend/jvm/tasks/jar_publish.py b/src/python/pants/backend/jvm/tasks/jar_publish.py index a4fc6af4040..ef9dd6f15c0 100644 --- a/src/python/pants/backend/jvm/tasks/jar_publish.py +++ b/src/python/pants/backend/jvm/tasks/jar_publish.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import getpass diff --git a/src/python/pants/backend/jvm/tasks/jar_task.py b/src/python/pants/backend/jvm/tasks/jar_task.py index db4b0615a80..5e14086b988 100644 --- a/src/python/pants/backend/jvm/tasks/jar_task.py +++ b/src/python/pants/backend/jvm/tasks/jar_task.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/src/python/pants/backend/jvm/tasks/javadoc_gen.py b/src/python/pants/backend/jvm/tasks/javadoc_gen.py index eb8571d61f7..53ba5b0cee7 100644 --- a/src/python/pants/backend/jvm/tasks/javadoc_gen.py +++ b/src/python/pants/backend/jvm/tasks/javadoc_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/jvm/tasks/junit_run.py b/src/python/pants/backend/jvm/tasks/junit_run.py index 7add478464c..838a93e1556 100644 --- a/src/python/pants/backend/jvm/tasks/junit_run.py +++ b/src/python/pants/backend/jvm/tasks/junit_run.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import fnmatch import functools diff --git a/src/python/pants/backend/jvm/tasks/jvm_binary_task.py b/src/python/pants/backend/jvm/tasks/jvm_binary_task.py index 0a5d787b13e..8ed0858138a 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_binary_task.py +++ b/src/python/pants/backend/jvm/tasks/jvm_binary_task.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/src/python/pants/backend/jvm/tasks/jvm_compile/class_not_found_error_patterns.py b/src/python/pants/backend/jvm/tasks/jvm_compile/class_not_found_error_patterns.py index 720659f6405..049193e09fb 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_compile/class_not_found_error_patterns.py +++ b/src/python/pants/backend/jvm/tasks/jvm_compile/class_not_found_error_patterns.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals CLASS_NOT_FOUND_ERROR_PATTERNS = [ diff --git a/src/python/pants/backend/jvm/tasks/jvm_compile/compile_context.py b/src/python/pants/backend/jvm/tasks/jvm_compile/compile_context.py index b07e3e57ff8..9badc1f4481 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_compile/compile_context.py +++ b/src/python/pants/backend/jvm/tasks/jvm_compile/compile_context.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import zipfile from contextlib import contextmanager diff --git a/src/python/pants/backend/jvm/tasks/jvm_compile/execution_graph.py b/src/python/pants/backend/jvm/tasks/jvm_compile/execution_graph.py index 8767b4b9a4d..c1eb63a405c 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_compile/execution_graph.py +++ b/src/python/pants/backend/jvm/tasks/jvm_compile/execution_graph.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import Queue as queue import threading diff --git a/src/python/pants/backend/jvm/tasks/jvm_compile/javac/javac_compile.py b/src/python/pants/backend/jvm/tasks/jvm_compile/javac/javac_compile.py index 76ac8c7c23d..f8ec378e2d9 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_compile/javac/javac_compile.py +++ b/src/python/pants/backend/jvm/tasks/jvm_compile/javac/javac_compile.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/backend/jvm/tasks/jvm_compile/jvm_classpath_publisher.py b/src/python/pants/backend/jvm/tasks/jvm_compile/jvm_classpath_publisher.py index 5eaae48bb26..572a2708c55 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_compile/jvm_classpath_publisher.py +++ b/src/python/pants/backend/jvm/tasks/jvm_compile/jvm_classpath_publisher.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile.py b/src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile.py index fd3bd2681d3..dbb67c1707a 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile.py +++ b/src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import os diff --git a/src/python/pants/backend/jvm/tasks/jvm_compile/missing_dependency_finder.py b/src/python/pants/backend/jvm/tasks/jvm_compile/missing_dependency_finder.py index 089abbc0280..42f1f7b4e51 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_compile/missing_dependency_finder.py +++ b/src/python/pants/backend/jvm/tasks/jvm_compile/missing_dependency_finder.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re from collections import namedtuple diff --git a/src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_analysis.py b/src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_analysis.py index 8c3deab2306..1b31e038a88 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_analysis.py +++ b/src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_analysis.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import six diff --git a/src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_analysis_parser.py b/src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_analysis_parser.py index 4a096918944..4eed140bb19 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_analysis_parser.py +++ b/src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_analysis_parser.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.tasks.jvm_compile.analysis_parser import (AnalysisParser, ParseError, raise_on_eof) diff --git a/src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_compile.py b/src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_compile.py index abde94af700..e17ce091d8f 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_compile.py +++ b/src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_compile.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import errno import logging diff --git a/src/python/pants/backend/jvm/tasks/jvm_dependency_analyzer.py b/src/python/pants/backend/jvm/tasks/jvm_dependency_analyzer.py index 66837116ddf..fba3322f9c7 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_dependency_analyzer.py +++ b/src/python/pants/backend/jvm/tasks/jvm_dependency_analyzer.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import defaultdict diff --git a/src/python/pants/backend/jvm/tasks/jvm_dependency_check.py b/src/python/pants/backend/jvm/tasks/jvm_dependency_check.py index 8322d554d1a..cfa2a636ba2 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_dependency_check.py +++ b/src/python/pants/backend/jvm/tasks/jvm_dependency_check.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import defaultdict diff --git a/src/python/pants/backend/jvm/tasks/jvm_dependency_usage.py b/src/python/pants/backend/jvm/tasks/jvm_dependency_usage.py index 14dccae88bc..9c51d5e4810 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_dependency_usage.py +++ b/src/python/pants/backend/jvm/tasks/jvm_dependency_usage.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/src/python/pants/backend/jvm/tasks/jvm_platform_analysis.py b/src/python/pants/backend/jvm/tasks/jvm_platform_analysis.py index 0a32c272045..448f02bb49e 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_platform_analysis.py +++ b/src/python/pants/backend/jvm/tasks/jvm_platform_analysis.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re from collections import defaultdict, namedtuple diff --git a/src/python/pants/backend/jvm/tasks/jvm_run.py b/src/python/pants/backend/jvm/tasks/jvm_run.py index c0624effd24..22f621b2d14 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_run.py +++ b/src/python/pants/backend/jvm/tasks/jvm_run.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/src/python/pants/backend/jvm/tasks/jvm_task.py b/src/python/pants/backend/jvm/tasks/jvm_task.py index 3981fece7fe..639fee39491 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_task.py +++ b/src/python/pants/backend/jvm/tasks/jvm_task.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.jvm import JVM from pants.backend.jvm.tasks.classpath_util import ClasspathUtil diff --git a/src/python/pants/backend/jvm/tasks/jvm_tool_task_mixin.py b/src/python/pants/backend/jvm/tasks/jvm_tool_task_mixin.py index 38a788b6cf3..3ea6b4fd137 100644 --- a/src/python/pants/backend/jvm/tasks/jvm_tool_task_mixin.py +++ b/src/python/pants/backend/jvm/tasks/jvm_tool_task_mixin.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.jvm_tool_mixin import JvmToolMixin from pants.task.task import TaskBase diff --git a/src/python/pants/backend/jvm/tasks/jvmdoc_gen.py b/src/python/pants/backend/jvm/tasks/jvmdoc_gen.py index 4aa9db16d27..7fefdd5040f 100644 --- a/src/python/pants/backend/jvm/tasks/jvmdoc_gen.py +++ b/src/python/pants/backend/jvm/tasks/jvmdoc_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import collections import contextlib diff --git a/src/python/pants/backend/jvm/tasks/nailgun_task.py b/src/python/pants/backend/jvm/tasks/nailgun_task.py index 3069df02eb8..11d5b39dbbe 100644 --- a/src/python/pants/backend/jvm/tasks/nailgun_task.py +++ b/src/python/pants/backend/jvm/tasks/nailgun_task.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/jvm/tasks/prepare_resources.py b/src/python/pants/backend/jvm/tasks/prepare_resources.py index 1d452427d5c..e3e433c2430 100644 --- a/src/python/pants/backend/jvm/tasks/prepare_resources.py +++ b/src/python/pants/backend/jvm/tasks/prepare_resources.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/src/python/pants/backend/jvm/tasks/prepare_services.py b/src/python/pants/backend/jvm/tasks/prepare_services.py index ca9aee73834..127a68ea434 100644 --- a/src/python/pants/backend/jvm/tasks/prepare_services.py +++ b/src/python/pants/backend/jvm/tasks/prepare_services.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/jvm/tasks/properties.py b/src/python/pants/backend/jvm/tasks/properties.py index 88d93b6c049..366d368eb18 100644 --- a/src/python/pants/backend/jvm/tasks/properties.py +++ b/src/python/pants/backend/jvm/tasks/properties.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re from collections import OrderedDict diff --git a/src/python/pants/backend/jvm/tasks/provide_tools_jar.py b/src/python/pants/backend/jvm/tasks/provide_tools_jar.py index ff978f5e12f..9ae7ea0be65 100644 --- a/src/python/pants/backend/jvm/tasks/provide_tools_jar.py +++ b/src/python/pants/backend/jvm/tasks/provide_tools_jar.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/jvm/tasks/reports/junit_html_report.py b/src/python/pants/backend/jvm/tasks/reports/junit_html_report.py index 868583be0fe..2585e542c69 100644 --- a/src/python/pants/backend/jvm/tasks/reports/junit_html_report.py +++ b/src/python/pants/backend/jvm/tasks/reports/junit_html_report.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import collections import fnmatch diff --git a/src/python/pants/backend/jvm/tasks/resources_task.py b/src/python/pants/backend/jvm/tasks/resources_task.py index 355cc40b812..f68298b1964 100644 --- a/src/python/pants/backend/jvm/tasks/resources_task.py +++ b/src/python/pants/backend/jvm/tasks/resources_task.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractmethod diff --git a/src/python/pants/backend/jvm/tasks/rewrite_base.py b/src/python/pants/backend/jvm/tasks/rewrite_base.py index da0ed1088d4..49481347237 100644 --- a/src/python/pants/backend/jvm/tasks/rewrite_base.py +++ b/src/python/pants/backend/jvm/tasks/rewrite_base.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from abc import abstractmethod, abstractproperty diff --git a/src/python/pants/backend/jvm/tasks/run_jvm_prep_command.py b/src/python/pants/backend/jvm/tasks/run_jvm_prep_command.py index c13a7462b2c..014ba061c28 100644 --- a/src/python/pants/backend/jvm/tasks/run_jvm_prep_command.py +++ b/src/python/pants/backend/jvm/tasks/run_jvm_prep_command.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.jvm_platform import JvmPlatform from pants.backend.jvm.targets.jvm_prep_command import JvmPrepCommand diff --git a/src/python/pants/backend/jvm/tasks/scala_repl.py b/src/python/pants/backend/jvm/tasks/scala_repl.py index f4f83326133..0f10b076329 100644 --- a/src/python/pants/backend/jvm/tasks/scala_repl.py +++ b/src/python/pants/backend/jvm/tasks/scala_repl.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import sys diff --git a/src/python/pants/backend/jvm/tasks/scaladoc_gen.py b/src/python/pants/backend/jvm/tasks/scaladoc_gen.py index 3e712791120..54bd0d6fc63 100644 --- a/src/python/pants/backend/jvm/tasks/scaladoc_gen.py +++ b/src/python/pants/backend/jvm/tasks/scaladoc_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.scala_platform import ScalaPlatform from pants.backend.jvm.tasks.jvmdoc_gen import Jvmdoc, JvmdocGen diff --git a/src/python/pants/backend/jvm/tasks/scalafix.py b/src/python/pants/backend/jvm/tasks/scalafix.py index 20c5cbee3f1..67cc2ae4cfd 100644 --- a/src/python/pants/backend/jvm/tasks/scalafix.py +++ b/src/python/pants/backend/jvm/tasks/scalafix.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractproperty diff --git a/src/python/pants/backend/jvm/tasks/scalafmt.py b/src/python/pants/backend/jvm/tasks/scalafmt.py index 80575d719f3..22fcc9770c0 100644 --- a/src/python/pants/backend/jvm/tasks/scalafmt.py +++ b/src/python/pants/backend/jvm/tasks/scalafmt.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractproperty diff --git a/src/python/pants/backend/jvm/tasks/scalastyle.py b/src/python/pants/backend/jvm/tasks/scalastyle.py index 88cc30cffd6..0f64ce6d48f 100644 --- a/src/python/pants/backend/jvm/tasks/scalastyle.py +++ b/src/python/pants/backend/jvm/tasks/scalastyle.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/src/python/pants/backend/jvm/tasks/unpack_jars.py b/src/python/pants/backend/jvm/tasks/unpack_jars.py index 3a0f51d6bb1..b863f0d62b6 100644 --- a/src/python/pants/backend/jvm/tasks/unpack_jars.py +++ b/src/python/pants/backend/jvm/tasks/unpack_jars.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/backend/native/config/environment.py b/src/python/pants/backend/native/config/environment.py index 619f6883d59..ceffe8493db 100644 --- a/src/python/pants/backend/native/config/environment.py +++ b/src/python/pants/backend/native/config/environment.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from abc import abstractproperty diff --git a/src/python/pants/backend/native/register.py b/src/python/pants/backend/native/register.py index 7c4ef43ceac..7447e8b36aa 100644 --- a/src/python/pants/backend/native/register.py +++ b/src/python/pants/backend/native/register.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.native.config.environment import create_native_environment_rules from pants.backend.native.subsystems.binaries.binutils import create_binutils_rules diff --git a/src/python/pants/backend/native/subsystems/binaries/binutils.py b/src/python/pants/backend/native/subsystems/binaries/binutils.py index 4567f3a5a6e..a8feeb05eea 100644 --- a/src/python/pants/backend/native/subsystems/binaries/binutils.py +++ b/src/python/pants/backend/native/subsystems/binaries/binutils.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/native/subsystems/binaries/gcc.py b/src/python/pants/backend/native/subsystems/binaries/gcc.py index 4808c1ac39e..0f8db035e6f 100644 --- a/src/python/pants/backend/native/subsystems/binaries/gcc.py +++ b/src/python/pants/backend/native/subsystems/binaries/gcc.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/native/subsystems/binaries/llvm.py b/src/python/pants/backend/native/subsystems/binaries/llvm.py index 1906ded22de..e7eff9ed8d0 100644 --- a/src/python/pants/backend/native/subsystems/binaries/llvm.py +++ b/src/python/pants/backend/native/subsystems/binaries/llvm.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/native/subsystems/libc_dev.py b/src/python/pants/backend/native/subsystems/libc_dev.py index 3ff59d0dce7..967d8709972 100644 --- a/src/python/pants/backend/native/subsystems/libc_dev.py +++ b/src/python/pants/backend/native/subsystems/libc_dev.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/native/subsystems/native_compile_settings.py b/src/python/pants/backend/native/subsystems/native_compile_settings.py index f520e0e52c1..230d91a10c7 100644 --- a/src/python/pants/backend/native/subsystems/native_compile_settings.py +++ b/src/python/pants/backend/native/subsystems/native_compile_settings.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.subsystem.subsystem import Subsystem diff --git a/src/python/pants/backend/native/subsystems/native_toolchain.py b/src/python/pants/backend/native/subsystems/native_toolchain.py index 12291ab6424..3e98d92baf3 100644 --- a/src/python/pants/backend/native/subsystems/native_toolchain.py +++ b/src/python/pants/backend/native/subsystems/native_toolchain.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.native.config.environment import (Assembler, CCompiler, CppCompiler, GCCCCompiler, GCCCppCompiler, Linker, diff --git a/src/python/pants/backend/native/subsystems/utils/parse_search_dirs.py b/src/python/pants/backend/native/subsystems/utils/parse_search_dirs.py index 66eb0bb1023..128e62ef1bd 100644 --- a/src/python/pants/backend/native/subsystems/utils/parse_search_dirs.py +++ b/src/python/pants/backend/native/subsystems/utils/parse_search_dirs.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/backend/native/subsystems/xcode_cli_tools.py b/src/python/pants/backend/native/subsystems/xcode_cli_tools.py index 7639ada3ead..6288133d290 100644 --- a/src/python/pants/backend/native/subsystems/xcode_cli_tools.py +++ b/src/python/pants/backend/native/subsystems/xcode_cli_tools.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/native/targets/native_artifact.py b/src/python/pants/backend/native/targets/native_artifact.py index 2b452958b9f..6c16ca112d8 100644 --- a/src/python/pants/backend/native/targets/native_artifact.py +++ b/src/python/pants/backend/native/targets/native_artifact.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from hashlib import sha1 diff --git a/src/python/pants/backend/native/targets/native_library.py b/src/python/pants/backend/native/targets/native_library.py index b683e12ce7f..099b60f208d 100644 --- a/src/python/pants/backend/native/targets/native_library.py +++ b/src/python/pants/backend/native/targets/native_library.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.native.targets.native_artifact import NativeArtifact from pants.base.exceptions import TargetDefinitionException diff --git a/src/python/pants/backend/native/tasks/c_compile.py b/src/python/pants/backend/native/tasks/c_compile.py index deb7924655f..6d0c47aba8a 100644 --- a/src/python/pants/backend/native/tasks/c_compile.py +++ b/src/python/pants/backend/native/tasks/c_compile.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.native.config.environment import CCompiler from pants.backend.native.subsystems.native_compile_settings import CCompileSettings diff --git a/src/python/pants/backend/native/tasks/cpp_compile.py b/src/python/pants/backend/native/tasks/cpp_compile.py index 0830e626f1f..7b2a6fbcc3f 100644 --- a/src/python/pants/backend/native/tasks/cpp_compile.py +++ b/src/python/pants/backend/native/tasks/cpp_compile.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.native.config.environment import CppCompiler from pants.backend.native.subsystems.native_compile_settings import CppCompileSettings diff --git a/src/python/pants/backend/native/tasks/link_shared_libraries.py b/src/python/pants/backend/native/tasks/link_shared_libraries.py index f70e86d9860..57219b990e5 100644 --- a/src/python/pants/backend/native/tasks/link_shared_libraries.py +++ b/src/python/pants/backend/native/tasks/link_shared_libraries.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/native/tasks/native_compile.py b/src/python/pants/backend/native/tasks/native_compile.py index 20c0bf0d5d7..564c57cedb3 100644 --- a/src/python/pants/backend/native/tasks/native_compile.py +++ b/src/python/pants/backend/native/tasks/native_compile.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from abc import abstractmethod diff --git a/src/python/pants/backend/native/tasks/native_task.py b/src/python/pants/backend/native/tasks/native_task.py index fb12e2b7b10..7f95256f205 100644 --- a/src/python/pants/backend/native/tasks/native_task.py +++ b/src/python/pants/backend/native/tasks/native_task.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.task.task import Task diff --git a/src/python/pants/backend/project_info/register.py b/src/python/pants/backend/project_info/register.py index 1cc13c86a52..3780b7a01c5 100644 --- a/src/python/pants/backend/project_info/register.py +++ b/src/python/pants/backend/project_info/register.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.project_info.tasks.dependencies import Dependencies from pants.backend.project_info.tasks.depmap import Depmap diff --git a/src/python/pants/backend/project_info/tasks/dependencies.py b/src/python/pants/backend/project_info/tasks/dependencies.py index eab3aa00b58..381127e50a6 100644 --- a/src/python/pants/backend/project_info/tasks/dependencies.py +++ b/src/python/pants/backend/project_info/tasks/dependencies.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from twitter.common.collections import OrderedSet diff --git a/src/python/pants/backend/project_info/tasks/depmap.py b/src/python/pants/backend/project_info/tasks/depmap.py index d47b1eae4cd..ba69ac059e9 100644 --- a/src/python/pants/backend/project_info/tasks/depmap.py +++ b/src/python/pants/backend/project_info/tasks/depmap.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.exceptions import TaskError from pants.java.jar.jar_dependency import JarDependency diff --git a/src/python/pants/backend/project_info/tasks/export.py b/src/python/pants/backend/project_info/tasks/export.py index 783391c347a..c9ce5b24575 100644 --- a/src/python/pants/backend/project_info/tasks/export.py +++ b/src/python/pants/backend/project_info/tasks/export.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/src/python/pants/backend/project_info/tasks/filedeps.py b/src/python/pants/backend/project_info/tasks/filedeps.py index 502159fe2b4..b237c26cf67 100644 --- a/src/python/pants/backend/project_info/tasks/filedeps.py +++ b/src/python/pants/backend/project_info/tasks/filedeps.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import itertools import os diff --git a/src/python/pants/backend/project_info/tasks/idea_plugin_gen.py b/src/python/pants/backend/project_info/tasks/idea_plugin_gen.py index b5d89a41373..d0e21e2ca9f 100644 --- a/src/python/pants/backend/project_info/tasks/idea_plugin_gen.py +++ b/src/python/pants/backend/project_info/tasks/idea_plugin_gen.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import logging diff --git a/src/python/pants/backend/python/interpreter_cache.py b/src/python/pants/backend/python/interpreter_cache.py index 8bac90cd3d7..b8eb9eea2ec 100644 --- a/src/python/pants/backend/python/interpreter_cache.py +++ b/src/python/pants/backend/python/interpreter_cache.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/src/python/pants/backend/python/pants_requirement.py b/src/python/pants/backend/python/pants_requirement.py index 9128c2ba882..7d02c8e90d0 100644 --- a/src/python/pants/backend/python/pants_requirement.py +++ b/src/python/pants/backend/python/pants_requirement.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from builtins import object diff --git a/src/python/pants/backend/python/pex_util.py b/src/python/pants/backend/python/pex_util.py index 6ca782b5433..7a2841b41ec 100644 --- a/src/python/pants/backend/python/pex_util.py +++ b/src/python/pants/backend/python/pex_util.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pex.interpreter import PythonInterpreter from pex.platforms import Platform diff --git a/src/python/pants/backend/python/python_artifact.py b/src/python/pants/backend/python/python_artifact.py index bc2bdb32dc7..ffcb61032e9 100644 --- a/src/python/pants/backend/python/python_artifact.py +++ b/src/python/pants/backend/python/python_artifact.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json from hashlib import sha1 diff --git a/src/python/pants/backend/python/python_requirement.py b/src/python/pants/backend/python/python_requirement.py index e249960ba8c..7ff1a3994ab 100644 --- a/src/python/pants/backend/python/python_requirement.py +++ b/src/python/pants/backend/python/python_requirement.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from builtins import object, str diff --git a/src/python/pants/backend/python/python_requirements.py b/src/python/pants/backend/python/python_requirements.py index bd39a1b7a69..907376306b3 100644 --- a/src/python/pants/backend/python/python_requirements.py +++ b/src/python/pants/backend/python/python_requirements.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from builtins import object diff --git a/src/python/pants/backend/python/register.py b/src/python/pants/backend/python/register.py index e8cb9dae581..1eb887d0d97 100644 --- a/src/python/pants/backend/python/register.py +++ b/src/python/pants/backend/python/register.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.python.pants_requirement import PantsRequirement from pants.backend.python.python_artifact import PythonArtifact diff --git a/src/python/pants/backend/python/subsystems/isort.py b/src/python/pants/backend/python/subsystems/isort.py index 4f614a7c92a..691f0a34a42 100644 --- a/src/python/pants/backend/python/subsystems/isort.py +++ b/src/python/pants/backend/python/subsystems/isort.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.binaries.binary_tool import Script diff --git a/src/python/pants/backend/python/subsystems/pytest.py b/src/python/pants/backend/python/subsystems/pytest.py index 22568cfd14c..de526262f8b 100644 --- a/src/python/pants/backend/python/subsystems/pytest.py +++ b/src/python/pants/backend/python/subsystems/pytest.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.subsystem.subsystem import Subsystem diff --git a/src/python/pants/backend/python/subsystems/python_native_code.py b/src/python/pants/backend/python/subsystems/python_native_code.py index cf547be46a8..01b3175e63d 100644 --- a/src/python/pants/backend/python/subsystems/python_native_code.py +++ b/src/python/pants/backend/python/subsystems/python_native_code.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from builtins import str from collections import defaultdict diff --git a/src/python/pants/backend/python/subsystems/python_repos.py b/src/python/pants/backend/python/subsystems/python_repos.py index c776e9ef045..88fe527d5b8 100644 --- a/src/python/pants/backend/python/subsystems/python_repos.py +++ b/src/python/pants/backend/python/subsystems/python_repos.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pex.fetcher import Fetcher, PyPIFetcher from pex.http import Context diff --git a/src/python/pants/backend/python/subsystems/python_setup.py b/src/python/pants/backend/python/subsystems/python_setup.py index 000de64e634..9acd174f3eb 100644 --- a/src/python/pants/backend/python/subsystems/python_setup.py +++ b/src/python/pants/backend/python/subsystems/python_setup.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/python/targets/python_app.py b/src/python/pants/backend/python/targets/python_app.py index 4643ce2e511..22e9a6bdd7c 100644 --- a/src/python/pants/backend/python/targets/python_app.py +++ b/src/python/pants/backend/python/targets/python_app.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.python.targets.python_binary import PythonBinary from pants.build_graph.app_base import AppBase diff --git a/src/python/pants/backend/python/targets/python_binary.py b/src/python/pants/backend/python/targets/python_binary.py index 7ec52a64884..45565fc3f46 100644 --- a/src/python/pants/backend/python/targets/python_binary.py +++ b/src/python/pants/backend/python/targets/python_binary.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/python/targets/python_distribution.py b/src/python/pants/backend/python/targets/python_distribution.py index 8f630c17b52..28b990b9656 100644 --- a/src/python/pants/backend/python/targets/python_distribution.py +++ b/src/python/pants/backend/python/targets/python_distribution.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from builtins import str diff --git a/src/python/pants/backend/python/targets/python_library.py b/src/python/pants/backend/python/targets/python_library.py index e12160ad2ed..4631bf43ebb 100644 --- a/src/python/pants/backend/python/targets/python_library.py +++ b/src/python/pants/backend/python/targets/python_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.python.targets.python_target import PythonTarget from pants.backend.python.targets.python_tests import PythonTests diff --git a/src/python/pants/backend/python/targets/python_requirement_library.py b/src/python/pants/backend/python/targets/python_requirement_library.py index 88fe509b8cf..dc2b88d9fc3 100644 --- a/src/python/pants/backend/python/targets/python_requirement_library.py +++ b/src/python/pants/backend/python/targets/python_requirement_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.python.python_requirement import PythonRequirement from pants.base.payload import Payload diff --git a/src/python/pants/backend/python/targets/python_target.py b/src/python/pants/backend/python/targets/python_target.py index 400b000b7fc..b257b2eff12 100644 --- a/src/python/pants/backend/python/targets/python_target.py +++ b/src/python/pants/backend/python/targets/python_target.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from builtins import str diff --git a/src/python/pants/backend/python/targets/python_tests.py b/src/python/pants/backend/python/targets/python_tests.py index 9617e676654..b22008974ee 100644 --- a/src/python/pants/backend/python/targets/python_tests.py +++ b/src/python/pants/backend/python/targets/python_tests.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from twitter.common.collections import maybe_list diff --git a/src/python/pants/backend/python/tasks/build_local_python_distributions.py b/src/python/pants/backend/python/tasks/build_local_python_distributions.py index 4f70f179709..9f6dd4d00d4 100644 --- a/src/python/pants/backend/python/tasks/build_local_python_distributions.py +++ b/src/python/pants/backend/python/tasks/build_local_python_distributions.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import glob import os diff --git a/src/python/pants/backend/python/tasks/coverage/plugin.py b/src/python/pants/backend/python/tasks/coverage/plugin.py index 0473e8064d5..6e3a5c24ecf 100644 --- a/src/python/pants/backend/python/tasks/coverage/plugin.py +++ b/src/python/pants/backend/python/tasks/coverage/plugin.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/src/python/pants/backend/python/tasks/gather_sources.py b/src/python/pants/backend/python/tasks/gather_sources.py index 614267ba761..f41b688e5ba 100644 --- a/src/python/pants/backend/python/tasks/gather_sources.py +++ b/src/python/pants/backend/python/tasks/gather_sources.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/python/tasks/local_python_distribution_artifact.py b/src/python/pants/backend/python/tasks/local_python_distribution_artifact.py index 26b75d82b24..08c57c74b6f 100644 --- a/src/python/pants/backend/python/tasks/local_python_distribution_artifact.py +++ b/src/python/pants/backend/python/tasks/local_python_distribution_artifact.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/python/tasks/pex_build_util.py b/src/python/pants/backend/python/tasks/pex_build_util.py index 865682e2e53..1a0002c3238 100644 --- a/src/python/pants/backend/python/tasks/pex_build_util.py +++ b/src/python/pants/backend/python/tasks/pex_build_util.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from builtins import str diff --git a/src/python/pants/backend/python/tasks/pytest_prep.py b/src/python/pants/backend/python/tasks/pytest_prep.py index c1f9a18c2da..a325a809691 100644 --- a/src/python/pants/backend/python/tasks/pytest_prep.py +++ b/src/python/pants/backend/python/tasks/pytest_prep.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from builtins import object diff --git a/src/python/pants/backend/python/tasks/pytest_run.py b/src/python/pants/backend/python/tasks/pytest_run.py index 21bd8b79099..182a6c9e5bb 100644 --- a/src/python/pants/backend/python/tasks/pytest_run.py +++ b/src/python/pants/backend/python/tasks/pytest_run.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import itertools import json diff --git a/src/python/pants/backend/python/tasks/python_binary_create.py b/src/python/pants/backend/python/tasks/python_binary_create.py index 3d19f565d51..a788f187222 100644 --- a/src/python/pants/backend/python/tasks/python_binary_create.py +++ b/src/python/pants/backend/python/tasks/python_binary_create.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/python/tasks/python_bundle.py b/src/python/pants/backend/python/tasks/python_bundle.py index 1b88a44297a..1b5e6b905ae 100644 --- a/src/python/pants/backend/python/tasks/python_bundle.py +++ b/src/python/pants/backend/python/tasks/python_bundle.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/backend/python/tasks/python_execution_task_base.py b/src/python/pants/backend/python/tasks/python_execution_task_base.py index da89e59dbc2..8ee154c1f45 100644 --- a/src/python/pants/backend/python/tasks/python_execution_task_base.py +++ b/src/python/pants/backend/python/tasks/python_execution_task_base.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from builtins import str diff --git a/src/python/pants/backend/python/tasks/python_isort.py b/src/python/pants/backend/python/tasks/python_isort.py index 648899c82fa..1672b572faf 100644 --- a/src/python/pants/backend/python/tasks/python_isort.py +++ b/src/python/pants/backend/python/tasks/python_isort.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/backend/python/tasks/python_repl.py b/src/python/pants/backend/python/tasks/python_repl.py index 172a13ce53f..587649a9d7b 100644 --- a/src/python/pants/backend/python/tasks/python_repl.py +++ b/src/python/pants/backend/python/tasks/python_repl.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import signal diff --git a/src/python/pants/backend/python/tasks/python_run.py b/src/python/pants/backend/python/tasks/python_run.py index 6df9e975c18..1ce80f7ff83 100644 --- a/src/python/pants/backend/python/tasks/python_run.py +++ b/src/python/pants/backend/python/tasks/python_run.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import signal diff --git a/src/python/pants/backend/python/tasks/resolve_requirements.py b/src/python/pants/backend/python/tasks/resolve_requirements.py index 266f70bd746..592680fc83f 100644 --- a/src/python/pants/backend/python/tasks/resolve_requirements.py +++ b/src/python/pants/backend/python/tasks/resolve_requirements.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pex.interpreter import PythonInterpreter diff --git a/src/python/pants/backend/python/tasks/resolve_requirements_task_base.py b/src/python/pants/backend/python/tasks/resolve_requirements_task_base.py index a3812162fe0..41a100a6043 100644 --- a/src/python/pants/backend/python/tasks/resolve_requirements_task_base.py +++ b/src/python/pants/backend/python/tasks/resolve_requirements_task_base.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from builtins import str diff --git a/src/python/pants/backend/python/tasks/select_interpreter.py b/src/python/pants/backend/python/tasks/select_interpreter.py index 840fbadfbb3..26965e0b715 100644 --- a/src/python/pants/backend/python/tasks/select_interpreter.py +++ b/src/python/pants/backend/python/tasks/select_interpreter.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import hashlib import os diff --git a/src/python/pants/backend/python/tasks/setup_py.py b/src/python/pants/backend/python/tasks/setup_py.py index dc32eaff583..f83914396f8 100644 --- a/src/python/pants/backend/python/tasks/setup_py.py +++ b/src/python/pants/backend/python/tasks/setup_py.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast import itertools diff --git a/src/python/pants/backend/python/tasks/wrapped_pex.py b/src/python/pants/backend/python/tasks/wrapped_pex.py index e9e92281624..4a128f7baab 100644 --- a/src/python/pants/backend/python/tasks/wrapped_pex.py +++ b/src/python/pants/backend/python/tasks/wrapped_pex.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from builtins import object from copy import copy diff --git a/src/python/pants/base/build_environment.py b/src/python/pants/base/build_environment.py index 8512fa34588..92209ebc272 100644 --- a/src/python/pants/base/build_environment.py +++ b/src/python/pants/base/build_environment.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/base/build_file.py b/src/python/pants/base/build_file.py index fc73e510e08..d3bda52d6f6 100644 --- a/src/python/pants/base/build_file.py +++ b/src/python/pants/base/build_file.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/base/build_file_target_factory.py b/src/python/pants/base/build_file_target_factory.py index 27c3ad90dda..fc99bd078d1 100644 --- a/src/python/pants/base/build_file_target_factory.py +++ b/src/python/pants/base/build_file_target_factory.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractproperty diff --git a/src/python/pants/base/build_root.py b/src/python/pants/base/build_root.py index 3aa433b4b5f..5d5403ac082 100644 --- a/src/python/pants/base/build_root.py +++ b/src/python/pants/base/build_root.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/src/python/pants/base/cmd_line_spec_parser.py b/src/python/pants/base/cmd_line_spec_parser.py index ed6bddcb992..e3b201ec4be 100644 --- a/src/python/pants/base/cmd_line_spec_parser.py +++ b/src/python/pants/base/cmd_line_spec_parser.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from builtins import object diff --git a/src/python/pants/base/deprecated.py b/src/python/pants/base/deprecated.py index 4decc636321..e27f44ee549 100644 --- a/src/python/pants/base/deprecated.py +++ b/src/python/pants/base/deprecated.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import inspect import warnings diff --git a/src/python/pants/base/exceptions.py b/src/python/pants/base/exceptions.py index c4de86a2892..b7ee781ad67 100644 --- a/src/python/pants/base/exceptions.py +++ b/src/python/pants/base/exceptions.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals class TaskError(Exception): diff --git a/src/python/pants/base/exiter.py b/src/python/pants/base/exiter.py index 2942e3f00eb..36699ee5abf 100644 --- a/src/python/pants/base/exiter.py +++ b/src/python/pants/base/exiter.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import datetime import logging diff --git a/src/python/pants/base/file_system_project_tree.py b/src/python/pants/base/file_system_project_tree.py index c2df487de2a..f0797cc72cd 100644 --- a/src/python/pants/base/file_system_project_tree.py +++ b/src/python/pants/base/file_system_project_tree.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from glob import glob1 diff --git a/src/python/pants/base/fingerprint_strategy.py b/src/python/pants/base/fingerprint_strategy.py index 38e535c5c74..955b4860e19 100644 --- a/src/python/pants/base/fingerprint_strategy.py +++ b/src/python/pants/base/fingerprint_strategy.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging from abc import abstractmethod diff --git a/src/python/pants/base/generator.py b/src/python/pants/base/generator.py index 3a044b42de1..dbb87795ba5 100644 --- a/src/python/pants/base/generator.py +++ b/src/python/pants/base/generator.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import pprint from builtins import object diff --git a/src/python/pants/base/hash_utils.py b/src/python/pants/base/hash_utils.py index 929ecd6c44c..15e82345d68 100644 --- a/src/python/pants/base/hash_utils.py +++ b/src/python/pants/base/hash_utils.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import hashlib import json diff --git a/src/python/pants/base/mustache.py b/src/python/pants/base/mustache.py index f4f40f2f8ca..59348f3aacd 100644 --- a/src/python/pants/base/mustache.py +++ b/src/python/pants/base/mustache.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import pkgutil diff --git a/src/python/pants/base/parse_context.py b/src/python/pants/base/parse_context.py index 8b39c712cd4..27846751425 100644 --- a/src/python/pants/base/parse_context.py +++ b/src/python/pants/base/parse_context.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import threading diff --git a/src/python/pants/base/payload.py b/src/python/pants/base/payload.py index 50e3c175f63..68de8ed87dd 100644 --- a/src/python/pants/base/payload.py +++ b/src/python/pants/base/payload.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from builtins import object from hashlib import sha1 diff --git a/src/python/pants/base/payload_field.py b/src/python/pants/base/payload_field.py index a08540e2743..385552fe147 100644 --- a/src/python/pants/base/payload_field.py +++ b/src/python/pants/base/payload_field.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractmethod from builtins import object diff --git a/src/python/pants/base/project_tree.py b/src/python/pants/base/project_tree.py index 176a6963fc8..6a49e73c418 100644 --- a/src/python/pants/base/project_tree.py +++ b/src/python/pants/base/project_tree.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/base/project_tree_factory.py b/src/python/pants/base/project_tree_factory.py index 3d0a94b5052..379c2e2a3d3 100644 --- a/src/python/pants/base/project_tree_factory.py +++ b/src/python/pants/base/project_tree_factory.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.build_environment import get_buildroot from pants.base.file_system_project_tree import FileSystemProjectTree diff --git a/src/python/pants/base/revision.py b/src/python/pants/base/revision.py index b6e492d244c..54b3ccf438a 100644 --- a/src/python/pants/base/revision.py +++ b/src/python/pants/base/revision.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re from builtins import map, object, str diff --git a/src/python/pants/base/run_info.py b/src/python/pants/base/run_info.py index 3d39c46c561..00d5bdb1be0 100644 --- a/src/python/pants/base/run_info.py +++ b/src/python/pants/base/run_info.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import getpass import os diff --git a/src/python/pants/base/specs.py b/src/python/pants/base/specs.py index 5ba7410440e..c4247cc4b27 100644 --- a/src/python/pants/base/specs.py +++ b/src/python/pants/base/specs.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re from abc import abstractmethod diff --git a/src/python/pants/base/target_roots.py b/src/python/pants/base/target_roots.py index edafbe07c1a..dd1c9c41628 100644 --- a/src/python/pants/base/target_roots.py +++ b/src/python/pants/base/target_roots.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.util.objects import datatype diff --git a/src/python/pants/base/validation.py b/src/python/pants/base/validation.py index a6ee3e28c63..3859c5bbd66 100644 --- a/src/python/pants/base/validation.py +++ b/src/python/pants/base/validation.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from six import string_types from twitter.common.collections import OrderedSet diff --git a/src/python/pants/base/worker_pool.py b/src/python/pants/base/worker_pool.py index 35465891bac..100362200c0 100644 --- a/src/python/pants/base/worker_pool.py +++ b/src/python/pants/base/worker_pool.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import multiprocessing import signal diff --git a/src/python/pants/base/workunit.py b/src/python/pants/base/workunit.py index c9bc368fb62..1708cf178f7 100644 --- a/src/python/pants/base/workunit.py +++ b/src/python/pants/base/workunit.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/src/python/pants/bin/daemon_pants_runner.py b/src/python/pants/bin/daemon_pants_runner.py index 75b5a28b6ac..bc281f5b1bc 100644 --- a/src/python/pants/bin/daemon_pants_runner.py +++ b/src/python/pants/bin/daemon_pants_runner.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import datetime import os diff --git a/src/python/pants/bin/goal_runner.py b/src/python/pants/bin/goal_runner.py index dbd54087460..d852e5b3ce1 100644 --- a/src/python/pants/bin/goal_runner.py +++ b/src/python/pants/bin/goal_runner.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import sys diff --git a/src/python/pants/bin/local_pants_runner.py b/src/python/pants/bin/local_pants_runner.py index 80b8a7c926d..0c4eb3a401c 100644 --- a/src/python/pants/bin/local_pants_runner.py +++ b/src/python/pants/bin/local_pants_runner.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.build_environment import get_buildroot from pants.bin.goal_runner import GoalRunner diff --git a/src/python/pants/bin/pants_exe.py b/src/python/pants/bin/pants_exe.py index 4234e1eab45..ded69d5978c 100644 --- a/src/python/pants/bin/pants_exe.py +++ b/src/python/pants/bin/pants_exe.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import time diff --git a/src/python/pants/bin/pants_loader.py b/src/python/pants/bin/pants_loader.py index b412ef12406..cb480a4291d 100644 --- a/src/python/pants/bin/pants_loader.py +++ b/src/python/pants/bin/pants_loader.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import importlib import locale diff --git a/src/python/pants/bin/pants_runner.py b/src/python/pants/bin/pants_runner.py index 002d4ba0ce0..78b15a2aca5 100644 --- a/src/python/pants/bin/pants_runner.py +++ b/src/python/pants/bin/pants_runner.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/bin/remote_pants_runner.py b/src/python/pants/bin/remote_pants_runner.py index a46a02741e4..eac98eb4e82 100644 --- a/src/python/pants/bin/remote_pants_runner.py +++ b/src/python/pants/bin/remote_pants_runner.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import signal diff --git a/src/python/pants/binaries/binary_tool.py b/src/python/pants/binaries/binary_tool.py index be4601499e7..9cf7b044ed4 100644 --- a/src/python/pants/binaries/binary_tool.py +++ b/src/python/pants/binaries/binary_tool.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/binaries/binary_util.py b/src/python/pants/binaries/binary_util.py index c012787e1e9..49cb72371cf 100644 --- a/src/python/pants/binaries/binary_util.py +++ b/src/python/pants/binaries/binary_util.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/build_graph/address.py b/src/python/pants/build_graph/address.py index 16862dfbe4a..226ef61d6d0 100644 --- a/src/python/pants/build_graph/address.py +++ b/src/python/pants/build_graph/address.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import namedtuple diff --git a/src/python/pants/build_graph/address_lookup_error.py b/src/python/pants/build_graph/address_lookup_error.py index ddb81c99988..5ea42c3bc2d 100644 --- a/src/python/pants/build_graph/address_lookup_error.py +++ b/src/python/pants/build_graph/address_lookup_error.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals class AddressLookupError(Exception): diff --git a/src/python/pants/build_graph/address_mapper.py b/src/python/pants/build_graph/address_mapper.py index 77d5ee2a3ca..d3794d11f45 100644 --- a/src/python/pants/build_graph/address_mapper.py +++ b/src/python/pants/build_graph/address_mapper.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging from abc import abstractmethod diff --git a/src/python/pants/build_graph/addressable.py b/src/python/pants/build_graph/addressable.py index 1779180f2f3..36d53fd7192 100644 --- a/src/python/pants/build_graph/addressable.py +++ b/src/python/pants/build_graph/addressable.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from abc import abstractmethod diff --git a/src/python/pants/build_graph/aliased_target.py b/src/python/pants/build_graph/aliased_target.py index 464f8a792d0..025af7f0975 100644 --- a/src/python/pants/build_graph/aliased_target.py +++ b/src/python/pants/build_graph/aliased_target.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.exceptions import TargetDefinitionException from pants.build_graph.build_file_aliases import TargetMacro diff --git a/src/python/pants/build_graph/app_base.py b/src/python/pants/build_graph/app_base.py index 30121ab8b88..10456641ff8 100644 --- a/src/python/pants/build_graph/app_base.py +++ b/src/python/pants/build_graph/app_base.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import OrderedDict, namedtuple diff --git a/src/python/pants/build_graph/build_configuration.py b/src/python/pants/build_graph/build_configuration.py index a4a5c006c24..b1a385959a7 100644 --- a/src/python/pants/build_graph/build_configuration.py +++ b/src/python/pants/build_graph/build_configuration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging from collections import Iterable, namedtuple diff --git a/src/python/pants/build_graph/build_file_address_mapper.py b/src/python/pants/build_graph/build_file_address_mapper.py index 100c101ae93..ddc9c56ac82 100644 --- a/src/python/pants/build_graph/build_file_address_mapper.py +++ b/src/python/pants/build_graph/build_file_address_mapper.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/build_graph/build_file_aliases.py b/src/python/pants/build_graph/build_file_aliases.py index a07a0db42e7..b5ecb5b0b9d 100644 --- a/src/python/pants/build_graph/build_file_aliases.py +++ b/src/python/pants/build_graph/build_file_aliases.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import inspect from abc import abstractmethod diff --git a/src/python/pants/build_graph/build_file_parser.py b/src/python/pants/build_graph/build_file_parser.py index a378e0614ce..c4d88089dba 100644 --- a/src/python/pants/build_graph/build_file_parser.py +++ b/src/python/pants/build_graph/build_file_parser.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import warnings diff --git a/src/python/pants/build_graph/build_graph.py b/src/python/pants/build_graph/build_graph.py index e1569f19098..c9210c9d281 100644 --- a/src/python/pants/build_graph/build_graph.py +++ b/src/python/pants/build_graph/build_graph.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import itertools import logging diff --git a/src/python/pants/build_graph/bundle_mixin.py b/src/python/pants/build_graph/bundle_mixin.py index bc8ead3b635..d4705d9f6a6 100644 --- a/src/python/pants/build_graph/bundle_mixin.py +++ b/src/python/pants/build_graph/bundle_mixin.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os.path diff --git a/src/python/pants/build_graph/dependency_context.py b/src/python/pants/build_graph/dependency_context.py index aa397739f10..871865bb79a 100644 --- a/src/python/pants/build_graph/dependency_context.py +++ b/src/python/pants/build_graph/dependency_context.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.aliased_target import AliasTarget from pants.build_graph.target import Target diff --git a/src/python/pants/build_graph/files.py b/src/python/pants/build_graph/files.py index 76750d4760f..e92dfdeb976 100644 --- a/src/python/pants/build_graph/files.py +++ b/src/python/pants/build_graph/files.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.payload import Payload from pants.build_graph.target import Target diff --git a/src/python/pants/build_graph/injectables_mixin.py b/src/python/pants/build_graph/injectables_mixin.py index ab14cc36373..774f630f704 100644 --- a/src/python/pants/build_graph/injectables_mixin.py +++ b/src/python/pants/build_graph/injectables_mixin.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.address import Address diff --git a/src/python/pants/build_graph/intermediate_target_factory.py b/src/python/pants/build_graph/intermediate_target_factory.py index e88bea36b4e..8ab6dd467a9 100644 --- a/src/python/pants/build_graph/intermediate_target_factory.py +++ b/src/python/pants/build_graph/intermediate_target_factory.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from hashlib import sha1 diff --git a/src/python/pants/build_graph/intransitive_dependency.py b/src/python/pants/build_graph/intransitive_dependency.py index 12e92cc3c03..0581bbd24ec 100644 --- a/src/python/pants/build_graph/intransitive_dependency.py +++ b/src/python/pants/build_graph/intransitive_dependency.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.intermediate_target_factory import IntermediateTargetFactoryBase diff --git a/src/python/pants/build_graph/mutable_build_graph.py b/src/python/pants/build_graph/mutable_build_graph.py index 11a1438ca2e..f7a6760cb8b 100644 --- a/src/python/pants/build_graph/mutable_build_graph.py +++ b/src/python/pants/build_graph/mutable_build_graph.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import traceback diff --git a/src/python/pants/build_graph/prep_command.py b/src/python/pants/build_graph/prep_command.py index 5a8f7dd000a..56c90c5962e 100644 --- a/src/python/pants/build_graph/prep_command.py +++ b/src/python/pants/build_graph/prep_command.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.exceptions import TargetDefinitionException from pants.base.payload import Payload diff --git a/src/python/pants/build_graph/register.py b/src/python/pants/build_graph/register.py index 327dbce24aa..20d230e6051 100644 --- a/src/python/pants/build_graph/register.py +++ b/src/python/pants/build_graph/register.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/build_graph/remote_sources.py b/src/python/pants/build_graph/remote_sources.py index c47c8da8544..6df761ac762 100644 --- a/src/python/pants/build_graph/remote_sources.py +++ b/src/python/pants/build_graph/remote_sources.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.exceptions import TargetDefinitionException from pants.base.payload import Payload diff --git a/src/python/pants/build_graph/resources.py b/src/python/pants/build_graph/resources.py index f8a4f819330..2dfaa88af86 100644 --- a/src/python/pants/build_graph/resources.py +++ b/src/python/pants/build_graph/resources.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.files import Files diff --git a/src/python/pants/build_graph/source_mapper.py b/src/python/pants/build_graph/source_mapper.py index d1e7532ebf0..02c96f513ce 100644 --- a/src/python/pants/build_graph/source_mapper.py +++ b/src/python/pants/build_graph/source_mapper.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import defaultdict diff --git a/src/python/pants/build_graph/target.py b/src/python/pants/build_graph/target.py index 93d39300ef7..b40bfa53add 100644 --- a/src/python/pants/build_graph/target.py +++ b/src/python/pants/build_graph/target.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/build_graph/target_addressable.py b/src/python/pants/build_graph/target_addressable.py index 4251827420f..362e0817cbd 100644 --- a/src/python/pants/build_graph/target_addressable.py +++ b/src/python/pants/build_graph/target_addressable.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/src/python/pants/build_graph/target_scopes.py b/src/python/pants/build_graph/target_scopes.py index 2a54b04a457..3283538fd48 100644 --- a/src/python/pants/build_graph/target_scopes.py +++ b/src/python/pants/build_graph/target_scopes.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import six diff --git a/src/python/pants/cache/artifact.py b/src/python/pants/cache/artifact.py index 7bd2c70989d..e8805d942dd 100644 --- a/src/python/pants/cache/artifact.py +++ b/src/python/pants/cache/artifact.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import errno import os diff --git a/src/python/pants/cache/artifact_cache.py b/src/python/pants/cache/artifact_cache.py index 76e4d827829..f1893454362 100644 --- a/src/python/pants/cache/artifact_cache.py +++ b/src/python/pants/cache/artifact_cache.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/cache/cache_setup.py b/src/python/pants/cache/cache_setup.py index 441ae4eed5f..528ece65c3c 100644 --- a/src/python/pants/cache/cache_setup.py +++ b/src/python/pants/cache/cache_setup.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import threading diff --git a/src/python/pants/cache/local_artifact_cache.py b/src/python/pants/cache/local_artifact_cache.py index 677f67839b4..2ee0e3c2dfa 100644 --- a/src/python/pants/cache/local_artifact_cache.py +++ b/src/python/pants/cache/local_artifact_cache.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/cache/pinger.py b/src/python/pants/cache/pinger.py index cc2585eea03..8c44704b44b 100644 --- a/src/python/pants/cache/pinger.py +++ b/src/python/pants/cache/pinger.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import urlparse from collections import Counter, deque diff --git a/src/python/pants/cache/resolver.py b/src/python/pants/cache/resolver.py index 82132f8c80f..4b20f11656a 100644 --- a/src/python/pants/cache/resolver.py +++ b/src/python/pants/cache/resolver.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import logging diff --git a/src/python/pants/cache/restful_artifact_cache.py b/src/python/pants/cache/restful_artifact_cache.py index 92187ca907d..2e384b7193b 100644 --- a/src/python/pants/cache/restful_artifact_cache.py +++ b/src/python/pants/cache/restful_artifact_cache.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import multiprocessing diff --git a/src/python/pants/console/stty_utils.py b/src/python/pants/console/stty_utils.py index 1719bea5510..4a567884d70 100644 --- a/src/python/pants/console/stty_utils.py +++ b/src/python/pants/console/stty_utils.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import sys diff --git a/src/python/pants/core_tasks/bash_completion.py b/src/python/pants/core_tasks/bash_completion.py index 65834e91613..7232126964a 100644 --- a/src/python/pants/core_tasks/bash_completion.py +++ b/src/python/pants/core_tasks/bash_completion.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import defaultdict diff --git a/src/python/pants/core_tasks/clean.py b/src/python/pants/core_tasks/clean.py index f77b99a66f5..bbf5fc22e50 100644 --- a/src/python/pants/core_tasks/clean.py +++ b/src/python/pants/core_tasks/clean.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/core_tasks/deferred_sources_mapper.py b/src/python/pants/core_tasks/deferred_sources_mapper.py index 95fbb8fb0bf..3b6d2e66ab9 100644 --- a/src/python/pants/core_tasks/deferred_sources_mapper.py +++ b/src/python/pants/core_tasks/deferred_sources_mapper.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/core_tasks/explain_options_task.py b/src/python/pants/core_tasks/explain_options_task.py index 3e25f493b70..4d15260fdcd 100644 --- a/src/python/pants/core_tasks/explain_options_task.py +++ b/src/python/pants/core_tasks/explain_options_task.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json diff --git a/src/python/pants/core_tasks/list_goals.py b/src/python/pants/core_tasks/list_goals.py index fe9ece3a91b..ee171b496a9 100644 --- a/src/python/pants/core_tasks/list_goals.py +++ b/src/python/pants/core_tasks/list_goals.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.goal.goal import Goal from pants.task.console_task import ConsoleTask diff --git a/src/python/pants/core_tasks/noop.py b/src/python/pants/core_tasks/noop.py index b1a0b1e79af..b79844c9313 100644 --- a/src/python/pants/core_tasks/noop.py +++ b/src/python/pants/core_tasks/noop.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.task.noop_exec_task import NoopExecTask diff --git a/src/python/pants/core_tasks/pantsd_kill.py b/src/python/pants/core_tasks/pantsd_kill.py index aea180f9d89..6b8d9eab29f 100644 --- a/src/python/pants/core_tasks/pantsd_kill.py +++ b/src/python/pants/core_tasks/pantsd_kill.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.exceptions import TaskError from pants.pantsd.pants_daemon import PantsDaemon diff --git a/src/python/pants/core_tasks/register.py b/src/python/pants/core_tasks/register.py index 1ade8912459..0d401966072 100644 --- a/src/python/pants/core_tasks/register.py +++ b/src/python/pants/core_tasks/register.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.core_tasks.bash_completion import BashCompletion from pants.core_tasks.clean import Clean diff --git a/src/python/pants/core_tasks/reporting_server_kill.py b/src/python/pants/core_tasks/reporting_server_kill.py index 105b9734749..84dea5dc61c 100644 --- a/src/python/pants/core_tasks/reporting_server_kill.py +++ b/src/python/pants/core_tasks/reporting_server_kill.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/src/python/pants/core_tasks/reporting_server_run.py b/src/python/pants/core_tasks/reporting_server_run.py index 2301b421263..5cd408ca4f3 100644 --- a/src/python/pants/core_tasks/reporting_server_run.py +++ b/src/python/pants/core_tasks/reporting_server_run.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/src/python/pants/core_tasks/roots.py b/src/python/pants/core_tasks/roots.py index ba5207daac4..7832ba90625 100644 --- a/src/python/pants/core_tasks/roots.py +++ b/src/python/pants/core_tasks/roots.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.task.console_task import ConsoleTask diff --git a/src/python/pants/core_tasks/run_prep_command.py b/src/python/pants/core_tasks/run_prep_command.py index ea31cda72f1..400249f1280 100644 --- a/src/python/pants/core_tasks/run_prep_command.py +++ b/src/python/pants/core_tasks/run_prep_command.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import namedtuple diff --git a/src/python/pants/core_tasks/substitute_aliased_targets.py b/src/python/pants/core_tasks/substitute_aliased_targets.py index 10f9170fb5d..f49c0328ec5 100644 --- a/src/python/pants/core_tasks/substitute_aliased_targets.py +++ b/src/python/pants/core_tasks/substitute_aliased_targets.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.aliased_target import AliasTarget from pants.task.task import Task diff --git a/src/python/pants/core_tasks/targets_help.py b/src/python/pants/core_tasks/targets_help.py index ce5327ec141..765c653f1b4 100644 --- a/src/python/pants/core_tasks/targets_help.py +++ b/src/python/pants/core_tasks/targets_help.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from colors import blue, cyan, green diff --git a/src/python/pants/engine/addressable.py b/src/python/pants/engine/addressable.py index f10bfa5ef5b..adcdbbc5a61 100644 --- a/src/python/pants/engine/addressable.py +++ b/src/python/pants/engine/addressable.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import collections import inspect diff --git a/src/python/pants/engine/build_files.py b/src/python/pants/engine/build_files.py index 7150da66903..f5bcbf95a6e 100644 --- a/src/python/pants/engine/build_files.py +++ b/src/python/pants/engine/build_files.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import collections import functools diff --git a/src/python/pants/engine/fs.py b/src/python/pants/engine/fs.py index 0401714b132..ba0443006d2 100644 --- a/src/python/pants/engine/fs.py +++ b/src/python/pants/engine/fs.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.project_tree import Dir, File from pants.engine.rules import RootRule diff --git a/src/python/pants/engine/isolated_process.py b/src/python/pants/engine/isolated_process.py index af342b3bb2c..b6481803665 100644 --- a/src/python/pants/engine/isolated_process.py +++ b/src/python/pants/engine/isolated_process.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/src/python/pants/engine/legacy/address_mapper.py b/src/python/pants/engine/legacy/address_mapper.py index 360509d09f3..f382ad4c814 100644 --- a/src/python/pants/engine/legacy/address_mapper.py +++ b/src/python/pants/engine/legacy/address_mapper.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/engine/legacy/graph.py b/src/python/pants/engine/legacy/graph.py index a0412b3067a..543a05eedc5 100644 --- a/src/python/pants/engine/legacy/graph.py +++ b/src/python/pants/engine/legacy/graph.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging from collections import deque diff --git a/src/python/pants/engine/legacy/options_parsing.py b/src/python/pants/engine/legacy/options_parsing.py index a96c0a18ab6..27d070e5c85 100644 --- a/src/python/pants/engine/legacy/options_parsing.py +++ b/src/python/pants/engine/legacy/options_parsing.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.build_configuration import BuildConfiguration from pants.engine.rules import RootRule, rule diff --git a/src/python/pants/engine/legacy/parser.py b/src/python/pants/engine/legacy/parser.py index 01950e3b68a..7ebd296eb54 100644 --- a/src/python/pants/engine/legacy/parser.py +++ b/src/python/pants/engine/legacy/parser.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/engine/legacy/source_mapper.py b/src/python/pants/engine/legacy/source_mapper.py index 803fbf73639..73fd6ab8221 100644 --- a/src/python/pants/engine/legacy/source_mapper.py +++ b/src/python/pants/engine/legacy/source_mapper.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/engine/legacy/structs.py b/src/python/pants/engine/legacy/structs.py index 1f7d88c0da3..df7ff95c8be 100644 --- a/src/python/pants/engine/legacy/structs.py +++ b/src/python/pants/engine/legacy/structs.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os.path diff --git a/src/python/pants/engine/legacy_engine.py b/src/python/pants/engine/legacy_engine.py index 18c3933e655..1c13953075a 100644 --- a/src/python/pants/engine/legacy_engine.py +++ b/src/python/pants/engine/legacy_engine.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractmethod diff --git a/src/python/pants/engine/mapper.py b/src/python/pants/engine/mapper.py index ac8cb878754..b97fe46f174 100644 --- a/src/python/pants/engine/mapper.py +++ b/src/python/pants/engine/mapper.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re from collections import OrderedDict diff --git a/src/python/pants/engine/native.py b/src/python/pants/engine/native.py index 16b1bda7013..ec838da8726 100644 --- a/src/python/pants/engine/native.py +++ b/src/python/pants/engine/native.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import importlib import logging diff --git a/src/python/pants/engine/nodes.py b/src/python/pants/engine/nodes.py index a374144b87d..e8a87c20612 100644 --- a/src/python/pants/engine/nodes.py +++ b/src/python/pants/engine/nodes.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/src/python/pants/engine/objects.py b/src/python/pants/engine/objects.py index 100de4bf506..29e2611c1d9 100644 --- a/src/python/pants/engine/objects.py +++ b/src/python/pants/engine/objects.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import inspect from abc import abstractmethod, abstractproperty diff --git a/src/python/pants/engine/parser.py b/src/python/pants/engine/parser.py index c0aa0643746..4ec95c2fd51 100644 --- a/src/python/pants/engine/parser.py +++ b/src/python/pants/engine/parser.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractmethod diff --git a/src/python/pants/engine/round_engine.py b/src/python/pants/engine/round_engine.py index 177606794cf..a5371c3bcce 100644 --- a/src/python/pants/engine/round_engine.py +++ b/src/python/pants/engine/round_engine.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import OrderedDict, namedtuple diff --git a/src/python/pants/engine/round_manager.py b/src/python/pants/engine/round_manager.py index 986cfc819f7..049b0195043 100644 --- a/src/python/pants/engine/round_manager.py +++ b/src/python/pants/engine/round_manager.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import defaultdict, namedtuple diff --git a/src/python/pants/engine/rules.py b/src/python/pants/engine/rules.py index 620529e5f27..cf825838480 100644 --- a/src/python/pants/engine/rules.py +++ b/src/python/pants/engine/rules.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast import inspect diff --git a/src/python/pants/engine/scheduler.py b/src/python/pants/engine/scheduler.py index 5c1b2546c6a..d85113d848d 100644 --- a/src/python/pants/engine/scheduler.py +++ b/src/python/pants/engine/scheduler.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/engine/selectors.py b/src/python/pants/engine/selectors.py index 4e2a0c170da..b03053daae4 100644 --- a/src/python/pants/engine/selectors.py +++ b/src/python/pants/engine/selectors.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast from abc import abstractproperty diff --git a/src/python/pants/engine/struct.py b/src/python/pants/engine/struct.py index 62dbb83a841..b5be8e0f9b7 100644 --- a/src/python/pants/engine/struct.py +++ b/src/python/pants/engine/struct.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractproperty from collections import MutableMapping, MutableSequence diff --git a/src/python/pants/fs/archive.py b/src/python/pants/fs/archive.py index 5c38c208dad..39929d4a194 100644 --- a/src/python/pants/fs/archive.py +++ b/src/python/pants/fs/archive.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import sys diff --git a/src/python/pants/fs/fs.py b/src/python/pants/fs/fs.py index 7bc2f0bb8dd..76631dbaed2 100644 --- a/src/python/pants/fs/fs.py +++ b/src/python/pants/fs/fs.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import hashlib import os diff --git a/src/python/pants/goal/aggregated_timings.py b/src/python/pants/goal/aggregated_timings.py index 10b093464c0..402f422fb17 100644 --- a/src/python/pants/goal/aggregated_timings.py +++ b/src/python/pants/goal/aggregated_timings.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import defaultdict diff --git a/src/python/pants/goal/artifact_cache_stats.py b/src/python/pants/goal/artifact_cache_stats.py index 77ed0452224..2ca16a32e00 100644 --- a/src/python/pants/goal/artifact_cache_stats.py +++ b/src/python/pants/goal/artifact_cache_stats.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import defaultdict, namedtuple diff --git a/src/python/pants/goal/context.py b/src/python/pants/goal/context.py index 45d11f9db87..1c84fac4d15 100644 --- a/src/python/pants/goal/context.py +++ b/src/python/pants/goal/context.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import sys diff --git a/src/python/pants/goal/error.py b/src/python/pants/goal/error.py index 0589aa3dd34..752cf55b638 100644 --- a/src/python/pants/goal/error.py +++ b/src/python/pants/goal/error.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals class GoalError(Exception): diff --git a/src/python/pants/goal/goal.py b/src/python/pants/goal/goal.py index daefc99a333..2169f3da30c 100644 --- a/src/python/pants/goal/goal.py +++ b/src/python/pants/goal/goal.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.goal.error import GoalError from pants.option.optionable import Optionable diff --git a/src/python/pants/goal/pantsd_stats.py b/src/python/pants/goal/pantsd_stats.py index 987d4d6df78..4c785ddac93 100644 --- a/src/python/pants/goal/pantsd_stats.py +++ b/src/python/pants/goal/pantsd_stats.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals class PantsDaemonStats(object): diff --git a/src/python/pants/goal/products.py b/src/python/pants/goal/products.py index bd37b63db30..9fa0229c49c 100644 --- a/src/python/pants/goal/products.py +++ b/src/python/pants/goal/products.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import defaultdict diff --git a/src/python/pants/goal/run_tracker.py b/src/python/pants/goal/run_tracker.py index 7b6038e53a4..1f815b5ce25 100644 --- a/src/python/pants/goal/run_tracker.py +++ b/src/python/pants/goal/run_tracker.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ast import json diff --git a/src/python/pants/goal/task_registrar.py b/src/python/pants/goal/task_registrar.py index e7ef88de93c..7aaec06cb8f 100644 --- a/src/python/pants/goal/task_registrar.py +++ b/src/python/pants/goal/task_registrar.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import sys import traceback diff --git a/src/python/pants/goal/workspace.py b/src/python/pants/goal/workspace.py index d3a22ad18c2..2071f5ba871 100644 --- a/src/python/pants/goal/workspace.py +++ b/src/python/pants/goal/workspace.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractmethod diff --git a/src/python/pants/help/build_dictionary_info_extracter.py b/src/python/pants/help/build_dictionary_info_extracter.py index 9419e5fe454..7c0d929cd0e 100644 --- a/src/python/pants/help/build_dictionary_info_extracter.py +++ b/src/python/pants/help/build_dictionary_info_extracter.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import inspect import re diff --git a/src/python/pants/help/help_formatter.py b/src/python/pants/help/help_formatter.py index 1231b4eddd9..63221ba0b73 100644 --- a/src/python/pants/help/help_formatter.py +++ b/src/python/pants/help/help_formatter.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import wrap diff --git a/src/python/pants/help/help_info_extracter.py b/src/python/pants/help/help_info_extracter.py index b467b1913e3..0ca682913eb 100644 --- a/src/python/pants/help/help_info_extracter.py +++ b/src/python/pants/help/help_info_extracter.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import namedtuple diff --git a/src/python/pants/help/help_printer.py b/src/python/pants/help/help_printer.py index c959cec8088..3d10d9332c9 100644 --- a/src/python/pants/help/help_printer.py +++ b/src/python/pants/help/help_printer.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import sys diff --git a/src/python/pants/help/scope_info_iterator.py b/src/python/pants/help/scope_info_iterator.py index 2bf7aeb9b60..54c88f23bc0 100644 --- a/src/python/pants/help/scope_info_iterator.py +++ b/src/python/pants/help/scope_info_iterator.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.option.arg_splitter import GLOBAL_SCOPE from pants.option.global_options import GlobalOptionsRegistrar diff --git a/src/python/pants/init/engine_initializer.py b/src/python/pants/init/engine_initializer.py index a0406f42ef5..0317a0a5266 100644 --- a/src/python/pants/init/engine_initializer.py +++ b/src/python/pants/init/engine_initializer.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/src/python/pants/init/extension_loader.py b/src/python/pants/init/extension_loader.py index 0bdfa39fd3d..5845fe08eb2 100644 --- a/src/python/pants/init/extension_loader.py +++ b/src/python/pants/init/extension_loader.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import importlib import traceback diff --git a/src/python/pants/init/global_subsystems.py b/src/python/pants/init/global_subsystems.py index 7c456070236..50cf4b684af 100644 --- a/src/python/pants/init/global_subsystems.py +++ b/src/python/pants/init/global_subsystems.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.binaries.binary_util import BinaryUtil from pants.goal.run_tracker import RunTracker diff --git a/src/python/pants/init/logging.py b/src/python/pants/init/logging.py index 9f4d9fb606f..482b0ce6ecf 100644 --- a/src/python/pants/init/logging.py +++ b/src/python/pants/init/logging.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import httplib import logging diff --git a/src/python/pants/init/options_initializer.py b/src/python/pants/init/options_initializer.py index 92917656fb5..9a759f8c52a 100644 --- a/src/python/pants/init/options_initializer.py +++ b/src/python/pants/init/options_initializer.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import sys diff --git a/src/python/pants/init/plugin_resolver.py b/src/python/pants/init/plugin_resolver.py index 2ee8ccfa32f..3c4d7b269f8 100644 --- a/src/python/pants/init/plugin_resolver.py +++ b/src/python/pants/init/plugin_resolver.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import hashlib import logging diff --git a/src/python/pants/init/repro.py b/src/python/pants/init/repro.py index f8162821a8c..c5eaaf0db66 100644 --- a/src/python/pants/init/repro.py +++ b/src/python/pants/init/repro.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/init/subprocess.py b/src/python/pants/init/subprocess.py index 5a3146aec46..5a6325bfc2c 100644 --- a/src/python/pants/init/subprocess.py +++ b/src/python/pants/init/subprocess.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.subsystem.subsystem import Subsystem diff --git a/src/python/pants/init/target_roots_calculator.py b/src/python/pants/init/target_roots_calculator.py index 989e2d66669..cabfb911f45 100644 --- a/src/python/pants/init/target_roots_calculator.py +++ b/src/python/pants/init/target_roots_calculator.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import itertools import logging diff --git a/src/python/pants/init/util.py b/src/python/pants/init/util.py index 8ba3663b268..3974cce2c37 100644 --- a/src/python/pants/init/util.py +++ b/src/python/pants/init/util.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.goal.goal import Goal from pants.init.options_initializer import BuildConfigInitializer diff --git a/src/python/pants/invalidation/build_invalidator.py b/src/python/pants/invalidation/build_invalidator.py index 7280e31a579..7a3308a91f5 100644 --- a/src/python/pants/invalidation/build_invalidator.py +++ b/src/python/pants/invalidation/build_invalidator.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import errno import hashlib diff --git a/src/python/pants/invalidation/cache_manager.py b/src/python/pants/invalidation/cache_manager.py index f53fe7910b9..20d6e3f0238 100644 --- a/src/python/pants/invalidation/cache_manager.py +++ b/src/python/pants/invalidation/cache_manager.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/src/python/pants/ivy/bootstrapper.py b/src/python/pants/ivy/bootstrapper.py index fed4c4498fb..150c9d79a91 100644 --- a/src/python/pants/ivy/bootstrapper.py +++ b/src/python/pants/ivy/bootstrapper.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import hashlib import logging diff --git a/src/python/pants/ivy/ivy.py b/src/python/pants/ivy/ivy.py index e5a4805892c..356dda8c7a3 100644 --- a/src/python/pants/ivy/ivy.py +++ b/src/python/pants/ivy/ivy.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os.path from contextlib import contextmanager diff --git a/src/python/pants/ivy/ivy_subsystem.py b/src/python/pants/ivy/ivy_subsystem.py index cbd2d216bcd..3dcc1079de6 100644 --- a/src/python/pants/ivy/ivy_subsystem.py +++ b/src/python/pants/ivy/ivy_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/src/python/pants/java/distribution/distribution.py b/src/python/pants/java/distribution/distribution.py index d2d86c935f0..61c507d7346 100644 --- a/src/python/pants/java/distribution/distribution.py +++ b/src/python/pants/java/distribution/distribution.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import itertools import logging diff --git a/src/python/pants/java/executor.py b/src/python/pants/java/executor.py index 55a7d144765..264eaafa68f 100644 --- a/src/python/pants/java/executor.py +++ b/src/python/pants/java/executor.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/java/jar/exclude.py b/src/python/pants/java/jar/exclude.py index c3837d3bca1..b618940bd91 100644 --- a/src/python/pants/java/jar/exclude.py +++ b/src/python/pants/java/jar/exclude.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals class Exclude(object): diff --git a/src/python/pants/java/jar/jar_dependency.py b/src/python/pants/java/jar/jar_dependency.py index d1da5c02adb..d8894a28b02 100644 --- a/src/python/pants/java/jar/jar_dependency.py +++ b/src/python/pants/java/jar/jar_dependency.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import urlparse diff --git a/src/python/pants/java/jar/jar_dependency_utils.py b/src/python/pants/java/jar/jar_dependency_utils.py index b3e7b3a0a1d..7d63ab482a5 100644 --- a/src/python/pants/java/jar/jar_dependency_utils.py +++ b/src/python/pants/java/jar/jar_dependency_utils.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.util.memo import memoized_property diff --git a/src/python/pants/java/jar/manifest.py b/src/python/pants/java/jar/manifest.py index 63f0bbc1bba..a958d69a577 100644 --- a/src/python/pants/java/jar/manifest.py +++ b/src/python/pants/java/jar/manifest.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from contextlib import closing diff --git a/src/python/pants/java/junit/junit_xml_parser.py b/src/python/pants/java/junit/junit_xml_parser.py index 6f23749ec8b..19d4204386f 100644 --- a/src/python/pants/java/junit/junit_xml_parser.py +++ b/src/python/pants/java/junit/junit_xml_parser.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import fnmatch import os diff --git a/src/python/pants/java/nailgun_client.py b/src/python/pants/java/nailgun_client.py index 053ae4bf3ea..2343a352b7a 100644 --- a/src/python/pants/java/nailgun_client.py +++ b/src/python/pants/java/nailgun_client.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import errno import logging diff --git a/src/python/pants/java/nailgun_executor.py b/src/python/pants/java/nailgun_executor.py index c62f84b1e37..c5ae5d63167 100644 --- a/src/python/pants/java/nailgun_executor.py +++ b/src/python/pants/java/nailgun_executor.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import hashlib import logging diff --git a/src/python/pants/java/nailgun_io.py b/src/python/pants/java/nailgun_io.py index a2a69d56372..7cf3a2ef10a 100644 --- a/src/python/pants/java/nailgun_io.py +++ b/src/python/pants/java/nailgun_io.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import io import os diff --git a/src/python/pants/java/nailgun_protocol.py b/src/python/pants/java/nailgun_protocol.py index 1d63809183c..e6124857e1e 100644 --- a/src/python/pants/java/nailgun_protocol.py +++ b/src/python/pants/java/nailgun_protocol.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import struct diff --git a/src/python/pants/java/util.py b/src/python/pants/java/util.py index 22f99e15d3b..88ef74a05a8 100644 --- a/src/python/pants/java/util.py +++ b/src/python/pants/java/util.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/net/http/fetcher.py b/src/python/pants/net/http/fetcher.py index bb1f13c47b0..fc6bb0828ae 100644 --- a/src/python/pants/net/http/fetcher.py +++ b/src/python/pants/net/http/fetcher.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import hashlib import os diff --git a/src/python/pants/option/arg_splitter.py b/src/python/pants/option/arg_splitter.py index 664246f3eca..bd2c62465a3 100644 --- a/src/python/pants/option/arg_splitter.py +++ b/src/python/pants/option/arg_splitter.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import sys diff --git a/src/python/pants/option/config.py b/src/python/pants/option/config.py index 4df2a1a34f2..0d8dba02fd8 100644 --- a/src/python/pants/option/config.py +++ b/src/python/pants/option/config.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import getpass import io diff --git a/src/python/pants/option/custom_types.py b/src/python/pants/option/custom_types.py index d22dfd18842..1c62e7d9e59 100644 --- a/src/python/pants/option/custom_types.py +++ b/src/python/pants/option/custom_types.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re diff --git a/src/python/pants/option/errors.py b/src/python/pants/option/errors.py index 6a6263385b6..23f776fcd9e 100644 --- a/src/python/pants/option/errors.py +++ b/src/python/pants/option/errors.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.option.arg_splitter import GLOBAL_SCOPE diff --git a/src/python/pants/option/global_options.py b/src/python/pants/option/global_options.py index 2c9ea77cb4c..a521c559055 100644 --- a/src/python/pants/option/global_options.py +++ b/src/python/pants/option/global_options.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import multiprocessing import os diff --git a/src/python/pants/option/option_tracker.py b/src/python/pants/option/option_tracker.py index f88b4d721e1..ed471248b79 100644 --- a/src/python/pants/option/option_tracker.py +++ b/src/python/pants/option/option_tracker.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import defaultdict, namedtuple diff --git a/src/python/pants/option/option_util.py b/src/python/pants/option/option_util.py index c7285651e55..317a37e20d3 100644 --- a/src/python/pants/option/option_util.py +++ b/src/python/pants/option/option_util.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.option.custom_types import dict_with_files_option, list_option diff --git a/src/python/pants/option/option_value_container.py b/src/python/pants/option/option_value_container.py index 1f7985e9ecd..264b89976b4 100644 --- a/src/python/pants/option/option_value_container.py +++ b/src/python/pants/option/option_value_container.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import copy diff --git a/src/python/pants/option/optionable.py b/src/python/pants/option/optionable.py index c5f5cde6fd5..e51d15bb186 100644 --- a/src/python/pants/option/optionable.py +++ b/src/python/pants/option/optionable.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re diff --git a/src/python/pants/option/options.py b/src/python/pants/option/options.py index 81e85ab16f7..fe5eda58fba 100644 --- a/src/python/pants/option/options.py +++ b/src/python/pants/option/options.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import copy import sys diff --git a/src/python/pants/option/options_bootstrapper.py b/src/python/pants/option/options_bootstrapper.py index 262634789e5..6772dd03041 100644 --- a/src/python/pants/option/options_bootstrapper.py +++ b/src/python/pants/option/options_bootstrapper.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import itertools import logging diff --git a/src/python/pants/option/options_fingerprinter.py b/src/python/pants/option/options_fingerprinter.py index 57e2b6367fe..10243b4e861 100644 --- a/src/python/pants/option/options_fingerprinter.py +++ b/src/python/pants/option/options_fingerprinter.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import json diff --git a/src/python/pants/option/parser.py b/src/python/pants/option/parser.py index 0064ded09dc..4d1a8612008 100644 --- a/src/python/pants/option/parser.py +++ b/src/python/pants/option/parser.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import copy import os diff --git a/src/python/pants/option/parser_hierarchy.py b/src/python/pants/option/parser_hierarchy.py index 09c60f14bd5..a7550a71eb2 100644 --- a/src/python/pants/option/parser_hierarchy.py +++ b/src/python/pants/option/parser_hierarchy.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re diff --git a/src/python/pants/option/ranked_value.py b/src/python/pants/option/ranked_value.py index dd1cabe0872..b30ac2be5bf 100644 --- a/src/python/pants/option/ranked_value.py +++ b/src/python/pants/option/ranked_value.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals class RankedValue(object): diff --git a/src/python/pants/option/scope.py b/src/python/pants/option/scope.py index 3440d1570b6..c0a4c6f8eb4 100644 --- a/src/python/pants/option/scope.py +++ b/src/python/pants/option/scope.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import namedtuple diff --git a/src/python/pants/pantsd/pailgun_server.py b/src/python/pants/pantsd/pailgun_server.py index 474e9526700..a9d8fc4efbf 100644 --- a/src/python/pants/pantsd/pailgun_server.py +++ b/src/python/pants/pantsd/pailgun_server.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import socket diff --git a/src/python/pants/pantsd/pants_daemon.py b/src/python/pants/pantsd/pants_daemon.py index ee12dda9fcc..c318c5ce2d8 100644 --- a/src/python/pants/pantsd/pants_daemon.py +++ b/src/python/pants/pantsd/pants_daemon.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/pantsd/process_manager.py b/src/python/pants/pantsd/process_manager.py index 4d49c6a1f6c..439b72f0f4a 100644 --- a/src/python/pants/pantsd/process_manager.py +++ b/src/python/pants/pantsd/process_manager.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/pantsd/service/fs_event_service.py b/src/python/pants/pantsd/service/fs_event_service.py index b060884d38d..6902ffd6807 100644 --- a/src/python/pants/pantsd/service/fs_event_service.py +++ b/src/python/pants/pantsd/service/fs_event_service.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/pantsd/service/pailgun_service.py b/src/python/pants/pantsd/service/pailgun_service.py index ec81fd4e492..9d2af80ac13 100644 --- a/src/python/pants/pantsd/service/pailgun_service.py +++ b/src/python/pants/pantsd/service/pailgun_service.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import select diff --git a/src/python/pants/pantsd/service/pants_service.py b/src/python/pants/pantsd/service/pants_service.py index 3a4a02fc2d9..a77d12c74ea 100644 --- a/src/python/pants/pantsd/service/pants_service.py +++ b/src/python/pants/pantsd/service/pants_service.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import threading from abc import abstractmethod diff --git a/src/python/pants/pantsd/service/scheduler_service.py b/src/python/pants/pantsd/service/scheduler_service.py index b3c14c4ba95..5247fce597b 100644 --- a/src/python/pants/pantsd/service/scheduler_service.py +++ b/src/python/pants/pantsd/service/scheduler_service.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/pantsd/service/store_gc_service.py b/src/python/pants/pantsd/service/store_gc_service.py index 32ed8597913..02c21d14086 100644 --- a/src/python/pants/pantsd/service/store_gc_service.py +++ b/src/python/pants/pantsd/service/store_gc_service.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import threading diff --git a/src/python/pants/pantsd/watchman.py b/src/python/pants/pantsd/watchman.py index 59950652f14..8cef7007782 100644 --- a/src/python/pants/pantsd/watchman.py +++ b/src/python/pants/pantsd/watchman.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import json diff --git a/src/python/pants/pantsd/watchman_client.py b/src/python/pants/pantsd/watchman_client.py index 1ccd546083d..436d0ac6b2a 100644 --- a/src/python/pants/pantsd/watchman_client.py +++ b/src/python/pants/pantsd/watchman_client.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import deque diff --git a/src/python/pants/pantsd/watchman_launcher.py b/src/python/pants/pantsd/watchman_launcher.py index e5471dd7782..7935e9006cd 100644 --- a/src/python/pants/pantsd/watchman_launcher.py +++ b/src/python/pants/pantsd/watchman_launcher.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/src/python/pants/process/lock.py b/src/python/pants/process/lock.py index 393ff7a2d82..695222b7a29 100644 --- a/src/python/pants/process/lock.py +++ b/src/python/pants/process/lock.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import errno import logging diff --git a/src/python/pants/process/xargs.py b/src/python/pants/process/xargs.py index a8554ffc533..0ade3964d2a 100644 --- a/src/python/pants/process/xargs.py +++ b/src/python/pants/process/xargs.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import errno diff --git a/src/python/pants/releases/packages.py b/src/python/pants/releases/packages.py index cf9155d02bc..1fa71ac25bd 100644 --- a/src/python/pants/releases/packages.py +++ b/src/python/pants/releases/packages.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/src/python/pants/releases/reversion.py b/src/python/pants/releases/reversion.py index 2263d059880..5724cb410ab 100644 --- a/src/python/pants/releases/reversion.py +++ b/src/python/pants/releases/reversion.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import argparse import base64 diff --git a/src/python/pants/reporting/html_reporter.py b/src/python/pants/reporting/html_reporter.py index 3d7b8846137..666859a3ca9 100644 --- a/src/python/pants/reporting/html_reporter.py +++ b/src/python/pants/reporting/html_reporter.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import cgi import os diff --git a/src/python/pants/reporting/invalidation_report.py b/src/python/pants/reporting/invalidation_report.py index 47d79d25ee5..6b6e16e8433 100644 --- a/src/python/pants/reporting/invalidation_report.py +++ b/src/python/pants/reporting/invalidation_report.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import namedtuple diff --git a/src/python/pants/reporting/linkify.py b/src/python/pants/reporting/linkify.py index 4bf0dd8eec4..9d284bfe938 100644 --- a/src/python/pants/reporting/linkify.py +++ b/src/python/pants/reporting/linkify.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/src/python/pants/reporting/plaintext_reporter.py b/src/python/pants/reporting/plaintext_reporter.py index c7392e8d141..d107f47a79e 100644 --- a/src/python/pants/reporting/plaintext_reporter.py +++ b/src/python/pants/reporting/plaintext_reporter.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import namedtuple diff --git a/src/python/pants/reporting/plaintext_reporter_base.py b/src/python/pants/reporting/plaintext_reporter_base.py index 30e8596500f..4e45dcca3a3 100644 --- a/src/python/pants/reporting/plaintext_reporter_base.py +++ b/src/python/pants/reporting/plaintext_reporter_base.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.reporting.reporter import Reporter diff --git a/src/python/pants/reporting/quiet_reporter.py b/src/python/pants/reporting/quiet_reporter.py index c41673623f1..4787f81b3f8 100644 --- a/src/python/pants/reporting/quiet_reporter.py +++ b/src/python/pants/reporting/quiet_reporter.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import sys from collections import namedtuple diff --git a/src/python/pants/reporting/report.py b/src/python/pants/reporting/report.py index aa47d9278da..3a9ead028b1 100644 --- a/src/python/pants/reporting/report.py +++ b/src/python/pants/reporting/report.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import threading import time diff --git a/src/python/pants/reporting/reporter.py b/src/python/pants/reporting/reporter.py index 747d9abab1b..9535cee59d7 100644 --- a/src/python/pants/reporting/reporter.py +++ b/src/python/pants/reporting/reporter.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import namedtuple diff --git a/src/python/pants/reporting/reporting.py b/src/python/pants/reporting/reporting.py index c4ab57f3207..790a7e29375 100644 --- a/src/python/pants/reporting/reporting.py +++ b/src/python/pants/reporting/reporting.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import sys diff --git a/src/python/pants/reporting/reporting_server.py b/src/python/pants/reporting/reporting_server.py index e49d303a928..2c6f49259bc 100644 --- a/src/python/pants/reporting/reporting_server.py +++ b/src/python/pants/reporting/reporting_server.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import BaseHTTPServer import itertools diff --git a/src/python/pants/reporting/reporting_utils.py b/src/python/pants/reporting/reporting_utils.py index 15deba9986c..c6435b81114 100644 --- a/src/python/pants/reporting/reporting_utils.py +++ b/src/python/pants/reporting/reporting_utils.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.util.strutil import pluralize diff --git a/src/python/pants/scm/git.py b/src/python/pants/scm/git.py index de98b5af197..cfd9ec277d7 100644 --- a/src/python/pants/scm/git.py +++ b/src/python/pants/scm/git.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/scm/scm.py b/src/python/pants/scm/scm.py index 53399a7ae69..82daa2bbc50 100644 --- a/src/python/pants/scm/scm.py +++ b/src/python/pants/scm/scm.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractmethod, abstractproperty diff --git a/src/python/pants/scm/subsystems/changed.py b/src/python/pants/scm/subsystems/changed.py index e3ab29977fb..59c669066b0 100644 --- a/src/python/pants/scm/subsystems/changed.py +++ b/src/python/pants/scm/subsystems/changed.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.subsystem.subsystem import Subsystem from pants.util.objects import datatype diff --git a/src/python/pants/source/filespec.py b/src/python/pants/source/filespec.py index 882d54dd0be..c36d37176a4 100644 --- a/src/python/pants/source/filespec.py +++ b/src/python/pants/source/filespec.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re diff --git a/src/python/pants/source/payload_fields.py b/src/python/pants/source/payload_fields.py index ec4bd40004f..46ff318c7b6 100644 --- a/src/python/pants/source/payload_fields.py +++ b/src/python/pants/source/payload_fields.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from hashlib import sha1 diff --git a/src/python/pants/source/source_root.py b/src/python/pants/source/source_root.py index d99193cc4d6..27b80c1b6b0 100644 --- a/src/python/pants/source/source_root.py +++ b/src/python/pants/source/source_root.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import namedtuple diff --git a/src/python/pants/source/wrapped_globs.py b/src/python/pants/source/wrapped_globs.py index 851bd3623ca..87f886971ce 100644 --- a/src/python/pants/source/wrapped_globs.py +++ b/src/python/pants/source/wrapped_globs.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from abc import abstractmethod, abstractproperty diff --git a/src/python/pants/stats/statsdb.py b/src/python/pants/stats/statsdb.py index 101d1a3c492..87e3ad73b53 100644 --- a/src/python/pants/stats/statsdb.py +++ b/src/python/pants/stats/statsdb.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import sqlite3 diff --git a/src/python/pants/subsystem/subsystem.py b/src/python/pants/subsystem/subsystem.py index 21a8206c74d..711d39e84ef 100644 --- a/src/python/pants/subsystem/subsystem.py +++ b/src/python/pants/subsystem/subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import inspect diff --git a/src/python/pants/subsystem/subsystem_client_mixin.py b/src/python/pants/subsystem/subsystem_client_mixin.py index e52583dd72e..aae49a8914a 100644 --- a/src/python/pants/subsystem/subsystem_client_mixin.py +++ b/src/python/pants/subsystem/subsystem_client_mixin.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import namedtuple diff --git a/src/python/pants/task/console_task.py b/src/python/pants/task/console_task.py index 058523ac659..ec0068f2da7 100644 --- a/src/python/pants/task/console_task.py +++ b/src/python/pants/task/console_task.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import errno import os diff --git a/src/python/pants/task/fmt_task_mixin.py b/src/python/pants/task/fmt_task_mixin.py index d3be4b82775..25c1d7a6aa3 100644 --- a/src/python/pants/task/fmt_task_mixin.py +++ b/src/python/pants/task/fmt_task_mixin.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.task.target_restriction_mixins import (HasSkipAndTransitiveGoalOptionsMixin, SkipAndTransitiveGoalOptionsRegistrar) diff --git a/src/python/pants/task/goal_options_mixin.py b/src/python/pants/task/goal_options_mixin.py index f47b1e53700..8cc15f037de 100644 --- a/src/python/pants/task/goal_options_mixin.py +++ b/src/python/pants/task/goal_options_mixin.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.option.optionable import Optionable from pants.option.scope import ScopeInfo diff --git a/src/python/pants/task/lint_task_mixin.py b/src/python/pants/task/lint_task_mixin.py index 6b3b7e702ce..549a5978be0 100644 --- a/src/python/pants/task/lint_task_mixin.py +++ b/src/python/pants/task/lint_task_mixin.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.task.target_restriction_mixins import (HasSkipAndTransitiveGoalOptionsMixin, SkipAndTransitiveGoalOptionsRegistrar) diff --git a/src/python/pants/task/mutex_task_mixin.py b/src/python/pants/task/mutex_task_mixin.py index 2bf0b766e35..e43a9c41e9a 100644 --- a/src/python/pants/task/mutex_task_mixin.py +++ b/src/python/pants/task/mutex_task_mixin.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractmethod from collections import defaultdict diff --git a/src/python/pants/task/noop_exec_task.py b/src/python/pants/task/noop_exec_task.py index 8c43ee87fe2..63bbb8c221d 100644 --- a/src/python/pants/task/noop_exec_task.py +++ b/src/python/pants/task/noop_exec_task.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.task.task import Task diff --git a/src/python/pants/task/repl_task_mixin.py b/src/python/pants/task/repl_task_mixin.py index 886b01067fa..ca431d6843f 100644 --- a/src/python/pants/task/repl_task_mixin.py +++ b/src/python/pants/task/repl_task_mixin.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractmethod diff --git a/src/python/pants/task/scm_publish_mixin.py b/src/python/pants/task/scm_publish_mixin.py index f2063c16086..c5c7092cdbe 100644 --- a/src/python/pants/task/scm_publish_mixin.py +++ b/src/python/pants/task/scm_publish_mixin.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re import traceback diff --git a/src/python/pants/task/simple_codegen_task.py b/src/python/pants/task/simple_codegen_task.py index d46eb99863d..b4f849c1cd2 100644 --- a/src/python/pants/task/simple_codegen_task.py +++ b/src/python/pants/task/simple_codegen_task.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/task/target_restriction_mixins.py b/src/python/pants/task/target_restriction_mixins.py index 1aa38903700..596b783bf67 100644 --- a/src/python/pants/task/target_restriction_mixins.py +++ b/src/python/pants/task/target_restriction_mixins.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.task.goal_options_mixin import GoalOptionsMixin, GoalOptionsRegistrar diff --git a/src/python/pants/task/task.py b/src/python/pants/task/task.py index 4775c5c4269..281cf543b55 100644 --- a/src/python/pants/task/task.py +++ b/src/python/pants/task/task.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import sys diff --git a/src/python/pants/task/testrunner_task_mixin.py b/src/python/pants/task/testrunner_task_mixin.py index cb41756937c..adba5ea8935 100644 --- a/src/python/pants/task/testrunner_task_mixin.py +++ b/src/python/pants/task/testrunner_task_mixin.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/src/python/pants/util/argutil.py b/src/python/pants/util/argutil.py index d6f667bc568..12d3be9ecc3 100644 --- a/src/python/pants/util/argutil.py +++ b/src/python/pants/util/argutil.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals def ensure_arg(args, arg, param=None): diff --git a/src/python/pants/util/collections.py b/src/python/pants/util/collections.py index 8b06666bca6..bf2a0043d27 100644 --- a/src/python/pants/util/collections.py +++ b/src/python/pants/util/collections.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from builtins import next diff --git a/src/python/pants/util/contextutil.py b/src/python/pants/util/contextutil.py index 199b653361a..9aa95100df4 100644 --- a/src/python/pants/util/contextutil.py +++ b/src/python/pants/util/contextutil.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/util/debug.py b/src/python/pants/util/debug.py index 79d06f98951..0ccc38ce529 100644 --- a/src/python/pants/util/debug.py +++ b/src/python/pants/util/debug.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import threading diff --git a/src/python/pants/util/desktop.py b/src/python/pants/util/desktop.py index e033b555146..cc60ff5469d 100644 --- a/src/python/pants/util/desktop.py +++ b/src/python/pants/util/desktop.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.util.osutil import get_os_name from pants.util.process_handler import subprocess diff --git a/src/python/pants/util/dirutil.py b/src/python/pants/util/dirutil.py index d7d497482d9..036403b9595 100644 --- a/src/python/pants/util/dirutil.py +++ b/src/python/pants/util/dirutil.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import atexit import errno diff --git a/src/python/pants/util/eval.py b/src/python/pants/util/eval.py index 1fd129ef51c..9ff98fec7fb 100644 --- a/src/python/pants/util/eval.py +++ b/src/python/pants/util/eval.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from builtins import range, str from textwrap import dedent diff --git a/src/python/pants/util/fileutil.py b/src/python/pants/util/fileutil.py index 65631842460..81df4531df2 100644 --- a/src/python/pants/util/fileutil.py +++ b/src/python/pants/util/fileutil.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import random diff --git a/src/python/pants/util/filtering.py b/src/python/pants/util/filtering.py index 787c036b84e..412061d67b5 100644 --- a/src/python/pants/util/filtering.py +++ b/src/python/pants/util/filtering.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import operator diff --git a/src/python/pants/util/memo.py b/src/python/pants/util/memo.py index ef5e12d69eb..b6ce67e34a0 100644 --- a/src/python/pants/util/memo.py +++ b/src/python/pants/util/memo.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import inspect diff --git a/src/python/pants/util/meta.py b/src/python/pants/util/meta.py index 1d2411bbd09..3a5cd0bb557 100644 --- a/src/python/pants/util/meta.py +++ b/src/python/pants/util/meta.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import ABCMeta from builtins import object diff --git a/src/python/pants/util/netrc.py b/src/python/pants/util/netrc.py index 5070fb2a094..5613b3a1b25 100644 --- a/src/python/pants/util/netrc.py +++ b/src/python/pants/util/netrc.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import collections import os diff --git a/src/python/pants/util/objects.py b/src/python/pants/util/objects.py index f4dc1df93f8..da2880f1bc2 100644 --- a/src/python/pants/util/objects.py +++ b/src/python/pants/util/objects.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import sys from abc import abstractmethod diff --git a/src/python/pants/util/osutil.py b/src/python/pants/util/osutil.py index 0181b7fee23..e0a6361c0ac 100644 --- a/src/python/pants/util/osutil.py +++ b/src/python/pants/util/osutil.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/src/python/pants/util/process_handler.py b/src/python/pants/util/process_handler.py index 9051e8713f8..421fd36abc4 100644 --- a/src/python/pants/util/process_handler.py +++ b/src/python/pants/util/process_handler.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import io import multiprocessing diff --git a/src/python/pants/util/retry.py b/src/python/pants/util/retry.py index 1bec1ff9164..e3a442bdd13 100644 --- a/src/python/pants/util/retry.py +++ b/src/python/pants/util/retry.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import time diff --git a/src/python/pants/util/rwbuf.py b/src/python/pants/util/rwbuf.py index 34a85acd03b..fd2016ba94a 100644 --- a/src/python/pants/util/rwbuf.py +++ b/src/python/pants/util/rwbuf.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import threading from builtins import bytes, object diff --git a/src/python/pants/util/s3_log_aggregator.py b/src/python/pants/util/s3_log_aggregator.py index 14323cafe72..e8bc3e5db52 100644 --- a/src/python/pants/util/s3_log_aggregator.py +++ b/src/python/pants/util/s3_log_aggregator.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import sys diff --git a/src/python/pants/util/socket.py b/src/python/pants/util/socket.py index 8cb99643129..2d8965eb851 100644 --- a/src/python/pants/util/socket.py +++ b/src/python/pants/util/socket.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import errno import io diff --git a/src/python/pants/util/strutil.py b/src/python/pants/util/strutil.py index c3c53780e76..f49a1362010 100644 --- a/src/python/pants/util/strutil.py +++ b/src/python/pants/util/strutil.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re import shlex diff --git a/src/python/pants/util/tarutil.py b/src/python/pants/util/tarutil.py index 4c906a67e0a..4708808f100 100644 --- a/src/python/pants/util/tarutil.py +++ b/src/python/pants/util/tarutil.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import tarfile from builtins import str diff --git a/src/python/pants/util/xml_parser.py b/src/python/pants/util/xml_parser.py index 10c9ab1efa0..8a8aaec51d3 100644 --- a/src/python/pants/util/xml_parser.py +++ b/src/python/pants/util/xml_parser.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from builtins import object from xml.dom.minidom import parse diff --git a/src/python/pants/version.py b/src/python/pants/version.py index ab663ae95c1..1fcde0f2169 100644 --- a/src/python/pants/version.py +++ b/src/python/pants/version.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import pkgutil diff --git a/tests/python/pants_test/backend/codegen/antlr/java/test_antlr_java_gen.py b/tests/python/pants_test/backend/codegen/antlr/java/test_antlr_java_gen.py index fbb4f32cf1e..6eef17559a5 100644 --- a/tests/python/pants_test/backend/codegen/antlr/java/test_antlr_java_gen.py +++ b/tests/python/pants_test/backend/codegen/antlr/java/test_antlr_java_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/tests/python/pants_test/backend/codegen/antlr/java/test_antlr_java_gen_integration.py b/tests/python/pants_test/backend/codegen/antlr/java/test_antlr_java_gen_integration.py index 5d14845a649..8be3ab04efc 100644 --- a/tests/python/pants_test/backend/codegen/antlr/java/test_antlr_java_gen_integration.py +++ b/tests/python/pants_test/backend/codegen/antlr/java/test_antlr_java_gen_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/backend/codegen/antlr/java/test_java_antlr_library.py b/tests/python/pants_test/backend/codegen/antlr/java/test_java_antlr_library.py index a698bdce987..7369d1ac117 100644 --- a/tests/python/pants_test/backend/codegen/antlr/java/test_java_antlr_library.py +++ b/tests/python/pants_test/backend/codegen/antlr/java/test_java_antlr_library.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/backend/codegen/antlr/python/test_antlr_py_gen.py b/tests/python/pants_test/backend/codegen/antlr/python/test_antlr_py_gen.py index 45e307b27b3..99fecb85d6c 100644 --- a/tests/python/pants_test/backend/codegen/antlr/python/test_antlr_py_gen.py +++ b/tests/python/pants_test/backend/codegen/antlr/python/test_antlr_py_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/backend/codegen/antlr/python/test_antlr_py_gen_integration.py b/tests/python/pants_test/backend/codegen/antlr/python/test_antlr_py_gen_integration.py index 55c32d4ff7a..a7f38b24405 100644 --- a/tests/python/pants_test/backend/codegen/antlr/python/test_antlr_py_gen_integration.py +++ b/tests/python/pants_test/backend/codegen/antlr/python/test_antlr_py_gen_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/backend/codegen/jaxb/test_jaxb_gen.py b/tests/python/pants_test/backend/codegen/jaxb/test_jaxb_gen.py index 8dfa469455f..e29ab14bdd0 100644 --- a/tests/python/pants_test/backend/codegen/jaxb/test_jaxb_gen.py +++ b/tests/python/pants_test/backend/codegen/jaxb/test_jaxb_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/codegen/protobuf/java/test_java_protobuf_library.py b/tests/python/pants_test/backend/codegen/protobuf/java/test_java_protobuf_library.py index dccc635a9e3..b7c63fc0c57 100644 --- a/tests/python/pants_test/backend/codegen/protobuf/java/test_java_protobuf_library.py +++ b/tests/python/pants_test/backend/codegen/protobuf/java/test_java_protobuf_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/backend/codegen/protobuf/java/test_protobuf_gen.py b/tests/python/pants_test/backend/codegen/protobuf/java/test_protobuf_gen.py index 86e616a18d3..27ed0ce8960 100644 --- a/tests/python/pants_test/backend/codegen/protobuf/java/test_protobuf_gen.py +++ b/tests/python/pants_test/backend/codegen/protobuf/java/test_protobuf_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/backend/codegen/protobuf/java/test_protobuf_integration.py b/tests/python/pants_test/backend/codegen/protobuf/java/test_protobuf_integration.py index f7fbdac8596..a84b9cb6c14 100644 --- a/tests/python/pants_test/backend/codegen/protobuf/java/test_protobuf_integration.py +++ b/tests/python/pants_test/backend/codegen/protobuf/java/test_protobuf_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/tests/python/pants_test/backend/codegen/ragel/java/test_ragel_gen.py b/tests/python/pants_test/backend/codegen/ragel/java/test_ragel_gen.py index ee2fbce3f8c..123b2d3434f 100644 --- a/tests/python/pants_test/backend/codegen/ragel/java/test_ragel_gen.py +++ b/tests/python/pants_test/backend/codegen/ragel/java/test_ragel_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent diff --git a/tests/python/pants_test/backend/codegen/thrift/java/test_apache_thrift_java_gen.py b/tests/python/pants_test/backend/codegen/thrift/java/test_apache_thrift_java_gen.py index 9e635f5f1f3..33513d4a9d8 100644 --- a/tests/python/pants_test/backend/codegen/thrift/java/test_apache_thrift_java_gen.py +++ b/tests/python/pants_test/backend/codegen/thrift/java/test_apache_thrift_java_gen.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/backend/codegen/thrift/java/test_thrift_defaults.py b/tests/python/pants_test/backend/codegen/thrift/java/test_thrift_defaults.py index e3d5f07095d..bffc2578b8f 100644 --- a/tests/python/pants_test/backend/codegen/thrift/java/test_thrift_defaults.py +++ b/tests/python/pants_test/backend/codegen/thrift/java/test_thrift_defaults.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import uuid from contextlib import contextmanager diff --git a/tests/python/pants_test/backend/codegen/thrift/python/test_apache_thrift_py_gen.py b/tests/python/pants_test/backend/codegen/thrift/python/test_apache_thrift_py_gen.py index 35eb0ac6ad8..5cb137c48e2 100644 --- a/tests/python/pants_test/backend/codegen/thrift/python/test_apache_thrift_py_gen.py +++ b/tests/python/pants_test/backend/codegen/thrift/python/test_apache_thrift_py_gen.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent diff --git a/tests/python/pants_test/backend/codegen/wire/java/test_java_wire_library.py b/tests/python/pants_test/backend/codegen/wire/java/test_java_wire_library.py index b579cf07606..f9f0afbca24 100644 --- a/tests/python/pants_test/backend/codegen/wire/java/test_java_wire_library.py +++ b/tests/python/pants_test/backend/codegen/wire/java/test_java_wire_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.codegen.wire.java.java_wire_library import JavaWireLibrary from pants.base.exceptions import TargetDefinitionException diff --git a/tests/python/pants_test/backend/codegen/wire/java/test_wire_gen.py b/tests/python/pants_test/backend/codegen/wire/java/test_wire_gen.py index e2c464aff75..49967b9f589 100644 --- a/tests/python/pants_test/backend/codegen/wire/java/test_wire_gen.py +++ b/tests/python/pants_test/backend/codegen/wire/java/test_wire_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.codegen.wire.java.java_wire_library import JavaWireLibrary from pants.backend.codegen.wire.java.register import build_file_aliases as register_codegen diff --git a/tests/python/pants_test/backend/codegen/wire/java/test_wire_integration.py b/tests/python/pants_test/backend/codegen/wire/java/test_wire_integration.py index 26f7f8d606b..6328c255f1d 100644 --- a/tests/python/pants_test/backend/codegen/wire/java/test_wire_integration.py +++ b/tests/python/pants_test/backend/codegen/wire/java/test_wire_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/tests/python/pants_test/backend/docgen/targets/test_wiki_page.py b/tests/python/pants_test/backend/docgen/targets/test_wiki_page.py index a6029a688f1..1856e4a2d13 100644 --- a/tests/python/pants_test/backend/docgen/targets/test_wiki_page.py +++ b/tests/python/pants_test/backend/docgen/targets/test_wiki_page.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/backend/docgen/tasks/test_markdown_to_html.py b/tests/python/pants_test/backend/docgen/tasks/test_markdown_to_html.py index 3d23f9134af..d1eae2071c8 100644 --- a/tests/python/pants_test/backend/docgen/tasks/test_markdown_to_html.py +++ b/tests/python/pants_test/backend/docgen/tasks/test_markdown_to_html.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/backend/docgen/tasks/test_markdown_to_html_integration.py b/tests/python/pants_test/backend/docgen/tasks/test_markdown_to_html_integration.py index c61ea025226..108800e0f93 100644 --- a/tests/python/pants_test/backend/docgen/tasks/test_markdown_to_html_integration.py +++ b/tests/python/pants_test/backend/docgen/tasks/test_markdown_to_html_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/graph_info/tasks/test_cloc.py b/tests/python/pants_test/backend/graph_info/tasks/test_cloc.py index b88484225cf..6f36866873c 100644 --- a/tests/python/pants_test/backend/graph_info/tasks/test_cloc.py +++ b/tests/python/pants_test/backend/graph_info/tasks/test_cloc.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.graph_info.tasks.cloc import CountLinesOfCode from pants.backend.jvm.targets.java_library import JavaLibrary diff --git a/tests/python/pants_test/backend/graph_info/tasks/test_cloc_integration.py b/tests/python/pants_test/backend/graph_info/tasks/test_cloc_integration.py index 2fc701fdd56..b1ad6083ea3 100644 --- a/tests/python/pants_test/backend/graph_info/tasks/test_cloc_integration.py +++ b/tests/python/pants_test/backend/graph_info/tasks/test_cloc_integration.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/backend/graph_info/tasks/test_dependees.py b/tests/python/pants_test/backend/graph_info/tasks/test_dependees.py index a60a3e6bca6..85c126483d4 100644 --- a/tests/python/pants_test/backend/graph_info/tasks/test_dependees.py +++ b/tests/python/pants_test/backend/graph_info/tasks/test_dependees.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/backend/graph_info/tasks/test_filemap.py b/tests/python/pants_test/backend/graph_info/tasks/test_filemap.py index d2d9b7ea4b2..f449dc45d67 100644 --- a/tests/python/pants_test/backend/graph_info/tasks/test_filemap.py +++ b/tests/python/pants_test/backend/graph_info/tasks/test_filemap.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent diff --git a/tests/python/pants_test/backend/graph_info/tasks/test_filter.py b/tests/python/pants_test/backend/graph_info/tasks/test_filter.py index 33ff760054d..957c6034083 100644 --- a/tests/python/pants_test/backend/graph_info/tasks/test_filter.py +++ b/tests/python/pants_test/backend/graph_info/tasks/test_filter.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/backend/graph_info/tasks/test_list_owners.py b/tests/python/pants_test/backend/graph_info/tasks/test_list_owners.py index 79fe833dd79..7a240681ee3 100644 --- a/tests/python/pants_test/backend/graph_info/tasks/test_list_owners.py +++ b/tests/python/pants_test/backend/graph_info/tasks/test_list_owners.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent diff --git a/tests/python/pants_test/backend/graph_info/tasks/test_listtargets.py b/tests/python/pants_test/backend/graph_info/tasks/test_listtargets.py index e631808ad52..35bd41b4f61 100644 --- a/tests/python/pants_test/backend/graph_info/tasks/test_listtargets.py +++ b/tests/python/pants_test/backend/graph_info/tasks/test_listtargets.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent diff --git a/tests/python/pants_test/backend/graph_info/tasks/test_minimal_cover.py b/tests/python/pants_test/backend/graph_info/tasks/test_minimal_cover.py index 389ec31be99..3cb4e5f5730 100644 --- a/tests/python/pants_test/backend/graph_info/tasks/test_minimal_cover.py +++ b/tests/python/pants_test/backend/graph_info/tasks/test_minimal_cover.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/backend/graph_info/tasks/test_paths.py b/tests/python/pants_test/backend/graph_info/tasks/test_paths.py index 24b51a80225..09e43b62c30 100644 --- a/tests/python/pants_test/backend/graph_info/tasks/test_paths.py +++ b/tests/python/pants_test/backend/graph_info/tasks/test_paths.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.graph_info.tasks.paths import Path, Paths from pants.base.exceptions import TaskError diff --git a/tests/python/pants_test/backend/graph_info/tasks/test_paths_integration.py b/tests/python/pants_test/backend/graph_info/tasks/test_paths_integration.py index 3b922d19d7e..b01464ab539 100644 --- a/tests/python/pants_test/backend/graph_info/tasks/test_paths_integration.py +++ b/tests/python/pants_test/backend/graph_info/tasks/test_paths_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/backend/graph_info/tasks/test_sorttargets.py b/tests/python/pants_test/backend/graph_info/tasks/test_sorttargets.py index 7df5f1b50b0..7c1191895cc 100644 --- a/tests/python/pants_test/backend/graph_info/tasks/test_sorttargets.py +++ b/tests/python/pants_test/backend/graph_info/tasks/test_sorttargets.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/backend/graph_info/tasks/test_target_filter_task_mixin.py b/tests/python/pants_test/backend/graph_info/tasks/test_target_filter_task_mixin.py index 8e501ea5279..e73b48f2d8c 100644 --- a/tests/python/pants_test/backend/graph_info/tasks/test_target_filter_task_mixin.py +++ b/tests/python/pants_test/backend/graph_info/tasks/test_target_filter_task_mixin.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.graph_info.tasks.target_filter_task_mixin import TargetFilterTaskMixin from pants.build_graph.build_file_aliases import BuildFileAliases, TargetMacro diff --git a/tests/python/pants_test/backend/jvm/subsystems/test_custom_scala.py b/tests/python/pants_test/backend/jvm/subsystems/test_custom_scala.py index 513de63aa18..3856437ae31 100644 --- a/tests/python/pants_test/backend/jvm/subsystems/test_custom_scala.py +++ b/tests/python/pants_test/backend/jvm/subsystems/test_custom_scala.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/backend/jvm/subsystems/test_incomplete_custom_scala.py b/tests/python/pants_test/backend/jvm/subsystems/test_incomplete_custom_scala.py index d7462c09746..537a2f7676c 100644 --- a/tests/python/pants_test/backend/jvm/subsystems/test_incomplete_custom_scala.py +++ b/tests/python/pants_test/backend/jvm/subsystems/test_incomplete_custom_scala.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import contextlib import os diff --git a/tests/python/pants_test/backend/jvm/subsystems/test_jar_dependency_management.py b/tests/python/pants_test/backend/jvm/subsystems/test_jar_dependency_management.py index 937e1962ff5..cd927023242 100644 --- a/tests/python/pants_test/backend/jvm/subsystems/test_jar_dependency_management.py +++ b/tests/python/pants_test/backend/jvm/subsystems/test_jar_dependency_management.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/backend/jvm/subsystems/test_jar_dependency_management_integration.py b/tests/python/pants_test/backend/jvm/subsystems/test_jar_dependency_management_integration.py index bbcc6e32282..f636b60e0e6 100644 --- a/tests/python/pants_test/backend/jvm/subsystems/test_jar_dependency_management_integration.py +++ b/tests/python/pants_test/backend/jvm/subsystems/test_jar_dependency_management_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import namedtuple diff --git a/tests/python/pants_test/backend/jvm/subsystems/test_shader.py b/tests/python/pants_test/backend/jvm/subsystems/test_shader.py index 4b2a9b2da93..98ba7d59bd4 100644 --- a/tests/python/pants_test/backend/jvm/subsystems/test_shader.py +++ b/tests/python/pants_test/backend/jvm/subsystems/test_shader.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import tempfile diff --git a/tests/python/pants_test/backend/jvm/subsystems/test_shader_integration.py b/tests/python/pants_test/backend/jvm/subsystems/test_shader_integration.py index e40e9344797..8af1eed9290 100644 --- a/tests/python/pants_test/backend/jvm/subsystems/test_shader_integration.py +++ b/tests/python/pants_test/backend/jvm/subsystems/test_shader_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/tests/python/pants_test/backend/jvm/targets/test_credentials.py b/tests/python/pants_test/backend/jvm/targets/test_credentials.py index eb3ac6d145c..2ad1d3671ba 100644 --- a/tests/python/pants_test/backend/jvm/targets/test_credentials.py +++ b/tests/python/pants_test/backend/jvm/targets/test_credentials.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.credentials import LiteralCredentials from pants_test.test_base import TestBase diff --git a/tests/python/pants_test/backend/jvm/targets/test_jar_dependency.py b/tests/python/pants_test/backend/jvm/targets/test_jar_dependency.py index fa3c3e02afb..b33e075ece4 100644 --- a/tests/python/pants_test/backend/jvm/targets/test_jar_dependency.py +++ b/tests/python/pants_test/backend/jvm/targets/test_jar_dependency.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/backend/jvm/targets/test_jar_dependency_integration.py b/tests/python/pants_test/backend/jvm/targets/test_jar_dependency_integration.py index 3b60d2591f5..3e628d3c62c 100644 --- a/tests/python/pants_test/backend/jvm/targets/test_jar_dependency_integration.py +++ b/tests/python/pants_test/backend/jvm/targets/test_jar_dependency_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/backend/jvm/targets/test_jar_library.py b/tests/python/pants_test/backend/jvm/targets/test_jar_library.py index f06780aaa2d..5a60d59987f 100644 --- a/tests/python/pants_test/backend/jvm/targets/test_jar_library.py +++ b/tests/python/pants_test/backend/jvm/targets/test_jar_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/backend/jvm/targets/test_junit_tests.py b/tests/python/pants_test/backend/jvm/targets/test_junit_tests.py index c7005be725a..e381c221d54 100644 --- a/tests/python/pants_test/backend/jvm/targets/test_junit_tests.py +++ b/tests/python/pants_test/backend/jvm/targets/test_junit_tests.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.junit import JUnit from pants.backend.jvm.targets.junit_tests import JUnitTests diff --git a/tests/python/pants_test/backend/jvm/targets/test_jvm_app.py b/tests/python/pants_test/backend/jvm/targets/test_jvm_app.py index 0bae614c98a..2a742d348e4 100644 --- a/tests/python/pants_test/backend/jvm/targets/test_jvm_app.py +++ b/tests/python/pants_test/backend/jvm/targets/test_jvm_app.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent diff --git a/tests/python/pants_test/backend/jvm/targets/test_jvm_binary.py b/tests/python/pants_test/backend/jvm/targets/test_jvm_binary.py index b46d63bbe69..d6dcf59aed1 100644 --- a/tests/python/pants_test/backend/jvm/targets/test_jvm_binary.py +++ b/tests/python/pants_test/backend/jvm/targets/test_jvm_binary.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/backend/jvm/targets/test_unpacked_jars.py b/tests/python/pants_test/backend/jvm/targets/test_unpacked_jars.py index e9a69a50704..6955c32202f 100644 --- a/tests/python/pants_test/backend/jvm/targets/test_unpacked_jars.py +++ b/tests/python/pants_test/backend/jvm/targets/test_unpacked_jars.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.import_jars_mixin import ImportJarsMixin from pants.backend.jvm.targets.jar_library import JarLibrary diff --git a/tests/python/pants_test/backend/jvm/tasks/coverage/test_cobertura.py b/tests/python/pants_test/backend/jvm/tasks/coverage/test_cobertura.py index acb83853241..25bdced3f48 100644 --- a/tests/python/pants_test/backend/jvm/tasks/coverage/test_cobertura.py +++ b/tests/python/pants_test/backend/jvm/tasks/coverage/test_cobertura.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import defaultdict diff --git a/tests/python/pants_test/backend/jvm/tasks/false.py b/tests/python/pants_test/backend/jvm/tasks/false.py index 083ba411fd0..88c04270efe 100755 --- a/tests/python/pants_test/backend/jvm/tasks/false.py +++ b/tests/python/pants_test/backend/jvm/tasks/false.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import sys diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_binary_task_test_base.py b/tests/python/pants_test/backend/jvm/tasks/jvm_binary_task_test_base.py index 575a2a5dbd1..2648cca213f 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_binary_task_test_base.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_binary_task_test_base.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/base_compile_integration_test.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/base_compile_integration_test.py index 4c49dc2537d..5cdd0e5dc40 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/base_compile_integration_test.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/base_compile_integration_test.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import defaultdict diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/jvm_platform_integration_mixin.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/jvm_platform_integration_mixin.py index 92036b3820b..4ad24ffcea8 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/jvm_platform_integration_mixin.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/jvm_platform_integration_mixin.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_cache_compile_integration.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_cache_compile_integration.py index a99624eed0b..09b7142dce2 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_cache_compile_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_cache_compile_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_java_compile_integration.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_java_compile_integration.py index af6f58ff6e1..c1bd7d100c5 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_java_compile_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_java_compile_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_java_compile_settings_partitioning.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_java_compile_settings_partitioning.py index 520d64bc60f..d340212affa 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_java_compile_settings_partitioning.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_java_compile_settings_partitioning.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import defaultdict from contextlib import contextmanager diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_javac_plugin_integration.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_javac_plugin_integration.py index a6c0f8274d5..7be2768a6d2 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_javac_plugin_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_javac_plugin_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from unittest import skipIf diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_zinc_compile_integration.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_zinc_compile_integration.py index 60ecdd070fe..fcac9f55681 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_zinc_compile_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_zinc_compile_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from unittest import skipIf diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_zinc_compile_jvm_platform_integration.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_zinc_compile_jvm_platform_integration.py index d5596d255ac..8985f397940 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_zinc_compile_jvm_platform_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/test_zinc_compile_jvm_platform_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.backend.jvm.tasks.jvm_compile.java.jvm_platform_integration_mixin import \ JvmPlatformIntegrationMixin diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/javac/test_javac_compile_integration.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/javac/test_javac_compile_integration.py index 2cd6d7e038b..9fc6333b273 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/javac/test_javac_compile_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/javac/test_javac_compile_integration.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/scala/test_scalac_plugin_integration.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/scala/test_scalac_plugin_integration.py index 0833c92b1ec..2d6034672a7 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/scala/test_scalac_plugin_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/scala/test_scalac_plugin_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.backend.jvm.tasks.jvm_compile.base_compile_integration_test import BaseCompileIT diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_declared_deps_integration.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_declared_deps_integration.py index dbf9eeb8aa6..d48106cdc3e 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_declared_deps_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_declared_deps_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.backend.jvm.tasks.jvm_compile.base_compile_integration_test import BaseCompileIT diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_dep_exports_integration.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_dep_exports_integration.py index 73fe73932bd..f99197ede85 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_dep_exports_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_dep_exports_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_jvm_classpath_published.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_jvm_classpath_published.py index 3a32f76bdd0..7b8d7a09f10 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_jvm_classpath_published.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_jvm_classpath_published.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_jvm_compile.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_jvm_compile.py index 131d595ce59..f87de649c68 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_jvm_compile.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_jvm_compile.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_missing_dependency_finder.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_missing_dependency_finder.py index bc20ddea901..769774459bb 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_missing_dependency_finder.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_missing_dependency_finder.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import random import unittest diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_missing_dependency_finder_integration.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_missing_dependency_finder_integration.py index 2f19ac31b50..c192758a06e 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_missing_dependency_finder_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/test_missing_dependency_finder_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/zinc/test_zinc_compile_integration.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/zinc/test_zinc_compile_integration.py index a194b10166a..51d168bcdd0 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/zinc/test_zinc_compile_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/zinc/test_zinc_compile_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.backend.jvm.tasks.jvm_compile.base_compile_integration_test import BaseCompileIT from pants_test.backend.jvm.tasks.jvm_compile.zinc.zinc_compile_integration_base import \ diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/zinc/test_zinc_compile_integration_with_zjars.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/zinc/test_zinc_compile_integration_with_zjars.py index 3e9fc96e905..2addf30cce8 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/zinc/test_zinc_compile_integration_with_zjars.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/zinc/test_zinc_compile_integration_with_zjars.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.backend.jvm.tasks.jvm_compile.base_compile_integration_test import BaseCompileIT from pants_test.backend.jvm.tasks.jvm_compile.zinc.zinc_compile_integration_base import \ diff --git a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/zinc/zinc_compile_integration_base.py b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/zinc/zinc_compile_integration_base.py index 2717aaca654..0210a60a343 100644 --- a/tests/python/pants_test/backend/jvm/tasks/jvm_compile/zinc/zinc_compile_integration_base.py +++ b/tests/python/pants_test/backend/jvm/tasks/jvm_compile/zinc/zinc_compile_integration_base.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/backend/jvm/tasks/missing_jvm_check.py b/tests/python/pants_test/backend/jvm/tasks/missing_jvm_check.py index d93151676ec..8fce342fd23 100644 --- a/tests/python/pants_test/backend/jvm/tasks/missing_jvm_check.py +++ b/tests/python/pants_test/backend/jvm/tasks/missing_jvm_check.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.java.distribution.distribution import DistributionLocator from pants_test.subsystem.subsystem_util import init_subsystem diff --git a/tests/python/pants_test/backend/jvm/tasks/reports/test_junit_html_report.py b/tests/python/pants_test/backend/jvm/tasks/reports/test_junit_html_report.py index 58088a79ece..af370edd45f 100644 --- a/tests/python/pants_test/backend/jvm/tasks/reports/test_junit_html_report.py +++ b/tests/python/pants_test/backend/jvm/tasks/reports/test_junit_html_report.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/tests/python/pants_test/backend/jvm/tasks/test_benchmark_run.py b/tests/python/pants_test/backend/jvm/tasks/test_benchmark_run.py index 7dc78236812..dc414000938 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_benchmark_run.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_benchmark_run.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.tasks.benchmark_run import BenchmarkRun from pants.base.exceptions import TaskError diff --git a/tests/python/pants_test/backend/jvm/tasks/test_benchmark_run_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_benchmark_run_integration.py index e71fc8ae246..57879ddc530 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_benchmark_run_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_benchmark_run_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/backend/jvm/tasks/test_binary_create.py b/tests/python/pants_test/backend/jvm/tasks/test_binary_create.py index 69b440fc521..d0272464d7c 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_binary_create.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_binary_create.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_binary_create_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_binary_create_integration.py index 2ab7263de2b..b4c2c5589f1 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_binary_create_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_binary_create_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_bootstrap_jvm_tools.py b/tests/python/pants_test/backend/jvm/tasks/test_bootstrap_jvm_tools.py index 72a6749a925..dbcc64c04f2 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_bootstrap_jvm_tools.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_bootstrap_jvm_tools.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/tests/python/pants_test/backend/jvm/tasks/test_bootstrap_jvm_tools_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_bootstrap_jvm_tools_integration.py index 96158f6d3d6..76231b672ca 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_bootstrap_jvm_tools_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_bootstrap_jvm_tools_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/backend/jvm/tasks/test_bundle_create.py b/tests/python/pants_test/backend/jvm/tasks/test_bundle_create.py index 42399c8110f..7cc01eefd22 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_bundle_create.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_bundle_create.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_check_published_deps.py b/tests/python/pants_test/backend/jvm/tasks/test_check_published_deps.py index 083cbf69155..0f8c156d75b 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_check_published_deps.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_check_published_deps.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent diff --git a/tests/python/pants_test/backend/jvm/tasks/test_checkstyle.py b/tests/python/pants_test/backend/jvm/tasks/test_checkstyle.py index 1440da0c882..3581850cd77 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_checkstyle.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_checkstyle.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent diff --git a/tests/python/pants_test/backend/jvm/tasks/test_checkstyle_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_checkstyle_integration.py index 45b3c8b3228..960001fa2bb 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_checkstyle_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_checkstyle_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_classmap.py b/tests/python/pants_test/backend/jvm/tasks/test_classmap.py index 6fa3bd8561b..9baf06e4b27 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_classmap.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_classmap.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from contextlib import contextmanager diff --git a/tests/python/pants_test/backend/jvm/tasks/test_classmap_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_classmap_integration.py index b36e41ab8e7..e6fd13344ce 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_classmap_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_classmap_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/backend/jvm/tasks/test_classpath_products.py b/tests/python/pants_test/backend/jvm/tasks/test_classpath_products.py index 7950a6b1fa4..07fa1a202fc 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_classpath_products.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_classpath_products.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_classpath_util.py b/tests/python/pants_test/backend/jvm/tasks/test_classpath_util.py index 2930be2b5f2..a152ea1face 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_classpath_util.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_classpath_util.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import OrderedDict diff --git a/tests/python/pants_test/backend/jvm/tasks/test_consolidate_classpath.py b/tests/python/pants_test/backend/jvm/tasks/test_consolidate_classpath.py index e3b5b6dc7c1..6da72083eba 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_consolidate_classpath.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_consolidate_classpath.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_coursier_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_coursier_integration.py index d22d545d7d0..ad7c269d94f 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_coursier_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_coursier_integration.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/backend/jvm/tasks/test_coursier_resolve.py b/tests/python/pants_test/backend/jvm/tasks/test_coursier_resolve.py index 9871d172a90..239932ecf23 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_coursier_resolve.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_coursier_resolve.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/tests/python/pants_test/backend/jvm/tasks/test_detect_duplicates.py b/tests/python/pants_test/backend/jvm/tasks/test_detect_duplicates.py index 8eac7c01e48..a0515759f1a 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_detect_duplicates.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_detect_duplicates.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_export_classpath_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_export_classpath_integration.py index 51a04343a6b..faea47ff180 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_export_classpath_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_export_classpath_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import time diff --git a/tests/python/pants_test/backend/jvm/tasks/test_intransitive_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_intransitive_integration.py index 172edb096cc..eb2331dcead 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_intransitive_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_intransitive_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/backend/jvm/tasks/test_ivy_imports.py b/tests/python/pants_test/backend/jvm/tasks/test_ivy_imports.py index fbd7e218db9..0c21ef084ab 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_ivy_imports.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_ivy_imports.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import zipfile diff --git a/tests/python/pants_test/backend/jvm/tasks/test_ivy_outdated_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_ivy_outdated_integration.py index 7b46e4cad74..fa5b7e67e2e 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_ivy_outdated_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_ivy_outdated_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent diff --git a/tests/python/pants_test/backend/jvm/tasks/test_ivy_resolve.py b/tests/python/pants_test/backend/jvm/tasks/test_ivy_resolve.py index 35d0c943e37..32812c5a588 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_ivy_resolve.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_ivy_resolve.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/tests/python/pants_test/backend/jvm/tasks/test_ivy_resolve_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_ivy_resolve_integration.py index 9658a585dd0..5b9769e6eb1 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_ivy_resolve_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_ivy_resolve_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/tests/python/pants_test/backend/jvm/tasks/test_ivy_utils.py b/tests/python/pants_test/backend/jvm/tasks/test_ivy_utils.py index ee1a1c88ab3..564851b777d 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_ivy_utils.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_ivy_utils.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_jar_create.py b/tests/python/pants_test/backend/jvm/tasks/test_jar_create.py index 768863b5917..07730ac5820 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_jar_create.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_jar_create.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import closing diff --git a/tests/python/pants_test/backend/jvm/tasks/test_jar_dependency_management_setup.py b/tests/python/pants_test/backend/jvm/tasks/test_jar_dependency_management_setup.py index a40d67cc22b..e1e3c0f0532 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_jar_dependency_management_setup.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_jar_dependency_management_setup.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.jar_dependency_management import (JarDependencyManagement, JarDependencyManagementSetup) diff --git a/tests/python/pants_test/backend/jvm/tasks/test_jar_publish.py b/tests/python/pants_test/backend/jvm/tasks/test_jar_publish.py index 41fa068b99d..f00c7fc5cba 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_jar_publish.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_jar_publish.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/backend/jvm/tasks/test_jar_publish_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_jar_publish_integration.py index 791848a1f0c..21bdd1933d0 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_jar_publish_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_jar_publish_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/tests/python/pants_test/backend/jvm/tasks/test_jar_task.py b/tests/python/pants_test/backend/jvm/tasks/test_jar_task.py index 6942b09df75..71fb444f4d6 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_jar_task.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_jar_task.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/tests/python/pants_test/backend/jvm/tasks/test_junit_run.py b/tests/python/pants_test/backend/jvm/tasks/test_junit_run.py index 0029c156794..62fc77d3910 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_junit_run.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_junit_run.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/tests/python/pants_test/backend/jvm/tasks/test_junit_run_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_junit_run_integration.py index cb040fdd153..3156bad265e 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_junit_run_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_junit_run_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import codecs import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_junit_tests_concurrency_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_junit_tests_concurrency_integration.py index 46495dfc3c5..e9966348a99 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_junit_tests_concurrency_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_junit_tests_concurrency_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/backend/jvm/tasks/test_junit_tests_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_junit_tests_integration.py index 5321d08b307..096b2fbd8a4 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_junit_tests_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_junit_tests_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_jvm_bundle_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_jvm_bundle_integration.py index 3f31a01d64d..c8913fa8696 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_jvm_bundle_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_jvm_bundle_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/backend/jvm/tasks/test_jvm_dependency_usage.py b/tests/python/pants_test/backend/jvm/tasks/test_jvm_dependency_usage.py index 1affdb7b335..b75b4e13c84 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_jvm_dependency_usage.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_jvm_dependency_usage.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_jvm_dependency_usage_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_jvm_dependency_usage_integration.py index 9526d395c0d..94daee0941c 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_jvm_dependency_usage_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_jvm_dependency_usage_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_jvm_platform_analysis.py b/tests/python/pants_test/backend/jvm/tasks/test_jvm_platform_analysis.py index cf1451e6b65..a93f96d4e03 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_jvm_platform_analysis.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_jvm_platform_analysis.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.java_library import JavaLibrary from pants.backend.jvm.tasks.jvm_platform_analysis import JvmPlatformExplain, JvmPlatformValidate diff --git a/tests/python/pants_test/backend/jvm/tasks/test_jvm_platform_analysis_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_jvm_platform_analysis_integration.py index ae5403ff1f5..73ee26638f8 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_jvm_platform_analysis_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_jvm_platform_analysis_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/tests/python/pants_test/backend/jvm/tasks/test_jvm_prep_command.py b/tests/python/pants_test/backend/jvm/tasks/test_jvm_prep_command.py index 8f09316d298..6dee92a8349 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_jvm_prep_command.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_jvm_prep_command.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.jvm_binary import JvmBinary from pants.backend.jvm.targets.jvm_prep_command import JvmPrepCommand diff --git a/tests/python/pants_test/backend/jvm/tasks/test_jvm_prep_command_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_jvm_prep_command_integration.py index 762d9c5b698..9b9138919c8 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_jvm_prep_command_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_jvm_prep_command_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_jvm_run.py b/tests/python/pants_test/backend/jvm/tasks/test_jvm_run.py index 9dfacde8d6b..33aecd40bdb 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_jvm_run.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_jvm_run.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/tests/python/pants_test/backend/jvm/tasks/test_jvm_run_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_jvm_run_integration.py index 03645af95c5..da419ead31c 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_jvm_run_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_jvm_run_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/backend/jvm/tasks/test_jvm_task.py b/tests/python/pants_test/backend/jvm/tasks/test_jvm_task.py index 4d798cc9edb..52b6feac52a 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_jvm_task.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_jvm_task.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_jvmdoc_gen.py b/tests/python/pants_test/backend/jvm/tasks/test_jvmdoc_gen.py index d07e2e49695..43788a37a36 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_jvmdoc_gen.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_jvmdoc_gen.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_prepare_resources.py b/tests/python/pants_test/backend/jvm/tasks/test_prepare_resources.py index 1d407c0b1e1..04f9dd07a79 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_prepare_resources.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_prepare_resources.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_prepare_services.py b/tests/python/pants_test/backend/jvm/tasks/test_prepare_services.py index 386cc05370c..fe7a3c65823 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_prepare_services.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_prepare_services.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_properties.py b/tests/python/pants_test/backend/jvm/tasks/test_properties.py index c0778d542c4..c98e1766844 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_properties.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_properties.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest from collections import OrderedDict diff --git a/tests/python/pants_test/backend/jvm/tasks/test_resources_task.py b/tests/python/pants_test/backend/jvm/tasks/test_resources_task.py index ae926d8fe0d..ba3e052b6b9 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_resources_task.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_resources_task.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/jvm/tasks/test_scala_repl_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_scala_repl_integration.py index ee346ac4c67..e16b301e775 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_scala_repl_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_scala_repl_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/backend/jvm/tasks/test_scalafix.py b/tests/python/pants_test/backend/jvm/tasks/test_scalafix.py index 33a96951de1..7d5b87cc485 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_scalafix.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_scalafix.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/backend/jvm/tasks/test_scalafmt.py b/tests/python/pants_test/backend/jvm/tasks/test_scalafmt.py index cab02318688..7a2126241d8 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_scalafmt.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_scalafmt.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent diff --git a/tests/python/pants_test/backend/jvm/tasks/test_scalastyle.py b/tests/python/pants_test/backend/jvm/tasks/test_scalastyle.py index 4504bc3bf7f..def435aef2b 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_scalastyle.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_scalastyle.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging from textwrap import dedent diff --git a/tests/python/pants_test/backend/jvm/tasks/test_scope_provided_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_scope_provided_integration.py index 23216f622ea..c84eb6d8ab5 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_scope_provided_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_scope_provided_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/backend/jvm/tasks/test_scope_runtime_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_scope_runtime_integration.py index cd7dc4b9d7a..c97215618d5 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_scope_runtime_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_scope_runtime_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/tests/python/pants_test/backend/jvm/tasks/test_scope_test_integration.py b/tests/python/pants_test/backend/jvm/tasks/test_scope_test_integration.py index 3024aa21d67..2f40f642b59 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_scope_test_integration.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_scope_test_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/backend/jvm/tasks/test_unpack_jars.py b/tests/python/pants_test/backend/jvm/tasks/test_unpack_jars.py index 71c63840be1..ce8c7edb57e 100644 --- a/tests/python/pants_test/backend/jvm/tasks/test_unpack_jars.py +++ b/tests/python/pants_test/backend/jvm/tasks/test_unpack_jars.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import os diff --git a/tests/python/pants_test/backend/jvm/tasks/true.py b/tests/python/pants_test/backend/jvm/tasks/true.py index 3060b60be89..73f5aa0042a 100755 --- a/tests/python/pants_test/backend/jvm/tasks/true.py +++ b/tests/python/pants_test/backend/jvm/tasks/true.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import sys diff --git a/tests/python/pants_test/backend/jvm/test_jar_dependency_utils.py b/tests/python/pants_test/backend/jvm/test_jar_dependency_utils.py index f0abb803763..38be8976924 100644 --- a/tests/python/pants_test/backend/jvm/test_jar_dependency_utils.py +++ b/tests/python/pants_test/backend/jvm/test_jar_dependency_utils.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/backend/native/subsystems/test_native_toolchain.py b/tests/python/pants_test/backend/native/subsystems/test_native_toolchain.py index d6f35acd381..c4f5b61323c 100644 --- a/tests/python/pants_test/backend/native/subsystems/test_native_toolchain.py +++ b/tests/python/pants_test/backend/native/subsystems/test_native_toolchain.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/tests/python/pants_test/backend/project_info/tasks/resolve_jars_test_mixin.py b/tests/python/pants_test/backend/project_info/tasks/resolve_jars_test_mixin.py index 0602054aefe..f8fe88919e9 100644 --- a/tests/python/pants_test/backend/project_info/tasks/resolve_jars_test_mixin.py +++ b/tests/python/pants_test/backend/project_info/tasks/resolve_jars_test_mixin.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent diff --git a/tests/python/pants_test/backend/project_info/tasks/test_dependencies.py b/tests/python/pants_test/backend/project_info/tasks/test_dependencies.py index a90f4a31fe9..9bb6616deb8 100644 --- a/tests/python/pants_test/backend/project_info/tasks/test_dependencies.py +++ b/tests/python/pants_test/backend/project_info/tasks/test_dependencies.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.jar_library import JarLibrary from pants.backend.jvm.targets.java_library import JavaLibrary diff --git a/tests/python/pants_test/backend/project_info/tasks/test_depmap.py b/tests/python/pants_test/backend/project_info/tasks/test_depmap.py index ac5d9bf7455..6376c210b80 100644 --- a/tests/python/pants_test/backend/project_info/tasks/test_depmap.py +++ b/tests/python/pants_test/backend/project_info/tasks/test_depmap.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/backend/project_info/tasks/test_export.py b/tests/python/pants_test/backend/project_info/tasks/test_export.py index a5e20167006..b4afad3ff6f 100644 --- a/tests/python/pants_test/backend/project_info/tasks/test_export.py +++ b/tests/python/pants_test/backend/project_info/tasks/test_export.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/tests/python/pants_test/backend/project_info/tasks/test_export_integration.py b/tests/python/pants_test/backend/project_info/tasks/test_export_integration.py index 10d9411d8f7..c632e142548 100644 --- a/tests/python/pants_test/backend/project_info/tasks/test_export_integration.py +++ b/tests/python/pants_test/backend/project_info/tasks/test_export_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/tests/python/pants_test/backend/project_info/tasks/test_filedeps.py b/tests/python/pants_test/backend/project_info/tasks/test_filedeps.py index 053862a5fcd..a292f3baaf3 100644 --- a/tests/python/pants_test/backend/project_info/tasks/test_filedeps.py +++ b/tests/python/pants_test/backend/project_info/tasks/test_filedeps.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent diff --git a/tests/python/pants_test/backend/project_info/tasks/test_idea_plugin_integration.py b/tests/python/pants_test/backend/project_info/tasks/test_idea_plugin_integration.py index 059eccf9a61..c7b4d84d12d 100644 --- a/tests/python/pants_test/backend/project_info/tasks/test_idea_plugin_integration.py +++ b/tests/python/pants_test/backend/project_info/tasks/test_idea_plugin_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/tests/python/pants_test/backend/python/pants_requirement_integration_test_base.py b/tests/python/pants_test/backend/python/pants_requirement_integration_test_base.py index e3d9c80aa53..018fe45f7fa 100644 --- a/tests/python/pants_test/backend/python/pants_requirement_integration_test_base.py +++ b/tests/python/pants_test/backend/python/pants_requirement_integration_test_base.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/tests/python/pants_test/backend/python/tasks/interpreter_cache_test_mixin.py b/tests/python/pants_test/backend/python/tasks/interpreter_cache_test_mixin.py index 76216d6ae86..9b1196fdf2b 100644 --- a/tests/python/pants_test/backend/python/tasks/interpreter_cache_test_mixin.py +++ b/tests/python/pants_test/backend/python/tasks/interpreter_cache_test_mixin.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from builtins import object diff --git a/tests/python/pants_test/backend/python/tasks/python_task_test_base.py b/tests/python/pants_test/backend/python/tasks/python_task_test_base.py index 46ddd3d4d5d..4199c8db622 100644 --- a/tests/python/pants_test/backend/python/tasks/python_task_test_base.py +++ b/tests/python/pants_test/backend/python/tasks/python_task_test_base.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from builtins import map diff --git a/tests/python/pants_test/backend/python/tasks/test_build_local_python_distributions.py b/tests/python/pants_test/backend/python/tasks/test_build_local_python_distributions.py index 39f06573697..3d672e0d353 100644 --- a/tests/python/pants_test/backend/python/tasks/test_build_local_python_distributions.py +++ b/tests/python/pants_test/backend/python/tasks/test_build_local_python_distributions.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from builtins import next, str from textwrap import dedent diff --git a/tests/python/pants_test/backend/python/tasks/test_ctypes_integration.py b/tests/python/pants_test/backend/python/tasks/test_ctypes_integration.py index 0e41be89761..119fabcfc88 100644 --- a/tests/python/pants_test/backend/python/tasks/test_ctypes_integration.py +++ b/tests/python/pants_test/backend/python/tasks/test_ctypes_integration.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import glob import os diff --git a/tests/python/pants_test/backend/python/tasks/test_gather_sources.py b/tests/python/pants_test/backend/python/tasks/test_gather_sources.py index 29b0f7db7b5..6f21380d49d 100644 --- a/tests/python/pants_test/backend/python/tasks/test_gather_sources.py +++ b/tests/python/pants_test/backend/python/tasks/test_gather_sources.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from builtins import str diff --git a/tests/python/pants_test/backend/python/tasks/test_pytest_run.py b/tests/python/pants_test/backend/python/tasks/test_pytest_run.py index b7e0d275f77..8b629ecf1c3 100644 --- a/tests/python/pants_test/backend/python/tasks/test_pytest_run.py +++ b/tests/python/pants_test/backend/python/tasks/test_pytest_run.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import os diff --git a/tests/python/pants_test/backend/python/tasks/test_pytest_run_integration.py b/tests/python/pants_test/backend/python/tasks/test_pytest_run_integration.py index b06f79bcaa7..ba89295d688 100644 --- a/tests/python/pants_test/backend/python/tasks/test_pytest_run_integration.py +++ b/tests/python/pants_test/backend/python/tasks/test_pytest_run_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import sys diff --git a/tests/python/pants_test/backend/python/tasks/test_python_binary_create.py b/tests/python/pants_test/backend/python/tasks/test_python_binary_create.py index bf59d8417df..c10be1c1dd0 100644 --- a/tests/python/pants_test/backend/python/tasks/test_python_binary_create.py +++ b/tests/python/pants_test/backend/python/tasks/test_python_binary_create.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent diff --git a/tests/python/pants_test/backend/python/tasks/test_python_distribution_integration.py b/tests/python/pants_test/backend/python/tasks/test_python_distribution_integration.py index 9f18394a4a5..0a8ad83f3d2 100644 --- a/tests/python/pants_test/backend/python/tasks/test_python_distribution_integration.py +++ b/tests/python/pants_test/backend/python/tasks/test_python_distribution_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import glob import os diff --git a/tests/python/pants_test/backend/python/tasks/test_python_isort.py b/tests/python/pants_test/backend/python/tasks/test_python_isort.py index 3e35ba3fd52..0ace179b5d5 100644 --- a/tests/python/pants_test/backend/python/tasks/test_python_isort.py +++ b/tests/python/pants_test/backend/python/tasks/test_python_isort.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent @@ -18,9 +17,8 @@ class PythonIsortTest(PythonTaskTestBase): BAD_IMPORT_ORDER = dedent(""" - from __future__ import (with_statement, division, absolute_import, generators, nested_scopes, print_function, - unicode_literals) - + from __future__ import division, absolute_import, unicode_literals, print_function + """) CONFIG_A = dedent(""" @@ -31,8 +29,7 @@ class PythonIsortTest(PythonTaskTestBase): """) RESULT_A = dedent(""" - from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) + from __future__ import absolute_import, division, print_function, unicode_literals """) CONFIG_B = dedent(""" @@ -43,13 +40,10 @@ class PythonIsortTest(PythonTaskTestBase): """) RESULT_B = dedent(""" - from __future__ import (absolute_import, - division, - generators, - nested_scopes, - print_function, - unicode_literals, - with_statement) + from __future__ import (absolute_import, + division, + print_function, + unicode_literals) """) @classmethod diff --git a/tests/python/pants_test/backend/python/tasks/test_python_isort_integration.py b/tests/python/pants_test/backend/python/tasks/test_python_isort_integration.py index 0acbf146929..bbe5b94a855 100644 --- a/tests/python/pants_test/backend/python/tasks/test_python_isort_integration.py +++ b/tests/python/pants_test/backend/python/tasks/test_python_isort_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.python.tasks.python_isort import IsortPythonTask from pants_test.pants_run_integration_test import PantsRunIntegrationTest, ensure_daemon diff --git a/tests/python/pants_test/backend/python/tasks/test_python_repl.py b/tests/python/pants_test/backend/python/tasks/test_python_repl.py index 3c566ce4a13..56637786d03 100644 --- a/tests/python/pants_test/backend/python/tasks/test_python_repl.py +++ b/tests/python/pants_test/backend/python/tasks/test_python_repl.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/tests/python/pants_test/backend/python/tasks/test_python_repl_integration.py b/tests/python/pants_test/backend/python/tasks/test_python_repl_integration.py index 785f790449b..4d9fd1c4536 100644 --- a/tests/python/pants_test/backend/python/tasks/test_python_repl_integration.py +++ b/tests/python/pants_test/backend/python/tasks/test_python_repl_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest, ensure_daemon diff --git a/tests/python/pants_test/backend/python/tasks/test_python_run_integration.py b/tests/python/pants_test/backend/python/tasks/test_python_run_integration.py index 0f1f9448533..6369075e322 100644 --- a/tests/python/pants_test/backend/python/tasks/test_python_run_integration.py +++ b/tests/python/pants_test/backend/python/tasks/test_python_run_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import sys diff --git a/tests/python/pants_test/backend/python/tasks/test_resolve_requirements.py b/tests/python/pants_test/backend/python/tasks/test_resolve_requirements.py index 484a49813d1..6ef577fdbf7 100644 --- a/tests/python/pants_test/backend/python/tasks/test_resolve_requirements.py +++ b/tests/python/pants_test/backend/python/tasks/test_resolve_requirements.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from builtins import str diff --git a/tests/python/pants_test/backend/python/tasks/test_select_interpreter.py b/tests/python/pants_test/backend/python/tasks/test_select_interpreter.py index cadb8c053d6..79579054f0b 100644 --- a/tests/python/pants_test/backend/python/tasks/test_select_interpreter.py +++ b/tests/python/pants_test/backend/python/tasks/test_select_interpreter.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from builtins import str diff --git a/tests/python/pants_test/backend/python/tasks/test_setup_py.py b/tests/python/pants_test/backend/python/tasks/test_setup_py.py index 9c774dc7cae..29947132a9a 100644 --- a/tests/python/pants_test/backend/python/tasks/test_setup_py.py +++ b/tests/python/pants_test/backend/python/tasks/test_setup_py.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import OrderedDict diff --git a/tests/python/pants_test/backend/python/tasks/test_setup_py_integration.py b/tests/python/pants_test/backend/python/tasks/test_setup_py_integration.py index 406c295688f..7a7faff7c26 100644 --- a/tests/python/pants_test/backend/python/tasks/test_setup_py_integration.py +++ b/tests/python/pants_test/backend/python/tasks/test_setup_py_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re import tarfile diff --git a/tests/python/pants_test/backend/python/test_interpreter_cache.py b/tests/python/pants_test/backend/python/test_interpreter_cache.py index 9935e0d25f4..1f4c01bef75 100644 --- a/tests/python/pants_test/backend/python/test_interpreter_cache.py +++ b/tests/python/pants_test/backend/python/test_interpreter_cache.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from builtins import str diff --git a/tests/python/pants_test/backend/python/test_pants_requirement.py b/tests/python/pants_test/backend/python/test_pants_requirement.py index 2b149a4229f..db6e7d78508 100644 --- a/tests/python/pants_test/backend/python/test_pants_requirement.py +++ b/tests/python/pants_test/backend/python/test_pants_requirement.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.python.python_requirement import PythonRequirement from pants.backend.python.register import build_file_aliases diff --git a/tests/python/pants_test/backend/python/test_pants_requirement_integration.py b/tests/python/pants_test/backend/python/test_pants_requirement_integration.py index c7845f56a39..2e7c3e7afca 100644 --- a/tests/python/pants_test/backend/python/test_pants_requirement_integration.py +++ b/tests/python/pants_test/backend/python/test_pants_requirement_integration.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/backend/python/test_python_requirement_list.py b/tests/python/pants_test/backend/python/test_python_requirement_list.py index cf06156e7e2..745b351e708 100644 --- a/tests/python/pants_test/backend/python/test_python_requirement_list.py +++ b/tests/python/pants_test/backend/python/test_python_requirement_list.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/base/build_file_test_base.py b/tests/python/pants_test/base/build_file_test_base.py index 749037d115f..9f029da41d6 100644 --- a/tests/python/pants_test/base/build_file_test_base.py +++ b/tests/python/pants_test/base/build_file_test_base.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/tests/python/pants_test/base/context_utils.py b/tests/python/pants_test/base/context_utils.py index 01995365067..5a3a21757a1 100644 --- a/tests/python/pants_test/base/context_utils.py +++ b/tests/python/pants_test/base/context_utils.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import sys diff --git a/tests/python/pants_test/base/pants_ignore_test_base.py b/tests/python/pants_test/base/pants_ignore_test_base.py index 574b58afab4..d499bf120fb 100644 --- a/tests/python/pants_test/base/pants_ignore_test_base.py +++ b/tests/python/pants_test/base/pants_ignore_test_base.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/base/project_tree_test_base.py b/tests/python/pants_test/base/project_tree_test_base.py index 6fcf492d5f4..b2bf4d69fe9 100644 --- a/tests/python/pants_test/base/project_tree_test_base.py +++ b/tests/python/pants_test/base/project_tree_test_base.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/tests/python/pants_test/base/test_build_environment.py b/tests/python/pants_test/base/test_build_environment.py index 97de8f58242..eb162cfa8cb 100644 --- a/tests/python/pants_test/base/test_build_environment.py +++ b/tests/python/pants_test/base/test_build_environment.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/base/test_build_root.py b/tests/python/pants_test/base/test_build_root.py index cfbd7c5bd2f..dadf6efe24f 100644 --- a/tests/python/pants_test/base/test_build_root.py +++ b/tests/python/pants_test/base/test_build_root.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/base/test_cmd_line_spec_parser.py b/tests/python/pants_test/base/test_cmd_line_spec_parser.py index b81554f0c53..4bd6ee3b56e 100644 --- a/tests/python/pants_test/base/test_cmd_line_spec_parser.py +++ b/tests/python/pants_test/base/test_cmd_line_spec_parser.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/base/test_deprecated.py b/tests/python/pants_test/base/test_deprecated.py index 337528a6105..07fcb1b601b 100644 --- a/tests/python/pants_test/base/test_deprecated.py +++ b/tests/python/pants_test/base/test_deprecated.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest import warnings diff --git a/tests/python/pants_test/base/test_exclude_target_regexp_integration.py b/tests/python/pants_test/base/test_exclude_target_regexp_integration.py index f2cdfb9eb6d..619035b2c9d 100644 --- a/tests/python/pants_test/base/test_exclude_target_regexp_integration.py +++ b/tests/python/pants_test/base/test_exclude_target_regexp_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from builtins import object, zip diff --git a/tests/python/pants_test/base/test_exiter.py b/tests/python/pants_test/base/test_exiter.py index e332e11afa0..d163930eca6 100644 --- a/tests/python/pants_test/base/test_exiter.py +++ b/tests/python/pants_test/base/test_exiter.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/base/test_exiter_integration.py b/tests/python/pants_test/base/test_exiter_integration.py index 7f0656bf264..0237bbeabc4 100644 --- a/tests/python/pants_test/base/test_exiter_integration.py +++ b/tests/python/pants_test/base/test_exiter_integration.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest, ensure_daemon diff --git a/tests/python/pants_test/base/test_filesystem_build_file.py b/tests/python/pants_test/base/test_filesystem_build_file.py index 79d20567fdd..5704c531b24 100644 --- a/tests/python/pants_test/base/test_filesystem_build_file.py +++ b/tests/python/pants_test/base/test_filesystem_build_file.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import six from twitter.common.collections import OrderedSet diff --git a/tests/python/pants_test/base/test_fingerprint_strategy.py b/tests/python/pants_test/base/test_fingerprint_strategy.py index 2a684980858..7e43ae900c9 100644 --- a/tests/python/pants_test/base/test_fingerprint_strategy.py +++ b/tests/python/pants_test/base/test_fingerprint_strategy.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.fingerprint_strategy import DefaultFingerprintStrategy from pants_test.test_base import TestBase diff --git a/tests/python/pants_test/base/test_generator.py b/tests/python/pants_test/base/test_generator.py index 8ba6e5c9d33..72beee06ecf 100644 --- a/tests/python/pants_test/base/test_generator.py +++ b/tests/python/pants_test/base/test_generator.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/base/test_hash_utils.py b/tests/python/pants_test/base/test_hash_utils.py index c5e0249244f..732397c185e 100644 --- a/tests/python/pants_test/base/test_hash_utils.py +++ b/tests/python/pants_test/base/test_hash_utils.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import hashlib import math diff --git a/tests/python/pants_test/base/test_pants_ignore_file_system.py b/tests/python/pants_test/base/test_pants_ignore_file_system.py index ad10ef47a68..f123c120cfa 100644 --- a/tests/python/pants_test/base/test_pants_ignore_file_system.py +++ b/tests/python/pants_test/base/test_pants_ignore_file_system.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/base/test_payload.py b/tests/python/pants_test/base/test_payload.py index 47bba5deb80..f2ee87bcc73 100644 --- a/tests/python/pants_test/base/test_payload.py +++ b/tests/python/pants_test/base/test_payload.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.java_library import JavaLibrary from pants.base.payload import Payload, PayloadFieldAlreadyDefinedError, PayloadFrozenError diff --git a/tests/python/pants_test/base/test_payload_field.py b/tests/python/pants_test/base/test_payload_field.py index 88fcbf7596e..d54d94cbb40 100644 --- a/tests/python/pants_test/base/test_payload_field.py +++ b/tests/python/pants_test/base/test_payload_field.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from hashlib import sha1 diff --git a/tests/python/pants_test/base/test_revision.py b/tests/python/pants_test/base/test_revision.py index f87f759c87e..a80cd26c460 100644 --- a/tests/python/pants_test/base/test_revision.py +++ b/tests/python/pants_test/base/test_revision.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/base/test_run_info.py b/tests/python/pants_test/base/test_run_info.py index 6dbcc937aaf..7a33b339a12 100644 --- a/tests/python/pants_test/base/test_run_info.py +++ b/tests/python/pants_test/base/test_run_info.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/base/test_validation.py b/tests/python/pants_test/base/test_validation.py index 527c086787d..53d12ec1878 100644 --- a/tests/python/pants_test/base/test_validation.py +++ b/tests/python/pants_test/base/test_validation.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/base/test_worker_pool.py b/tests/python/pants_test/base/test_worker_pool.py index ec003c7e5ec..bdff6fc55bd 100644 --- a/tests/python/pants_test/base/test_worker_pool.py +++ b/tests/python/pants_test/base/test_worker_pool.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import threading import unittest diff --git a/tests/python/pants_test/base_test.py b/tests/python/pants_test/base_test.py index a8fbd6bc55e..261900be000 100644 --- a/tests/python/pants_test/base_test.py +++ b/tests/python/pants_test/base_test.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import itertools import logging diff --git a/tests/python/pants_test/bin/test_loader_integration.py b/tests/python/pants_test/bin/test_loader_integration.py index 3eef3aaeda4..97fd8fd83a8 100644 --- a/tests/python/pants_test/bin/test_loader_integration.py +++ b/tests/python/pants_test/bin/test_loader_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/binaries/test_binary_tool.py b/tests/python/pants_test/binaries/test_binary_tool.py index e88eb613a9f..3661cf7c1b5 100644 --- a/tests/python/pants_test/binaries/test_binary_tool.py +++ b/tests/python/pants_test/binaries/test_binary_tool.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.binaries.binary_tool import BinaryToolBase from pants.binaries.binary_util import (BinaryToolFetcher, BinaryToolUrlGenerator, BinaryUtil, diff --git a/tests/python/pants_test/binaries/test_binary_util.py b/tests/python/pants_test/binaries/test_binary_util.py index c263a09d40c..9c86180e4fb 100644 --- a/tests/python/pants_test/binaries/test_binary_util.py +++ b/tests/python/pants_test/binaries/test_binary_util.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/tests/python/pants_test/build_graph/test_address.py b/tests/python/pants_test/build_graph/test_address.py index 0b7fdaaa2dd..950a8ff0fa7 100644 --- a/tests/python/pants_test/build_graph/test_address.py +++ b/tests/python/pants_test/build_graph/test_address.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/build_graph/test_build_configuration.py b/tests/python/pants_test/build_graph/test_build_configuration.py index 4733627199f..35aaba9ae58 100644 --- a/tests/python/pants_test/build_graph/test_build_configuration.py +++ b/tests/python/pants_test/build_graph/test_build_configuration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/build_graph/test_build_file_address_mapper.py b/tests/python/pants_test/build_graph/test_build_file_address_mapper.py index db1b0c519ab..05134a9b6a4 100644 --- a/tests/python/pants_test/build_graph/test_build_file_address_mapper.py +++ b/tests/python/pants_test/build_graph/test_build_file_address_mapper.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/tests/python/pants_test/build_graph/test_build_file_aliases.py b/tests/python/pants_test/build_graph/test_build_file_aliases.py index e95d052e982..2b9a34e626a 100644 --- a/tests/python/pants_test/build_graph/test_build_file_aliases.py +++ b/tests/python/pants_test/build_graph/test_build_file_aliases.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/build_graph/test_build_file_parser.py b/tests/python/pants_test/build_graph/test_build_file_parser.py index e258316457e..616bc39e097 100644 --- a/tests/python/pants_test/build_graph/test_build_file_parser.py +++ b/tests/python/pants_test/build_graph/test_build_file_parser.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import namedtuple diff --git a/tests/python/pants_test/build_graph/test_build_graph.py b/tests/python/pants_test/build_graph/test_build_graph.py index 6234828a330..9b2be0914a1 100644 --- a/tests/python/pants_test/build_graph/test_build_graph.py +++ b/tests/python/pants_test/build_graph/test_build_graph.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest from collections import defaultdict diff --git a/tests/python/pants_test/build_graph/test_build_graph_integration.py b/tests/python/pants_test/build_graph/test_build_graph_integration.py index 5df0064bdb9..b095b60c9b8 100644 --- a/tests/python/pants_test/build_graph/test_build_graph_integration.py +++ b/tests/python/pants_test/build_graph/test_build_graph_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/build_graph/test_files.py b/tests/python/pants_test/build_graph/test_files.py index b85f8637d21..5be7d87a19a 100644 --- a/tests/python/pants_test/build_graph/test_files.py +++ b/tests/python/pants_test/build_graph/test_files.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.files import Files from pants.source.wrapped_globs import Globs diff --git a/tests/python/pants_test/build_graph/test_intermediate_target_integration.py b/tests/python/pants_test/build_graph/test_intermediate_target_integration.py index f29dd2514aa..9faa246c913 100644 --- a/tests/python/pants_test/build_graph/test_intermediate_target_integration.py +++ b/tests/python/pants_test/build_graph/test_intermediate_target_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.intermediate_target_factory import hash_target from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/build_graph/test_scopes.py b/tests/python/pants_test/build_graph/test_scopes.py index 7e5803c154a..3e0edeabf3b 100644 --- a/tests/python/pants_test/build_graph/test_scopes.py +++ b/tests/python/pants_test/build_graph/test_scopes.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from twitter.common.collections import OrderedSet diff --git a/tests/python/pants_test/build_graph/test_source_mapper.py b/tests/python/pants_test/build_graph/test_source_mapper.py index 36ba7d314ad..5a10f4a1021 100644 --- a/tests/python/pants_test/build_graph/test_source_mapper.py +++ b/tests/python/pants_test/build_graph/test_source_mapper.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/build_graph/test_subproject_integration.py b/tests/python/pants_test/build_graph/test_subproject_integration.py index 8a7c2e1941f..a20444bdd63 100644 --- a/tests/python/pants_test/build_graph/test_subproject_integration.py +++ b/tests/python/pants_test/build_graph/test_subproject_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from contextlib import contextmanager from textwrap import dedent diff --git a/tests/python/pants_test/build_graph/test_target.py b/tests/python/pants_test/build_graph/test_target.py index 81399ce7370..db3db557220 100644 --- a/tests/python/pants_test/build_graph/test_target.py +++ b/tests/python/pants_test/build_graph/test_target.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os.path from hashlib import sha1 diff --git a/tests/python/pants_test/cache/cache_server.py b/tests/python/pants_test/cache/cache_server.py index d11322b708a..38028f8cbb6 100644 --- a/tests/python/pants_test/cache/cache_server.py +++ b/tests/python/pants_test/cache/cache_server.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/tests/python/pants_test/cache/delay_server.py b/tests/python/pants_test/cache/delay_server.py index 552e7d3eb80..9a91895a40e 100644 --- a/tests/python/pants_test/cache/delay_server.py +++ b/tests/python/pants_test/cache/delay_server.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import threading import time diff --git a/tests/python/pants_test/cache/test_artifact.py b/tests/python/pants_test/cache/test_artifact.py index 3fa63cafd2a..827dc4d6e80 100644 --- a/tests/python/pants_test/cache/test_artifact.py +++ b/tests/python/pants_test/cache/test_artifact.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/cache/test_artifact_cache.py b/tests/python/pants_test/cache/test_artifact_cache.py index 05033e45afd..573f0532cfe 100644 --- a/tests/python/pants_test/cache/test_artifact_cache.py +++ b/tests/python/pants_test/cache/test_artifact_cache.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/cache/test_cache_cleanup_integration.py b/tests/python/pants_test/cache/test_cache_cleanup_integration.py index 5e0eaee5499..b5d76c33976 100644 --- a/tests/python/pants_test/cache/test_cache_cleanup_integration.py +++ b/tests/python/pants_test/cache/test_cache_cleanup_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import glob import os diff --git a/tests/python/pants_test/cache/test_cache_setup.py b/tests/python/pants_test/cache/test_cache_setup.py index 87c270ac430..23f57f3d5ba 100644 --- a/tests/python/pants_test/cache/test_cache_setup.py +++ b/tests/python/pants_test/cache/test_cache_setup.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/cache/test_caching.py b/tests/python/pants_test/cache/test_caching.py index ec606121f4c..ac6159c9e79 100644 --- a/tests/python/pants_test/cache/test_caching.py +++ b/tests/python/pants_test/cache/test_caching.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/cache/test_caching_tarball_deference.py b/tests/python/pants_test/cache/test_caching_tarball_deference.py index 00e44f330db..d9cf275b255 100644 --- a/tests/python/pants_test/cache/test_caching_tarball_deference.py +++ b/tests/python/pants_test/cache/test_caching_tarball_deference.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/cache/test_pinger.py b/tests/python/pants_test/cache/test_pinger.py index 03d59b9fc8d..4d95ae9db62 100644 --- a/tests/python/pants_test/cache/test_pinger.py +++ b/tests/python/pants_test/cache/test_pinger.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest import urlparse diff --git a/tests/python/pants_test/cache/test_resolver.py b/tests/python/pants_test/cache/test_resolver.py index 0c2ade014bb..cbcec0e9b0f 100644 --- a/tests/python/pants_test/cache/test_resolver.py +++ b/tests/python/pants_test/cache/test_resolver.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/core_tasks/test_bash_completion.py b/tests/python/pants_test/core_tasks/test_bash_completion.py index c5533c02934..f677feb06e8 100644 --- a/tests/python/pants_test/core_tasks/test_bash_completion.py +++ b/tests/python/pants_test/core_tasks/test_bash_completion.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.core_tasks.bash_completion import BashCompletion from pants_test.task_test_base import ConsoleTaskTestBase diff --git a/tests/python/pants_test/core_tasks/test_deferred_sources_mapper_integration.py b/tests/python/pants_test/core_tasks/test_deferred_sources_mapper_integration.py index 84fbd36b71c..bb18539b53f 100644 --- a/tests/python/pants_test/core_tasks/test_deferred_sources_mapper_integration.py +++ b/tests/python/pants_test/core_tasks/test_deferred_sources_mapper_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/tests/python/pants_test/core_tasks/test_list_goals.py b/tests/python/pants_test/core_tasks/test_list_goals.py index 1384a65d833..0b9ce87998b 100644 --- a/tests/python/pants_test/core_tasks/test_list_goals.py +++ b/tests/python/pants_test/core_tasks/test_list_goals.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from unittest import expectedFailure diff --git a/tests/python/pants_test/core_tasks/test_prep_command_integration.py b/tests/python/pants_test/core_tasks/test_prep_command_integration.py index 291c3f1bc41..b457a42f460 100644 --- a/tests/python/pants_test/core_tasks/test_prep_command_integration.py +++ b/tests/python/pants_test/core_tasks/test_prep_command_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/tests/python/pants_test/core_tasks/test_roots.py b/tests/python/pants_test/core_tasks/test_roots.py index f1d7c0e1695..48618bd6cf7 100644 --- a/tests/python/pants_test/core_tasks/test_roots.py +++ b/tests/python/pants_test/core_tasks/test_roots.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/core_tasks/test_run_prep_command.py b/tests/python/pants_test/core_tasks/test_run_prep_command.py index 5e95e41b2a1..6b0213c38e3 100644 --- a/tests/python/pants_test/core_tasks/test_run_prep_command.py +++ b/tests/python/pants_test/core_tasks/test_run_prep_command.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/core_tasks/test_substitute_target_aliases_integration.py b/tests/python/pants_test/core_tasks/test_substitute_target_aliases_integration.py index d4f784d8057..e943dc032a9 100644 --- a/tests/python/pants_test/core_tasks/test_substitute_target_aliases_integration.py +++ b/tests/python/pants_test/core_tasks/test_substitute_target_aliases_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/engine/base_engine_test.py b/tests/python/pants_test/engine/base_engine_test.py index d686281b1d5..5c742c0f250 100644 --- a/tests/python/pants_test/engine/base_engine_test.py +++ b/tests/python/pants_test/engine/base_engine_test.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.goal.goal import Goal from pants.goal.task_registrar import TaskRegistrar diff --git a/tests/python/pants_test/engine/examples/parsers.py b/tests/python/pants_test/engine/examples/parsers.py index e71f4042268..d78e952739e 100644 --- a/tests/python/pants_test/engine/examples/parsers.py +++ b/tests/python/pants_test/engine/examples/parsers.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import importlib diff --git a/tests/python/pants_test/engine/examples/planners.py b/tests/python/pants_test/engine/examples/planners.py index 84b9bac746f..2cc0254442a 100644 --- a/tests/python/pants_test/engine/examples/planners.py +++ b/tests/python/pants_test/engine/examples/planners.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import re diff --git a/tests/python/pants_test/engine/examples/sources.py b/tests/python/pants_test/engine/examples/sources.py index 7c014ed5e2e..d8016cda1ad 100644 --- a/tests/python/pants_test/engine/examples/sources.py +++ b/tests/python/pants_test/engine/examples/sources.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from abc import abstractproperty diff --git a/tests/python/pants_test/engine/examples/visualizer.py b/tests/python/pants_test/engine/examples/visualizer.py index cbccdde7517..3d271f6334d 100644 --- a/tests/python/pants_test/engine/examples/visualizer.py +++ b/tests/python/pants_test/engine/examples/visualizer.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import sys diff --git a/tests/python/pants_test/engine/legacy/test_address_mapper.py b/tests/python/pants_test/engine/legacy/test_address_mapper.py index e0400c1b8c9..2e10f6933a7 100644 --- a/tests/python/pants_test/engine/legacy/test_address_mapper.py +++ b/tests/python/pants_test/engine/legacy/test_address_mapper.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/engine/legacy/test_build_ignore_integration.py b/tests/python/pants_test/engine/legacy/test_build_ignore_integration.py index e77bce91608..c8428defc9b 100644 --- a/tests/python/pants_test/engine/legacy/test_build_ignore_integration.py +++ b/tests/python/pants_test/engine/legacy/test_build_ignore_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import tempfile diff --git a/tests/python/pants_test/engine/legacy/test_bundle_integration.py b/tests/python/pants_test/engine/legacy/test_bundle_integration.py index 1a25adba6fd..517ccb49760 100644 --- a/tests/python/pants_test/engine/legacy/test_bundle_integration.py +++ b/tests/python/pants_test/engine/legacy/test_bundle_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/tests/python/pants_test/engine/legacy/test_changed_integration.py b/tests/python/pants_test/engine/legacy/test_changed_integration.py index 6d4ac722461..58194a4e958 100644 --- a/tests/python/pants_test/engine/legacy/test_changed_integration.py +++ b/tests/python/pants_test/engine/legacy/test_changed_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/tests/python/pants_test/engine/legacy/test_dependees_integration.py b/tests/python/pants_test/engine/legacy/test_dependees_integration.py index 2a2464b2e8f..06c52bbb5f4 100644 --- a/tests/python/pants_test/engine/legacy/test_dependees_integration.py +++ b/tests/python/pants_test/engine/legacy/test_dependees_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/engine/legacy/test_dependencies_integration.py b/tests/python/pants_test/engine/legacy/test_dependencies_integration.py index c851f2050c6..73b1a609934 100644 --- a/tests/python/pants_test/engine/legacy/test_dependencies_integration.py +++ b/tests/python/pants_test/engine/legacy/test_dependencies_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/engine/legacy/test_filedeps_integration.py b/tests/python/pants_test/engine/legacy/test_filedeps_integration.py index 1364c08f36b..c60196fc12b 100644 --- a/tests/python/pants_test/engine/legacy/test_filedeps_integration.py +++ b/tests/python/pants_test/engine/legacy/test_filedeps_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/engine/legacy/test_filemap_integration.py b/tests/python/pants_test/engine/legacy/test_filemap_integration.py index df04c657739..19bc4ad7adc 100644 --- a/tests/python/pants_test/engine/legacy/test_filemap_integration.py +++ b/tests/python/pants_test/engine/legacy/test_filemap_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/engine/legacy/test_graph.py b/tests/python/pants_test/engine/legacy/test_graph.py index 947af101832..3b4b4baa705 100644 --- a/tests/python/pants_test/engine/legacy/test_graph.py +++ b/tests/python/pants_test/engine/legacy/test_graph.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import os diff --git a/tests/python/pants_test/engine/legacy/test_graph_integration.py b/tests/python/pants_test/engine/legacy/test_graph_integration.py index 88f2b03d3cc..2b23527fdef 100644 --- a/tests/python/pants_test/engine/legacy/test_graph_integration.py +++ b/tests/python/pants_test/engine/legacy/test_graph_integration.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/engine/legacy/test_list_integration.py b/tests/python/pants_test/engine/legacy/test_list_integration.py index 81e8b1e7e03..8309a2a66aa 100644 --- a/tests/python/pants_test/engine/legacy/test_list_integration.py +++ b/tests/python/pants_test/engine/legacy/test_list_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/engine/legacy/test_list_owners_integration.py b/tests/python/pants_test/engine/legacy/test_list_owners_integration.py index 2c5cffbc266..66b7372cb6a 100644 --- a/tests/python/pants_test/engine/legacy/test_list_owners_integration.py +++ b/tests/python/pants_test/engine/legacy/test_list_owners_integration.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/engine/legacy/test_options_parsing.py b/tests/python/pants_test/engine/legacy/test_options_parsing.py index e7e02dc7ba7..5d1f5c85fa0 100644 --- a/tests/python/pants_test/engine/legacy/test_options_parsing.py +++ b/tests/python/pants_test/engine/legacy/test_options_parsing.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/engine/legacy/test_owners_integration.py b/tests/python/pants_test/engine/legacy/test_owners_integration.py index 7991ed19cb3..66a0b3ae81d 100644 --- a/tests/python/pants_test/engine/legacy/test_owners_integration.py +++ b/tests/python/pants_test/engine/legacy/test_owners_integration.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest, ensure_daemon diff --git a/tests/python/pants_test/engine/legacy/test_pants_engine_integration.py b/tests/python/pants_test/engine/legacy/test_pants_engine_integration.py index f5e830b500a..149f9cb4241 100644 --- a/tests/python/pants_test/engine/legacy/test_pants_engine_integration.py +++ b/tests/python/pants_test/engine/legacy/test_pants_engine_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/engine/legacy/test_parser.py b/tests/python/pants_test/engine/legacy/test_parser.py index 0b6eda2aa20..38c033a91c9 100644 --- a/tests/python/pants_test/engine/legacy/test_parser.py +++ b/tests/python/pants_test/engine/legacy/test_parser.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/engine/legacy/test_structs.py b/tests/python/pants_test/engine/legacy/test_structs.py index 186f95ced58..60f4de3903c 100644 --- a/tests/python/pants_test/engine/legacy/test_structs.py +++ b/tests/python/pants_test/engine/legacy/test_structs.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/engine/scheduler_test_base.py b/tests/python/pants_test/engine/scheduler_test_base.py index adbf47a7367..0fd80009698 100644 --- a/tests/python/pants_test/engine/scheduler_test_base.py +++ b/tests/python/pants_test/engine/scheduler_test_base.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/tests/python/pants_test/engine/test_addressable.py b/tests/python/pants_test/engine/test_addressable.py index 69df7d28d04..19fd8b7f835 100644 --- a/tests/python/pants_test/engine/test_addressable.py +++ b/tests/python/pants_test/engine/test_addressable.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.engine.addressable import (MutationError, NotSerializableError, addressable, addressable_dict, addressable_list) diff --git a/tests/python/pants_test/engine/test_build_files.py b/tests/python/pants_test/engine/test_build_files.py index a3cfa86323c..eb7eed5c4cf 100644 --- a/tests/python/pants_test/engine/test_build_files.py +++ b/tests/python/pants_test/engine/test_build_files.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/engine/test_engine.py b/tests/python/pants_test/engine/test_engine.py index b69090caae8..898b373d8cf 100644 --- a/tests/python/pants_test/engine/test_engine.py +++ b/tests/python/pants_test/engine/test_engine.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/engine/test_fs.py b/tests/python/pants_test/engine/test_fs.py index 62b2f2295d2..637d0f0c251 100644 --- a/tests/python/pants_test/engine/test_fs.py +++ b/tests/python/pants_test/engine/test_fs.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import os diff --git a/tests/python/pants_test/engine/test_graph.py b/tests/python/pants_test/engine/test_graph.py index ef7e4fa064d..c364aaa5e2b 100644 --- a/tests/python/pants_test/engine/test_graph.py +++ b/tests/python/pants_test/engine/test_graph.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import unittest diff --git a/tests/python/pants_test/engine/test_isolated_process.py b/tests/python/pants_test/engine/test_isolated_process.py index 8ad91dd30b3..f650ff5dd27 100644 --- a/tests/python/pants_test/engine/test_isolated_process.py +++ b/tests/python/pants_test/engine/test_isolated_process.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import tarfile diff --git a/tests/python/pants_test/engine/test_legacy_engine.py b/tests/python/pants_test/engine/test_legacy_engine.py index 0a9c41ba1dc..203206ce1f8 100644 --- a/tests/python/pants_test/engine/test_legacy_engine.py +++ b/tests/python/pants_test/engine/test_legacy_engine.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.exceptions import TaskError from pants.engine.legacy_engine import Engine diff --git a/tests/python/pants_test/engine/test_mapper.py b/tests/python/pants_test/engine/test_mapper.py index 2b44f7f4690..529b2bdc8df 100644 --- a/tests/python/pants_test/engine/test_mapper.py +++ b/tests/python/pants_test/engine/test_mapper.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/engine/test_parsers.py b/tests/python/pants_test/engine/test_parsers.py index 3f72f1ebf36..87dd6acd889 100644 --- a/tests/python/pants_test/engine/test_parsers.py +++ b/tests/python/pants_test/engine/test_parsers.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import unittest diff --git a/tests/python/pants_test/engine/test_round_engine.py b/tests/python/pants_test/engine/test_round_engine.py index fd58565c811..2193169459a 100644 --- a/tests/python/pants_test/engine/test_round_engine.py +++ b/tests/python/pants_test/engine/test_round_engine.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import itertools diff --git a/tests/python/pants_test/engine/test_rules.py b/tests/python/pants_test/engine/test_rules.py index 26caf98db96..49ec36ef8db 100644 --- a/tests/python/pants_test/engine/test_rules.py +++ b/tests/python/pants_test/engine/test_rules.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest from textwrap import dedent diff --git a/tests/python/pants_test/engine/test_scheduler.py b/tests/python/pants_test/engine/test_scheduler.py index 711cb099471..ac3455b35ae 100644 --- a/tests/python/pants_test/engine/test_scheduler.py +++ b/tests/python/pants_test/engine/test_scheduler.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/engine/test_scheduler_integration.py b/tests/python/pants_test/engine/test_scheduler_integration.py index 7ea1cc02910..3cae23b3db2 100644 --- a/tests/python/pants_test/engine/test_scheduler_integration.py +++ b/tests/python/pants_test/engine/test_scheduler_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/engine/test_selectors.py b/tests/python/pants_test/engine/test_selectors.py index 4f136ecdbdb..c099e85e420 100644 --- a/tests/python/pants_test/engine/test_selectors.py +++ b/tests/python/pants_test/engine/test_selectors.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/engine/test_struct.py b/tests/python/pants_test/engine/test_struct.py index 3e56b2423ac..1424aff80a0 100644 --- a/tests/python/pants_test/engine/test_struct.py +++ b/tests/python/pants_test/engine/test_struct.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/engine/util.py b/tests/python/pants_test/engine/util.py index 459e7a9bb95..86c1b4fae8f 100644 --- a/tests/python/pants_test/engine/util.py +++ b/tests/python/pants_test/engine/util.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import re diff --git a/tests/python/pants_test/fs/test_archive.py b/tests/python/pants_test/fs/test_archive.py index 388221c7b64..993904f5aaf 100644 --- a/tests/python/pants_test/fs/test_archive.py +++ b/tests/python/pants_test/fs/test_archive.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/fs/test_expand_path.py b/tests/python/pants_test/fs/test_expand_path.py index 35b3f1be091..e41965a3e9d 100644 --- a/tests/python/pants_test/fs/test_expand_path.py +++ b/tests/python/pants_test/fs/test_expand_path.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/fs/test_safe_filename.py b/tests/python/pants_test/fs/test_safe_filename.py index 8f0fb31b984..ea578f44f7a 100644 --- a/tests/python/pants_test/fs/test_safe_filename.py +++ b/tests/python/pants_test/fs/test_safe_filename.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/goal/data/register.py b/tests/python/pants_test/goal/data/register.py index f4ab24453d0..6b4d83c5477 100644 --- a/tests/python/pants_test/goal/data/register.py +++ b/tests/python/pants_test/goal/data/register.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.tasks.nailgun_task import NailgunTask from pants.base.workunit import WorkUnit diff --git a/tests/python/pants_test/goal/test_artifact_cache_stats.py b/tests/python/pants_test/goal/test_artifact_cache_stats.py index b3d72d0d503..bac041c864a 100644 --- a/tests/python/pants_test/goal/test_artifact_cache_stats.py +++ b/tests/python/pants_test/goal/test_artifact_cache_stats.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/tests/python/pants_test/goal/test_context.py b/tests/python/pants_test/goal/test_context.py index 99eb4762677..0956e6b37b6 100644 --- a/tests/python/pants_test/goal/test_context.py +++ b/tests/python/pants_test/goal/test_context.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.address import Address from pants.build_graph.target import Target diff --git a/tests/python/pants_test/goal/test_products.py b/tests/python/pants_test/goal/test_products.py index 6c25f389fdb..6cb4a50f348 100644 --- a/tests/python/pants_test/goal/test_products.py +++ b/tests/python/pants_test/goal/test_products.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from collections import defaultdict diff --git a/tests/python/pants_test/goal/test_run_tracker.py b/tests/python/pants_test/goal/test_run_tracker.py index 279ee40f134..79344bf0668 100644 --- a/tests/python/pants_test/goal/test_run_tracker.py +++ b/tests/python/pants_test/goal/test_run_tracker.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import BaseHTTPServer import json diff --git a/tests/python/pants_test/goal/test_run_tracker_integration.py b/tests/python/pants_test/goal/test_run_tracker_integration.py index 7e96afd6afa..3ee99de5c46 100644 --- a/tests/python/pants_test/goal/test_run_tracker_integration.py +++ b/tests/python/pants_test/goal/test_run_tracker_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/tests/python/pants_test/goal/test_union_products.py b/tests/python/pants_test/goal/test_union_products.py index 2ac3cf936a1..0f9b2cae400 100644 --- a/tests/python/pants_test/goal/test_union_products.py +++ b/tests/python/pants_test/goal/test_union_products.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from twitter.common.collections import OrderedSet diff --git a/tests/python/pants_test/help/test_build_dictionary_info_extracter.py b/tests/python/pants_test/help/test_build_dictionary_info_extracter.py index 54415f07712..20cb30908c0 100644 --- a/tests/python/pants_test/help/test_build_dictionary_info_extracter.py +++ b/tests/python/pants_test/help/test_build_dictionary_info_extracter.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/help/test_help_formatter.py b/tests/python/pants_test/help/test_help_formatter.py index e710ce0a35c..8e5662b1d7b 100644 --- a/tests/python/pants_test/help/test_help_formatter.py +++ b/tests/python/pants_test/help/test_help_formatter.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/help/test_help_info_extracter.py b/tests/python/pants_test/help/test_help_info_extracter.py index 68b9727741d..93cdb4df4db 100644 --- a/tests/python/pants_test/help/test_help_info_extracter.py +++ b/tests/python/pants_test/help/test_help_info_extracter.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/help/test_help_integration.py b/tests/python/pants_test/help/test_help_integration.py index fe9d7f8931a..db400b56aba 100644 --- a/tests/python/pants_test/help/test_help_integration.py +++ b/tests/python/pants_test/help/test_help_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/help/test_scope_info_iterator.py b/tests/python/pants_test/help/test_scope_info_iterator.py index e06b0097be7..307710332f4 100644 --- a/tests/python/pants_test/help/test_scope_info_iterator.py +++ b/tests/python/pants_test/help/test_scope_info_iterator.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/init/repro_mixin.py b/tests/python/pants_test/init/repro_mixin.py index 024153a343b..5d68eb13091 100644 --- a/tests/python/pants_test/init/repro_mixin.py +++ b/tests/python/pants_test/init/repro_mixin.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/init/test_extension_loader.py b/tests/python/pants_test/init/test_extension_loader.py index e9882094a9f..df5724eab25 100644 --- a/tests/python/pants_test/init/test_extension_loader.py +++ b/tests/python/pants_test/init/test_extension_loader.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import sys import types diff --git a/tests/python/pants_test/init/test_logging.py b/tests/python/pants_test/init/test_logging.py index dfc7e18f515..6b04e6a7277 100644 --- a/tests/python/pants_test/init/test_logging.py +++ b/tests/python/pants_test/init/test_logging.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import unittest diff --git a/tests/python/pants_test/init/test_options_initializer.py b/tests/python/pants_test/init/test_options_initializer.py index 903724a9b45..e6883a36274 100644 --- a/tests/python/pants_test/init/test_options_initializer.py +++ b/tests/python/pants_test/init/test_options_initializer.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/init/test_plugin_resolver.py b/tests/python/pants_test/init/test_plugin_resolver.py index 33ea5b5a581..3942c56be26 100644 --- a/tests/python/pants_test/init/test_plugin_resolver.py +++ b/tests/python/pants_test/init/test_plugin_resolver.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import time diff --git a/tests/python/pants_test/init/test_repro.py b/tests/python/pants_test/init/test_repro.py index 353fea49440..2ba109a0cd2 100644 --- a/tests/python/pants_test/init/test_repro.py +++ b/tests/python/pants_test/init/test_repro.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/init/test_repro_ignore.py b/tests/python/pants_test/init/test_repro_ignore.py index 1d3afb92f1e..cb96607d0e6 100644 --- a/tests/python/pants_test/init/test_repro_ignore.py +++ b/tests/python/pants_test/init/test_repro_ignore.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/init/test_subprocess.py b/tests/python/pants_test/init/test_subprocess.py index 8d6e51916f6..a2d1ac5bfb0 100644 --- a/tests/python/pants_test/init/test_subprocess.py +++ b/tests/python/pants_test/init/test_subprocess.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.init.subprocess import Subprocess from pants_test.subsystem.subsystem_util import global_subsystem_instance diff --git a/tests/python/pants_test/invalidation/test_build_invalidator.py b/tests/python/pants_test/invalidation/test_build_invalidator.py index cc82f55c28f..2d0840a8503 100644 --- a/tests/python/pants_test/invalidation/test_build_invalidator.py +++ b/tests/python/pants_test/invalidation/test_build_invalidator.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import tempfile import unittest diff --git a/tests/python/pants_test/invalidation/test_cache_manager.py b/tests/python/pants_test/invalidation/test_cache_manager.py index 2d7acc41cd9..83070a3fe0b 100644 --- a/tests/python/pants_test/invalidation/test_cache_manager.py +++ b/tests/python/pants_test/invalidation/test_cache_manager.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/tests/python/pants_test/invalidation/test_strict_deps_invalidation_integration.py b/tests/python/pants_test/invalidation/test_strict_deps_invalidation_integration.py index 3eabe0f356b..09a2edacfb6 100644 --- a/tests/python/pants_test/invalidation/test_strict_deps_invalidation_integration.py +++ b/tests/python/pants_test/invalidation/test_strict_deps_invalidation_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/tests/python/pants_test/ivy/test_bootstrapper.py b/tests/python/pants_test/ivy/test_bootstrapper.py index d3bada08d16..1448fa505ad 100644 --- a/tests/python/pants_test/ivy/test_bootstrapper.py +++ b/tests/python/pants_test/ivy/test_bootstrapper.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/ivy/test_ivy_subsystem.py b/tests/python/pants_test/ivy/test_ivy_subsystem.py index 6cc3c38e25a..6121c4651f4 100644 --- a/tests/python/pants_test/ivy/test_ivy_subsystem.py +++ b/tests/python/pants_test/ivy/test_ivy_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/java/distribution/test_distribution.py b/tests/python/pants_test/java/distribution/test_distribution.py index c9c25ae520f..04161af4bd4 100644 --- a/tests/python/pants_test/java/distribution/test_distribution.py +++ b/tests/python/pants_test/java/distribution/test_distribution.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import textwrap diff --git a/tests/python/pants_test/java/distribution/test_distribution_integration.py b/tests/python/pants_test/java/distribution/test_distribution_integration.py index 3fcc43c9f1c..3beb301ba28 100644 --- a/tests/python/pants_test/java/distribution/test_distribution_integration.py +++ b/tests/python/pants_test/java/distribution/test_distribution_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/tests/python/pants_test/java/jar/test_manifest.py b/tests/python/pants_test/java/jar/test_manifest.py index 33fca67b99b..1c2f8e3cd64 100644 --- a/tests/python/pants_test/java/jar/test_manifest.py +++ b/tests/python/pants_test/java/jar/test_manifest.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/java/junit/test_junit_xml_parser.py b/tests/python/pants_test/java/junit/test_junit_xml_parser.py index 0889eba6676..937c1168697 100644 --- a/tests/python/pants_test/java/junit/test_junit_xml_parser.py +++ b/tests/python/pants_test/java/junit/test_junit_xml_parser.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/java/test_executor.py b/tests/python/pants_test/java/test_executor.py index b9ef82026ca..767bcd5fdbc 100644 --- a/tests/python/pants_test/java/test_executor.py +++ b/tests/python/pants_test/java/test_executor.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import textwrap diff --git a/tests/python/pants_test/java/test_nailgun_client.py b/tests/python/pants_test/java/test_nailgun_client.py index 4e13e0c85db..b094186b721 100644 --- a/tests/python/pants_test/java/test_nailgun_client.py +++ b/tests/python/pants_test/java/test_nailgun_client.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import signal import socket diff --git a/tests/python/pants_test/java/test_nailgun_executor.py b/tests/python/pants_test/java/test_nailgun_executor.py index 811c26974f5..964a79da09e 100644 --- a/tests/python/pants_test/java/test_nailgun_executor.py +++ b/tests/python/pants_test/java/test_nailgun_executor.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import mock import psutil diff --git a/tests/python/pants_test/java/test_nailgun_integration.py b/tests/python/pants_test/java/test_nailgun_integration.py index 2d23495442a..b5ec2f4207f 100644 --- a/tests/python/pants_test/java/test_nailgun_integration.py +++ b/tests/python/pants_test/java/test_nailgun_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/java/test_nailgun_io.py b/tests/python/pants_test/java/test_nailgun_io.py index 7d7888f702b..6d955ea286d 100644 --- a/tests/python/pants_test/java/test_nailgun_io.py +++ b/tests/python/pants_test/java/test_nailgun_io.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import inspect import io diff --git a/tests/python/pants_test/java/test_nailgun_protocol.py b/tests/python/pants_test/java/test_nailgun_protocol.py index d203712534f..ef8af7484bb 100644 --- a/tests/python/pants_test/java/test_nailgun_protocol.py +++ b/tests/python/pants_test/java/test_nailgun_protocol.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import socket import unittest diff --git a/tests/python/pants_test/java/test_runjava_synthetic_classpath.py b/tests/python/pants_test/java/test_runjava_synthetic_classpath.py index c5b9eb22768..895dee4c01a 100644 --- a/tests/python/pants_test/java/test_runjava_synthetic_classpath.py +++ b/tests/python/pants_test/java/test_runjava_synthetic_classpath.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/java/test_util.py b/tests/python/pants_test/java/test_util.py index a14e840f291..3040cdbcdae 100644 --- a/tests/python/pants_test/java/test_util.py +++ b/tests/python/pants_test/java/test_util.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/jvm/jar_task_test_base.py b/tests/python/pants_test/jvm/jar_task_test_base.py index aa20e4e5188..e25726f3360 100644 --- a/tests/python/pants_test/jvm/jar_task_test_base.py +++ b/tests/python/pants_test/jvm/jar_task_test_base.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.jvm.nailgun_task_test_base import NailgunTaskTestBase diff --git a/tests/python/pants_test/jvm/jvm_task_test_base.py b/tests/python/pants_test/jvm/jvm_task_test_base.py index 4419736e902..01eaf347222 100644 --- a/tests/python/pants_test/jvm/jvm_task_test_base.py +++ b/tests/python/pants_test/jvm/jvm_task_test_base.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/jvm/jvm_tool_task_test_base.py b/tests/python/pants_test/jvm/jvm_tool_task_test_base.py index 94cde5dba2b..9a7a45be3b6 100644 --- a/tests/python/pants_test/jvm/jvm_tool_task_test_base.py +++ b/tests/python/pants_test/jvm/jvm_tool_task_test_base.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/tests/python/pants_test/jvm/nailgun_task_test_base.py b/tests/python/pants_test/jvm/nailgun_task_test_base.py index 43f2a3ea599..5579245c01d 100644 --- a/tests/python/pants_test/jvm/nailgun_task_test_base.py +++ b/tests/python/pants_test/jvm/nailgun_task_test_base.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.tasks.nailgun_task import NailgunProcessGroup from pants_test.jvm.jvm_tool_task_test_base import JvmToolTaskTestBase diff --git a/tests/python/pants_test/jvm/subsystems/test_jvm.py b/tests/python/pants_test/jvm/subsystems/test_jvm.py index c79b87d1ca6..354a6787399 100644 --- a/tests/python/pants_test/jvm/subsystems/test_jvm.py +++ b/tests/python/pants_test/jvm/subsystems/test_jvm.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.jvm import JVM from pants_test.test_base import TestBase diff --git a/tests/python/pants_test/jvm/test_artifact.py b/tests/python/pants_test/jvm/test_artifact.py index 55350c0828a..4615bfeaf9e 100644 --- a/tests/python/pants_test/jvm/test_artifact.py +++ b/tests/python/pants_test/jvm/test_artifact.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.artifact import Artifact, PublicationMetadata from pants.backend.jvm.repository import Repository diff --git a/tests/python/pants_test/jvm/test_safeargs.py b/tests/python/pants_test/jvm/test_safeargs.py index 80d8b79efed..2b82e4d0521 100644 --- a/tests/python/pants_test/jvm/test_safeargs.py +++ b/tests/python/pants_test/jvm/test_safeargs.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/logging/data/register.py b/tests/python/pants_test/logging/data/register.py index 0666ab88d46..009ff6cc210 100644 --- a/tests/python/pants_test/logging/data/register.py +++ b/tests/python/pants_test/logging/data/register.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.tasks.nailgun_task import NailgunTask from pants.base.workunit import WorkUnit, WorkUnitLabel diff --git a/tests/python/pants_test/logging/test_native_engine_logging.py b/tests/python/pants_test/logging/test_native_engine_logging.py index 0a318e6d72f..22a56147a1f 100644 --- a/tests/python/pants_test/logging/test_native_engine_logging.py +++ b/tests/python/pants_test/logging/test_native_engine_logging.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/logging/test_workunit_label.py b/tests/python/pants_test/logging/test_workunit_label.py index 0968a9cc724..1ce0c8dac0e 100644 --- a/tests/python/pants_test/logging/test_workunit_label.py +++ b/tests/python/pants_test/logging/test_workunit_label.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/net/http/test_fetcher.py b/tests/python/pants_test/net/http/test_fetcher.py index dc295935cd0..8c883a0a6f0 100644 --- a/tests/python/pants_test/net/http/test_fetcher.py +++ b/tests/python/pants_test/net/http/test_fetcher.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import BaseHTTPServer import hashlib diff --git a/tests/python/pants_test/option/test_arg_splitter.py b/tests/python/pants_test/option/test_arg_splitter.py index af0af285cb0..12b334629ab 100644 --- a/tests/python/pants_test/option/test_arg_splitter.py +++ b/tests/python/pants_test/option/test_arg_splitter.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import shlex import unittest diff --git a/tests/python/pants_test/option/test_config.py b/tests/python/pants_test/option/test_config.py index be9f60d1ba7..52a0b97bafb 100644 --- a/tests/python/pants_test/option/test_config.py +++ b/tests/python/pants_test/option/test_config.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import textwrap import unittest diff --git a/tests/python/pants_test/option/test_custom_types.py b/tests/python/pants_test/option/test_custom_types.py index 871543412a3..ce8943bf6b7 100644 --- a/tests/python/pants_test/option/test_custom_types.py +++ b/tests/python/pants_test/option/test_custom_types.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest from textwrap import dedent diff --git a/tests/python/pants_test/option/test_enclosing_scopes.py b/tests/python/pants_test/option/test_enclosing_scopes.py index e3020e3d76f..487dcdfad77 100644 --- a/tests/python/pants_test/option/test_enclosing_scopes.py +++ b/tests/python/pants_test/option/test_enclosing_scopes.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.option.arg_splitter import GLOBAL_SCOPE from pants.option.parser_hierarchy import InvalidScopeError, all_enclosing_scopes, enclosing_scope diff --git a/tests/python/pants_test/option/test_option_value_container.py b/tests/python/pants_test/option/test_option_value_container.py index 8a6e819d178..5552170f8ae 100644 --- a/tests/python/pants_test/option/test_option_value_container.py +++ b/tests/python/pants_test/option/test_option_value_container.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import copy import unittest diff --git a/tests/python/pants_test/option/test_optionable.py b/tests/python/pants_test/option/test_optionable.py index 590d2d35382..74951ea016b 100644 --- a/tests/python/pants_test/option/test_optionable.py +++ b/tests/python/pants_test/option/test_optionable.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/option/test_options.py b/tests/python/pants_test/option/test_options.py index 9e6c8f9450c..d146e63d7a3 100644 --- a/tests/python/pants_test/option/test_options.py +++ b/tests/python/pants_test/option/test_options.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import io import os diff --git a/tests/python/pants_test/option/test_options_bootstrapper.py b/tests/python/pants_test/option/test_options_bootstrapper.py index de40f20f1b6..3b33fa9cb50 100644 --- a/tests/python/pants_test/option/test_options_bootstrapper.py +++ b/tests/python/pants_test/option/test_options_bootstrapper.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/option/test_options_fingerprinter.py b/tests/python/pants_test/option/test_options_fingerprinter.py index 747866b36a1..9894cc65fb5 100644 --- a/tests/python/pants_test/option/test_options_fingerprinter.py +++ b/tests/python/pants_test/option/test_options_fingerprinter.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/option/test_options_integration.py b/tests/python/pants_test/option/test_options_integration.py index 50be569f099..e143aa947ff 100644 --- a/tests/python/pants_test/option/test_options_integration.py +++ b/tests/python/pants_test/option/test_options_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/tests/python/pants_test/option/test_quiet_option_integration.py b/tests/python/pants_test/option/test_quiet_option_integration.py index 0cd56ce7195..147c0263c57 100644 --- a/tests/python/pants_test/option/test_quiet_option_integration.py +++ b/tests/python/pants_test/option/test_quiet_option_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json diff --git a/tests/python/pants_test/option/util/fakes.py b/tests/python/pants_test/option/util/fakes.py index 35a7ba6d673..a9a25520e77 100644 --- a/tests/python/pants_test/option/util/fakes.py +++ b/tests/python/pants_test/option/util/fakes.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import defaultdict diff --git a/tests/python/pants_test/pants_run_integration_test.py b/tests/python/pants_test/pants_run_integration_test.py index c9a3556e22b..f406aeedc55 100644 --- a/tests/python/pants_test/pants_run_integration_test.py +++ b/tests/python/pants_test/pants_run_integration_test.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import ConfigParser import glob diff --git a/tests/python/pants_test/pantsd/service/test_fs_event_service.py b/tests/python/pants_test/pantsd/service/test_fs_event_service.py index 8c7baf0549a..c7b951310c2 100644 --- a/tests/python/pants_test/pantsd/service/test_fs_event_service.py +++ b/tests/python/pants_test/pantsd/service/test_fs_event_service.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from collections import namedtuple from contextlib import contextmanager diff --git a/tests/python/pants_test/pantsd/service/test_pailgun_service.py b/tests/python/pants_test/pantsd/service/test_pailgun_service.py index 7e5363bc6d7..db0467712ee 100644 --- a/tests/python/pants_test/pantsd/service/test_pailgun_service.py +++ b/tests/python/pants_test/pantsd/service/test_pailgun_service.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/pantsd/service/test_pants_service.py b/tests/python/pants_test/pantsd/service/test_pants_service.py index 920ce014164..7c36036b302 100644 --- a/tests/python/pants_test/pantsd/service/test_pants_service.py +++ b/tests/python/pants_test/pantsd/service/test_pants_service.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.pantsd.service.pants_service import PantsService from pants_test.test_base import TestBase diff --git a/tests/python/pants_test/pantsd/test_pailgun_server.py b/tests/python/pants_test/pantsd/test_pailgun_server.py index b4971c3cd6e..949ab3a8768 100644 --- a/tests/python/pants_test/pantsd/test_pailgun_server.py +++ b/tests/python/pants_test/pantsd/test_pailgun_server.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import socket import threading diff --git a/tests/python/pants_test/pantsd/test_pants_daemon.py b/tests/python/pants_test/pantsd/test_pants_daemon.py index 5cc0717145e..f47330af9bb 100644 --- a/tests/python/pants_test/pantsd/test_pants_daemon.py +++ b/tests/python/pants_test/pantsd/test_pants_daemon.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging import sys diff --git a/tests/python/pants_test/pantsd/test_pantsd_integration.py b/tests/python/pants_test/pantsd/test_pantsd_integration.py index ed1f1763639..ba9bc5655c4 100644 --- a/tests/python/pants_test/pantsd/test_pantsd_integration.py +++ b/tests/python/pants_test/pantsd/test_pantsd_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import itertools diff --git a/tests/python/pants_test/pantsd/test_process_manager.py b/tests/python/pants_test/pantsd/test_process_manager.py index 0dddf893efd..e9c5b831fd6 100644 --- a/tests/python/pants_test/pantsd/test_process_manager.py +++ b/tests/python/pants_test/pantsd/test_process_manager.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import errno import logging diff --git a/tests/python/pants_test/pantsd/test_watchman.py b/tests/python/pants_test/pantsd/test_watchman.py index b5c1b46d3f5..bac099be8d7 100644 --- a/tests/python/pants_test/pantsd/test_watchman.py +++ b/tests/python/pants_test/pantsd/test_watchman.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import json import os diff --git a/tests/python/pants_test/pantsd/test_watchman_client.py b/tests/python/pants_test/pantsd/test_watchman_client.py index e50f71615cc..318cf678635 100644 --- a/tests/python/pants_test/pantsd/test_watchman_client.py +++ b/tests/python/pants_test/pantsd/test_watchman_client.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from contextlib import contextmanager diff --git a/tests/python/pants_test/pantsd/test_watchman_launcher.py b/tests/python/pants_test/pantsd/test_watchman_launcher.py index a8a328b077e..6a04e0296be 100644 --- a/tests/python/pants_test/pantsd/test_watchman_launcher.py +++ b/tests/python/pants_test/pantsd/test_watchman_launcher.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import mock diff --git a/tests/python/pants_test/process/test_lock.py b/tests/python/pants_test/process/test_lock.py index 7ad46f39f21..e3b10fa5bcb 100644 --- a/tests/python/pants_test/process/test_lock.py +++ b/tests/python/pants_test/process/test_lock.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/tests/python/pants_test/process/test_xargs.py b/tests/python/pants_test/process/test_xargs.py index 609f36e01bf..9108c9b7a9a 100644 --- a/tests/python/pants_test/process/test_xargs.py +++ b/tests/python/pants_test/process/test_xargs.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import errno import os diff --git a/tests/python/pants_test/projects/base_project_integration_test.py b/tests/python/pants_test/projects/base_project_integration_test.py index 0e84d24fa9e..f1d012685ed 100644 --- a/tests/python/pants_test/projects/base_project_integration_test.py +++ b/tests/python/pants_test/projects/base_project_integration_test.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/projects/test_testprojects_integration.py b/tests/python/pants_test/projects/test_testprojects_integration.py index b0a94174feb..c9e5f84b62e 100644 --- a/tests/python/pants_test/projects/test_testprojects_integration.py +++ b/tests/python/pants_test/projects/test_testprojects_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import math diff --git a/tests/python/pants_test/python/test_interpreter_selection_integration.py b/tests/python/pants_test/python/test_interpreter_selection_integration.py index 738dee0e688..b6de67d88b5 100644 --- a/tests/python/pants_test/python/test_interpreter_selection_integration.py +++ b/tests/python/pants_test/python/test_interpreter_selection_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/python/test_python_binary_integration.py b/tests/python/pants_test/python/test_python_binary_integration.py index 8ea6d23c8b3..f076339050a 100644 --- a/tests/python/pants_test/python/test_python_binary_integration.py +++ b/tests/python/pants_test/python/test_python_binary_integration.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools import os diff --git a/tests/python/pants_test/releases/test_reversion.py b/tests/python/pants_test/releases/test_reversion.py index 586b55f7c43..3aadcbbcfb7 100644 --- a/tests/python/pants_test/releases/test_reversion.py +++ b/tests/python/pants_test/releases/test_reversion.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/tests/python/pants_test/reporting/test_linkify.py b/tests/python/pants_test/reporting/test_linkify.py index 8b8c6b6f3b7..0bf9ed32ae6 100644 --- a/tests/python/pants_test/reporting/test_linkify.py +++ b/tests/python/pants_test/reporting/test_linkify.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import shutil diff --git a/tests/python/pants_test/reporting/test_reporting_integration.py b/tests/python/pants_test/reporting/test_reporting_integration.py index 99e18ab87e1..8cd62baa8f4 100644 --- a/tests/python/pants_test/reporting/test_reporting_integration.py +++ b/tests/python/pants_test/reporting/test_reporting_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os.path import re diff --git a/tests/python/pants_test/scm/test_git.py b/tests/python/pants_test/scm/test_git.py index bd8b13606a3..e8d39345e5c 100644 --- a/tests/python/pants_test/scm/test_git.py +++ b/tests/python/pants_test/scm/test_git.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/source/test_filespec.py b/tests/python/pants_test/source/test_filespec.py index ff35f2d29d3..4d9b0e2357d 100644 --- a/tests/python/pants_test/source/test_filespec.py +++ b/tests/python/pants_test/source/test_filespec.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re import unittest diff --git a/tests/python/pants_test/source/test_payload_fields.py b/tests/python/pants_test/source/test_payload_fields.py index 0e66a998c40..e4631058c16 100644 --- a/tests/python/pants_test/source/test_payload_fields.py +++ b/tests/python/pants_test/source/test_payload_fields.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.base.project_tree import File from pants.engine.fs import DirectoryDigest, Path, Snapshot diff --git a/tests/python/pants_test/source/test_source_root.py b/tests/python/pants_test/source/test_source_root.py index b0a96a8fb35..6a00ca69912 100644 --- a/tests/python/pants_test/source/test_source_root.py +++ b/tests/python/pants_test/source/test_source_root.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.source.source_root import (SourceRoot, SourceRootCategories, SourceRootConfig, SourceRootFactory, SourceRootTrie) diff --git a/tests/python/pants_test/source/test_wrapped_globs.py b/tests/python/pants_test/source/test_wrapped_globs.py index a6edde54564..5d930a99724 100644 --- a/tests/python/pants_test/source/test_wrapped_globs.py +++ b/tests/python/pants_test/source/test_wrapped_globs.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/stats/test_statsdb.py b/tests/python/pants_test/stats/test_statsdb.py index d571452f959..9877a782013 100644 --- a/tests/python/pants_test/stats/test_statsdb.py +++ b/tests/python/pants_test/stats/test_statsdb.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import unittest diff --git a/tests/python/pants_test/subsystem/subsystem_util.py b/tests/python/pants_test/subsystem/subsystem_util.py index 3c34766830a..1dc12c90669 100644 --- a/tests/python/pants_test/subsystem/subsystem_util.py +++ b/tests/python/pants_test/subsystem/subsystem_util.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.subsystem.subsystem import Subsystem from pants_test.option.util.fakes import create_options_for_optionables diff --git a/tests/python/pants_test/subsystem/test_subsystem.py b/tests/python/pants_test/subsystem/test_subsystem.py index 9b31d736ad7..ab7fccef27d 100644 --- a/tests/python/pants_test/subsystem/test_subsystem.py +++ b/tests/python/pants_test/subsystem/test_subsystem.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/targets/test_java_agent.py b/tests/python/pants_test/targets/test_java_agent.py index 1c0964bef05..821814b5b0f 100644 --- a/tests/python/pants_test/targets/test_java_agent.py +++ b/tests/python/pants_test/targets/test_java_agent.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.targets.java_agent import JavaAgent from pants.base.exceptions import TargetDefinitionException diff --git a/tests/python/pants_test/targets/test_jvm_app_integration.py b/tests/python/pants_test/targets/test_jvm_app_integration.py index 1606268dd73..dfd507540a7 100644 --- a/tests/python/pants_test/targets/test_jvm_app_integration.py +++ b/tests/python/pants_test/targets/test_jvm_app_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/targets/test_python_binary.py b/tests/python/pants_test/targets/test_python_binary.py index 095c6f142b7..94ad0d42ff1 100644 --- a/tests/python/pants_test/targets/test_python_binary.py +++ b/tests/python/pants_test/targets/test_python_binary.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.python.register import build_file_aliases from pants.base.exceptions import TargetDefinitionException diff --git a/tests/python/pants_test/targets/test_python_target.py b/tests/python/pants_test/targets/test_python_target.py index 5784121e3c6..d98fcde5a83 100644 --- a/tests/python/pants_test/targets/test_python_target.py +++ b/tests/python/pants_test/targets/test_python_target.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/targets/test_scala_library.py b/tests/python/pants_test/targets/test_scala_library.py index 9960b5e9c65..eb09939a99a 100644 --- a/tests/python/pants_test/targets/test_scala_library.py +++ b/tests/python/pants_test/targets/test_scala_library.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from textwrap import dedent diff --git a/tests/python/pants_test/targets/test_scala_library_integration.py b/tests/python/pants_test/targets/test_scala_library_integration.py index 1d894aecf4f..a4e56b718ed 100644 --- a/tests/python/pants_test/targets/test_scala_library_integration.py +++ b/tests/python/pants_test/targets/test_scala_library_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/targets/test_sort_targets.py b/tests/python/pants_test/targets/test_sort_targets.py index 33c1b382e4f..7303ff684b3 100644 --- a/tests/python/pants_test/targets/test_sort_targets.py +++ b/tests/python/pants_test/targets/test_sort_targets.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.build_graph.build_graph import CycleException, sort_targets from pants_test.test_base import TestBase diff --git a/tests/python/pants_test/targets/test_unknown_arguments_integration.py b/tests/python/pants_test/targets/test_unknown_arguments_integration.py index 03291778750..ed23bf83543 100644 --- a/tests/python/pants_test/targets/test_unknown_arguments_integration.py +++ b/tests/python/pants_test/targets/test_unknown_arguments_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/tests/python/pants_test/task/echo_plugin/register.py b/tests/python/pants_test/task/echo_plugin/register.py index 232871e2ce0..e5aa559adc6 100644 --- a/tests/python/pants_test/task/echo_plugin/register.py +++ b/tests/python/pants_test/task/echo_plugin/register.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/task/test_console_task.py b/tests/python/pants_test/task/test_console_task.py index 5b9a830fcd6..10de813f671 100644 --- a/tests/python/pants_test/task/test_console_task.py +++ b/tests/python/pants_test/task/test_console_task.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import threading diff --git a/tests/python/pants_test/task/test_goal_options_mixin_integration.py b/tests/python/pants_test/task/test_goal_options_mixin_integration.py index 8d8f4333c34..b21fc38e697 100644 --- a/tests/python/pants_test/task/test_goal_options_mixin_integration.py +++ b/tests/python/pants_test/task/test_goal_options_mixin_integration.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import textwrap diff --git a/tests/python/pants_test/task/test_mutex_task_mixin.py b/tests/python/pants_test/task/test_mutex_task_mixin.py index fe9d95d9ffd..80e14ab0827 100644 --- a/tests/python/pants_test/task/test_mutex_task_mixin.py +++ b/tests/python/pants_test/task/test_mutex_task_mixin.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import functools from contextlib import contextmanager diff --git a/tests/python/pants_test/task/test_scm_publish_mixin.py b/tests/python/pants_test/task/test_scm_publish_mixin.py index 3a9b7c36efb..cf275ca63d4 100644 --- a/tests/python/pants_test/task/test_scm_publish_mixin.py +++ b/tests/python/pants_test/task/test_scm_publish_mixin.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/task/test_simple_codegen_task.py b/tests/python/pants_test/task/test_simple_codegen_task.py index 784b43d1af2..b00598cfa0e 100644 --- a/tests/python/pants_test/task/test_simple_codegen_task.py +++ b/tests/python/pants_test/task/test_simple_codegen_task.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from textwrap import dedent diff --git a/tests/python/pants_test/task/test_task.py b/tests/python/pants_test/task/test_task.py index 7dd8d920359..559e29bde83 100644 --- a/tests/python/pants_test/task/test_task.py +++ b/tests/python/pants_test/task/test_task.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/task/test_testrunner_task_mixin.py b/tests/python/pants_test/task/test_testrunner_task_mixin.py index 4248053aff7..f6c7bb1dd6d 100644 --- a/tests/python/pants_test/task/test_testrunner_task_mixin.py +++ b/tests/python/pants_test/task/test_testrunner_task_mixin.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import collections import os diff --git a/tests/python/pants_test/task_test_base.py b/tests/python/pants_test/task_test_base.py index 1aab31a7484..4102f167ecf 100644 --- a/tests/python/pants_test/task_test_base.py +++ b/tests/python/pants_test/task_test_base.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import glob import os diff --git a/tests/python/pants_test/tasks/task_test_base.py b/tests/python/pants_test/tasks/task_test_base.py index fe29738e8cc..dcf15a2dfd7 100644 --- a/tests/python/pants_test/tasks/task_test_base.py +++ b/tests/python/pants_test/tasks/task_test_base.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import glob import os diff --git a/tests/python/pants_test/tasks/test_bootstrap_jvm_tools_integration.py b/tests/python/pants_test/tasks/test_bootstrap_jvm_tools_integration.py index c685c9621bd..991b3300344 100644 --- a/tests/python/pants_test/tasks/test_bootstrap_jvm_tools_integration.py +++ b/tests/python/pants_test/tasks/test_bootstrap_jvm_tools_integration.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.util.contextutil import temporary_dir from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/tasks/test_changed_target_integration.py b/tests/python/pants_test/tasks/test_changed_target_integration.py index 8e59f0dc835..27071a0ed67 100644 --- a/tests/python/pants_test/tasks/test_changed_target_integration.py +++ b/tests/python/pants_test/tasks/test_changed_target_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/tests/python/pants_test/tasks/test_clean_all_integration.py b/tests/python/pants_test/tasks/test_clean_all_integration.py index 74d73d2a136..2af382984ae 100644 --- a/tests/python/pants_test/tasks/test_clean_all_integration.py +++ b/tests/python/pants_test/tasks/test_clean_all_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/tasks/test_execution_graph.py b/tests/python/pants_test/tasks/test_execution_graph.py index 34028f64a61..8ff6d7d4105 100644 --- a/tests/python/pants_test/tasks/test_execution_graph.py +++ b/tests/python/pants_test/tasks/test_execution_graph.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/tasks/test_scalastyle_integration.py b/tests/python/pants_test/tasks/test_scalastyle_integration.py index 3c6dfbcda08..09e0bf31369 100644 --- a/tests/python/pants_test/tasks/test_scalastyle_integration.py +++ b/tests/python/pants_test/tasks/test_scalastyle_integration.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants_test.pants_run_integration_test import PantsRunIntegrationTest diff --git a/tests/python/pants_test/test_base.py b/tests/python/pants_test/test_base.py index 8922e621154..385fe2d382b 100644 --- a/tests/python/pants_test/test_base.py +++ b/tests/python/pants_test/test_base.py @@ -2,8 +2,7 @@ # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import itertools import logging diff --git a/tests/python/pants_test/test_maven_layout.py b/tests/python/pants_test/test_maven_layout.py index 54bbcec5a1d..6d63cb3e5d2 100644 --- a/tests/python/pants_test/test_maven_layout.py +++ b/tests/python/pants_test/test_maven_layout.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from pants.backend.jvm.subsystems.junit import JUnit from pants.backend.jvm.targets.java_library import JavaLibrary diff --git a/tests/python/pants_test/testutils/file_test_util.py b/tests/python/pants_test/testutils/file_test_util.py index 826f5f0b4ee..3c9469851af 100644 --- a/tests/python/pants_test/testutils/file_test_util.py +++ b/tests/python/pants_test/testutils/file_test_util.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os diff --git a/tests/python/pants_test/testutils/git_util.py b/tests/python/pants_test/testutils/git_util.py index 3c0d85c64be..02fe3261865 100644 --- a/tests/python/pants_test/testutils/git_util.py +++ b/tests/python/pants_test/testutils/git_util.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re from contextlib import contextmanager diff --git a/tests/python/pants_test/testutils/mock_logger.py b/tests/python/pants_test/testutils/mock_logger.py index d035e6c3f94..608132b7e2e 100644 --- a/tests/python/pants_test/testutils/mock_logger.py +++ b/tests/python/pants_test/testutils/mock_logger.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import sys diff --git a/tests/python/pants_test/testutils/pexrc_util.py b/tests/python/pants_test/testutils/pexrc_util.py index 187ce98a41c..8f67ea4745d 100644 --- a/tests/python/pants_test/testutils/pexrc_util.py +++ b/tests/python/pants_test/testutils/pexrc_util.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os from contextlib import contextmanager diff --git a/tests/python/pants_test/testutils/process_test_util.py b/tests/python/pants_test/testutils/process_test_util.py index b75b8b160ad..648571ebd93 100644 --- a/tests/python/pants_test/testutils/process_test_util.py +++ b/tests/python/pants_test/testutils/process_test_util.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from contextlib import contextmanager diff --git a/tests/python/pants_test/util/test_argutil.py b/tests/python/pants_test/util/test_argutil.py index 6070f2d62d1..47ac9fd2d69 100644 --- a/tests/python/pants_test/util/test_argutil.py +++ b/tests/python/pants_test/util/test_argutil.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/util/test_collections.py b/tests/python/pants_test/util/test_collections.py index e63584f2135..d378d5cbf40 100644 --- a/tests/python/pants_test/util/test_collections.py +++ b/tests/python/pants_test/util/test_collections.py @@ -2,8 +2,7 @@ # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest from builtins import str diff --git a/tests/python/pants_test/util/test_contextutil.py b/tests/python/pants_test/util/test_contextutil.py index df1b1660d73..f72badfdcc7 100644 --- a/tests/python/pants_test/util/test_contextutil.py +++ b/tests/python/pants_test/util/test_contextutil.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import pstats diff --git a/tests/python/pants_test/util/test_dirutil.py b/tests/python/pants_test/util/test_dirutil.py index f168d3ef96d..1d6ea06ace6 100644 --- a/tests/python/pants_test/util/test_dirutil.py +++ b/tests/python/pants_test/util/test_dirutil.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import errno import os diff --git a/tests/python/pants_test/util/test_eval.py b/tests/python/pants_test/util/test_eval.py index 16ff197b54c..b578e87d953 100644 --- a/tests/python/pants_test/util/test_eval.py +++ b/tests/python/pants_test/util/test_eval.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/util/test_fileutil.py b/tests/python/pants_test/util/test_fileutil.py index 1fe4e057bc2..650806c42eb 100644 --- a/tests/python/pants_test/util/test_fileutil.py +++ b/tests/python/pants_test/util/test_fileutil.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import random diff --git a/tests/python/pants_test/util/test_filtering.py b/tests/python/pants_test/util/test_filtering.py index a6a6ef174b6..dd0129d55b6 100644 --- a/tests/python/pants_test/util/test_filtering.py +++ b/tests/python/pants_test/util/test_filtering.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/util/test_memo.py b/tests/python/pants_test/util/test_memo.py index cd70390f4e2..f510ca4455e 100644 --- a/tests/python/pants_test/util/test_memo.py +++ b/tests/python/pants_test/util/test_memo.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest from builtins import object diff --git a/tests/python/pants_test/util/test_meta.py b/tests/python/pants_test/util/test_meta.py index 1137f48c9ba..92e883d2b0a 100644 --- a/tests/python/pants_test/util/test_meta.py +++ b/tests/python/pants_test/util/test_meta.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from abc import abstractmethod, abstractproperty from builtins import object diff --git a/tests/python/pants_test/util/test_netrc.py b/tests/python/pants_test/util/test_netrc.py index c4d7e94e8f0..c23f9106353 100644 --- a/tests/python/pants_test/util/test_netrc.py +++ b/tests/python/pants_test/util/test_netrc.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import re import unittest diff --git a/tests/python/pants_test/util/test_objects.py b/tests/python/pants_test/util/test_objects.py index 6669a7bc29d..280b4cba936 100644 --- a/tests/python/pants_test/util/test_objects.py +++ b/tests/python/pants_test/util/test_objects.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import copy import pickle diff --git a/tests/python/pants_test/util/test_osutil.py b/tests/python/pants_test/util/test_osutil.py index 4edf114aa31..b18e837585b 100644 --- a/tests/python/pants_test/util/test_osutil.py +++ b/tests/python/pants_test/util/test_osutil.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import logging diff --git a/tests/python/pants_test/util/test_process_handler.py b/tests/python/pants_test/util/test_process_handler.py index c003d7aca0f..edd865a91c9 100644 --- a/tests/python/pants_test/util/test_process_handler.py +++ b/tests/python/pants_test/util/test_process_handler.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/util/test_retry.py b/tests/python/pants_test/util/test_retry.py index 1e3aee06963..fc0564566a0 100644 --- a/tests/python/pants_test/util/test_retry.py +++ b/tests/python/pants_test/util/test_retry.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest diff --git a/tests/python/pants_test/util/test_socket.py b/tests/python/pants_test/util/test_socket.py index f24f95db81e..41f623aeb58 100644 --- a/tests/python/pants_test/util/test_socket.py +++ b/tests/python/pants_test/util/test_socket.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import inspect import socket diff --git a/tests/python/pants_test/util/test_strutil.py b/tests/python/pants_test/util/test_strutil.py index 458b7ad69f6..fe77274a420 100644 --- a/tests/python/pants_test/util/test_strutil.py +++ b/tests/python/pants_test/util/test_strutil.py @@ -2,8 +2,7 @@ # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import unittest from builtins import bytes diff --git a/tests/python/pants_test/util/test_tarutil.py b/tests/python/pants_test/util/test_tarutil.py index 039e038c849..2f421535bb0 100644 --- a/tests/python/pants_test/util/test_tarutil.py +++ b/tests/python/pants_test/util/test_tarutil.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import os import tarfile diff --git a/tests/python/pants_test/util/test_xml_parser.py b/tests/python/pants_test/util/test_xml_parser.py index 1576c3e895d..4549d27c632 100644 --- a/tests/python/pants_test/util/test_xml_parser.py +++ b/tests/python/pants_test/util/test_xml_parser.py @@ -2,8 +2,7 @@ # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals from xml.dom.minidom import Document diff --git a/tests/python/pants_test/util/xml_test_base.py b/tests/python/pants_test/util/xml_test_base.py index 58eb42f191c..28a494a89b0 100644 --- a/tests/python/pants_test/util/xml_test_base.py +++ b/tests/python/pants_test/util/xml_test_base.py @@ -2,8 +2,7 @@ # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). -from __future__ import (absolute_import, division, generators, nested_scopes, print_function, - unicode_literals, with_statement) +from __future__ import absolute_import, division, print_function, unicode_literals import textwrap import unittest