Skip to content

Commit

Permalink
Restyled by reorder-python-imports
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed Dec 1, 2020
1 parent 612e786 commit d0187ff
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
8 changes: 6 additions & 2 deletions pysolr.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals

import ast
import datetime
Expand All @@ -11,7 +13,9 @@
from xml.etree import ElementTree

import requests
from pkg_resources import DistributionNotFound, get_distribution, parse_version
from pkg_resources import DistributionNotFound
from pkg_resources import get_distribution
from pkg_resources import parse_version

try:
from kazoo.client import KazooClient, KazooState
Expand Down
28 changes: 13 additions & 15 deletions tests/test_client.py
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
# -*- coding: utf-8 -*-

from __future__ import absolute_import, unicode_literals
from __future__ import absolute_import
from __future__ import unicode_literals

import datetime
import random
import unittest
from io import StringIO
from xml.etree import ElementTree

from pysolr import (
NESTED_DOC_KEY,
Results,
Solr,
SolrError,
clean_xml_string,
force_bytes,
force_unicode,
json,
safe_urlencode,
sanitize,
unescape_html,
)
from pysolr import clean_xml_string
from pysolr import force_bytes
from pysolr import force_unicode
from pysolr import json
from pysolr import NESTED_DOC_KEY
from pysolr import Results
from pysolr import safe_urlencode
from pysolr import sanitize
from pysolr import Solr
from pysolr import SolrError
from pysolr import unescape_html

try:
from unittest.mock import Mock
Expand Down

0 comments on commit d0187ff

Please sign in to comment.