summaryrefslogtreecommitdiff
path: root/src/tablib
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2019-10-22 14:12:45 +0200
committerClaude Paroz <claude@2xlibre.net>2019-10-22 14:19:20 +0200
commit9858539c8718c16a540de24a508ad2d6f9a5e055 (patch)
tree228d0345e1c2b7b0eb67e5ae508db5c5ec41306a /src/tablib
parent201d8d99102a615df41649a5d08155e25db6017a (diff)
downloadtablib-9858539c8718c16a540de24a508ad2d6f9a5e055.tar.gz
Add known third parties to isort
Diffstat (limited to 'src/tablib')
-rw-r--r--src/tablib/__init__.py1
-rw-r--r--src/tablib/formats/_xls.py3
-rw-r--r--src/tablib/formats/_xlsx.py1
-rw-r--r--src/tablib/formats/_yaml.py3
4 files changed, 2 insertions, 6 deletions
diff --git a/src/tablib/__init__.py b/src/tablib/__init__.py
index e94e939..1d9d505 100644
--- a/src/tablib/__init__.py
+++ b/src/tablib/__init__.py
@@ -1,6 +1,5 @@
""" Tablib. """
from pkg_resources import DistributionNotFound, get_distribution
-
from tablib.core import (
Databook,
Dataset,
diff --git a/src/tablib/formats/_xls.py b/src/tablib/formats/_xls.py
index d405c77..3fc94af 100644
--- a/src/tablib/formats/_xls.py
+++ b/src/tablib/formats/_xls.py
@@ -3,11 +3,10 @@
from io import BytesIO
+import tablib
import xlrd
import xlwt
-import tablib
-
title = 'xls'
extensions = ('xls',)
diff --git a/src/tablib/formats/_xlsx.py b/src/tablib/formats/_xlsx.py
index 6774ef1..6ac46b9 100644
--- a/src/tablib/formats/_xlsx.py
+++ b/src/tablib/formats/_xlsx.py
@@ -4,7 +4,6 @@
from io import BytesIO
import openpyxl
-
import tablib
Workbook = openpyxl.workbook.Workbook
diff --git a/src/tablib/formats/_yaml.py b/src/tablib/formats/_yaml.py
index 54b635e..3707876 100644
--- a/src/tablib/formats/_yaml.py
+++ b/src/tablib/formats/_yaml.py
@@ -1,9 +1,8 @@
""" Tablib - YAML Support.
"""
-import yaml
-
import tablib
+import yaml
title = 'yaml'
extensions = ('yaml', 'yml')