Skip to content

Commit d337c00

Browse files
committed
fix isort issues
1 parent 25ecb94 commit d337c00

6 files changed

Lines changed: 16 additions & 7 deletions

File tree

docs/source/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
# built documents.
7777
#
7878
import qt_epics
79+
7980
# The short X.Y version.
8081
version = qt_epics.__version__
8182
# The full version, including alpha/beta/rc tags.
@@ -107,6 +108,7 @@
107108
#
108109
html_theme = 'sphinx_rtd_theme'
109110
import sphinx_rtd_theme
111+
110112
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
111113

112114
# Theme options are theme-specific and customize the look and feel of a theme

qt_epics/QtEpicsBaseWidget.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
Modifications:
88
"""
99

10+
import time
11+
1012
from epics import PV
1113
from qtpy import QtCore, QtWidgets
12-
import time
1314

1415
STOPIFACTIVESIGNAL = 'stopifactive'
1516
STARTSIGNAL = 'start'

qt_epics/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

22
from ._version import get_versions
3+
34
__version__ = get_versions()['version']
45
del get_versions

qt_epics/main.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
@author: slepicka
66
'''
77
import sys
8-
from qtpy import QtWidgets
9-
from QtEpicsMotorLabel import QtEpicsMotorLabel
8+
109
from QtEpicsMotorEntry import QtEpicsMotorEntry
11-
from QtEpicsPVLabel import QtEpicsPVLabel
10+
from QtEpicsMotorLabel import QtEpicsMotorLabel
1211
from QtEpicsPVEntry import QtEpicsPVEntry
12+
from QtEpicsPVLabel import QtEpicsPVLabel
13+
from qtpy import QtWidgets
1314

1415

1516
class MainWindow(QtWidgets.QWidget):

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
from os import path
2-
from setuptools import setup, find_packages
31
import sys
4-
import versioneer
2+
from os import path
53

4+
from setuptools import find_packages, setup
5+
6+
import versioneer
67

78
# NOTE: This file must remain Python 2 compatible for the foreseeable future,
89
# to ensure that we error out properly for people with outdated setuptools

versioneer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,12 @@
277277
"""
278278

279279
from __future__ import print_function
280+
280281
try:
281282
import configparser
282283
except ImportError:
283284
import ConfigParser as configparser
285+
284286
import errno
285287
import json
286288
import os
@@ -1561,6 +1563,7 @@ def run(self):
15611563

15621564
if "cx_Freeze" in sys.modules: # cx_freeze enabled?
15631565
from cx_Freeze.dist import build_exe as _build_exe
1566+
15641567
# nczeczulin reports that py2exe won't like the pep440-style string
15651568
# as FILEVERSION, but it can be used for PRODUCTVERSION, e.g.
15661569
# setup(console=[{

0 commit comments

Comments
 (0)