Skip to content

Commit

Permalink
Fix isort issues (#6174)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Arellano authored and jsirois committed Jul 18, 2018
1 parent b902e7f commit d3f2005
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/python/pants/base/exiter.py
Expand Up @@ -5,14 +5,14 @@
from __future__ import absolute_import, division, print_function, unicode_literals

import datetime
import faulthandler
import logging
import os
import signal
import sys
import traceback
from builtins import object

import faulthandler
import six

from pants.util.dirutil import safe_open
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/init/plugin_resolver.py
Expand Up @@ -12,8 +12,8 @@

from pex import resolver
from pex.base import requirement_is_exact
from pkg_resources import working_set as global_working_set
from pkg_resources import Requirement
from pkg_resources import working_set as global_working_set
from wheel.install import WheelFile

from pants.backend.python.subsystems.python_repos import PythonRepos
Expand Down
1 change: 0 additions & 1 deletion src/python/pants/pantsd/service/fs_event_service.py
Expand Up @@ -7,7 +7,6 @@
import logging
import os
import traceback

from concurrent.futures import ThreadPoolExecutor

from pants.pantsd.service.pants_service import PantsService
Expand Down
2 changes: 1 addition & 1 deletion tests/python/pants_test/goal/test_run_tracker.py
Expand Up @@ -4,10 +4,10 @@

from __future__ import absolute_import, division, print_function, unicode_literals

import http.server
import json
import threading

import http.server
from future.moves.urllib.parse import parse_qs

from pants.goal.run_tracker import RunTracker
Expand Down
5 changes: 3 additions & 2 deletions tests/python/pants_test/java/junit/test_junit_xml_parser.py
Expand Up @@ -8,10 +8,11 @@
import unittest
from builtins import object

from pants.java.junit.junit_xml_parser import Test as JUnitTest
# NB: The Test -> JUnitTest import re-name above is needed to work around conflicts with pytest test
# collection and a conflicting Test type in scope during that process.
from pants.java.junit.junit_xml_parser import ParseError, RegistryOfTests, parse_failed_targets
from pants.java.junit.junit_xml_parser import ParseError, RegistryOfTests
from pants.java.junit.junit_xml_parser import Test as JUnitTest
from pants.java.junit.junit_xml_parser import parse_failed_targets
from pants.util.contextutil import temporary_dir
from pants.util.dirutil import safe_open
from pants.util.xml_parser import XmlParser
Expand Down
2 changes: 1 addition & 1 deletion tests/python/pants_test/pantsd/test_pantsd_integration.py
Expand Up @@ -10,10 +10,10 @@
import signal
import threading
import time
from concurrent.futures import ThreadPoolExecutor
from contextlib import contextmanager

from colors import bold, cyan, magenta
from concurrent.futures import ThreadPoolExecutor

from pants.pantsd.process_manager import ProcessManager
from pants.util.collections import recursively_update
Expand Down
9 changes: 5 additions & 4 deletions tests/python/pants_test/util/test_dirutil.py
Expand Up @@ -16,10 +16,11 @@
from pants.util import dirutil
from pants.util.contextutil import pushd, temporary_dir
from pants.util.dirutil import (ExistingDirError, ExistingFileError, _mkdtemp_unregister_cleaner,
absolute_symlink, check_no_overlapping_paths, fast_relpath, get_basedir,
longest_dir_prefix, mergetree, read_file, relative_symlink, relativize_paths,
rm_rf, safe_concurrent_creation, safe_file_dump, safe_mkdir, safe_mkdtemp,
safe_open, safe_rm_oldest_items_in_dir, safe_rmtree, touch)
absolute_symlink, check_no_overlapping_paths, fast_relpath,
get_basedir, longest_dir_prefix, mergetree, read_file,
relative_symlink, relativize_paths, rm_rf, safe_concurrent_creation,
safe_file_dump, safe_mkdir, safe_mkdtemp, safe_open,
safe_rm_oldest_items_in_dir, safe_rmtree, touch)
from pants.util.objects import datatype


Expand Down

0 comments on commit d3f2005

Please sign in to comment.