Skip to content

Commit f82bbc5

Browse files
committed
Sort the Python imports with isort
1 parent 41584fa commit f82bbc5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+157
-85
lines changed

data/rdm/PidDataTest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
import os
2222
import unittest
23+
2324
from ola import PidStore
2425

2526
__author__ = '[email protected] (Simon Newton)'

include/ola/gen_callbacks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919

2020
from __future__ import print_function
21+
2122
import textwrap
2223

2324

python/examples/ola_artnet_params.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@
1919
"""Fetch some ArtNet parameters."""
2020

2121
from __future__ import print_function
22+
23+
import sys
24+
2225
from ola.ClientWrapper import ClientWrapper
26+
2327
from ola import ArtNetConfigMessages_pb2
24-
import sys
2528

2629
__author__ = '[email protected] (Simon Newton)'
2730

python/examples/ola_candidate_ports.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@
1919
"""List candidate ports for patching."""
2020

2121
from __future__ import print_function
22-
from ola.ClientWrapper import ClientWrapper
22+
2323
import argparse
2424
import sys
2525

26+
from ola.ClientWrapper import ClientWrapper
27+
2628
__author__ = '[email protected] (Simon Marchi)'
2729

2830
wrapper = None

python/examples/ola_devices.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
"""Lists the devices / ports."""
2020

2121
from __future__ import print_function
22-
from ola.ClientWrapper import ClientWrapper
22+
2323
import sys
2424

25+
from ola.ClientWrapper import ClientWrapper
26+
2527
__author__ = '[email protected] (Simon Newton)'
2628

2729
wrapper = None

python/examples/ola_fetch_dmx.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@
1919
"""Gets a current frame of DMX for a universe."""
2020

2121
from __future__ import print_function
22-
from ola.ClientWrapper import ClientWrapper
22+
2323
import getopt
24-
import textwrap
2524
import sys
25+
import textwrap
26+
27+
from ola.ClientWrapper import ClientWrapper
2628

2729
__author__ = '[email protected] (Simon Newton)'
2830

python/examples/ola_patch_unpatch.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@
1919
"""Patch and unpatch ports."""
2020

2121
from __future__ import print_function
22-
from ola.ClientWrapper import ClientWrapper
23-
from ola.OlaClient import OlaClient
22+
2423
import argparse
2524
import sys
2625

26+
from ola.ClientWrapper import ClientWrapper
27+
from ola.OlaClient import OlaClient
28+
2729
__author__ = '[email protected] (Simon Marchi)'
2830

2931
wrapper = None

python/examples/ola_plugin_info.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@
1919
"""Lists the loaded plugins."""
2020

2121
from __future__ import print_function
22-
from ola.ClientWrapper import ClientWrapper
22+
2323
import getopt
24-
import textwrap
2524
import sys
25+
import textwrap
26+
27+
from ola.ClientWrapper import ClientWrapper
2628

2729
__author__ = '[email protected] (Simon Newton)'
2830

python/examples/ola_rdm_discover.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
'''Show the UIDs for a universe.'''
2020

2121
from __future__ import print_function
22+
2223
import getopt
23-
import textwrap
2424
import sys
25+
import textwrap
26+
2527
from ola.ClientWrapper import ClientWrapper
2628

2729
__author__ = '[email protected] (Simon Newton)'

python/examples/ola_rdm_get.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,21 @@
1919
'''Get a PID from a UID.'''
2020

2121
from __future__ import print_function
22+
2223
import cmd
2324
import getopt
2425
import os.path
2526
import readline
2627
import sys
2728
import textwrap
28-
from ola import PidStore
29+
2930
from ola.ClientWrapper import ClientWrapper
3031
from ola.OlaClient import OlaClient, RDMNack
3132
from ola.RDMAPI import RDMAPI
3233
from ola.UID import UID
3334

35+
from ola import PidStore
36+
3437
__author__ = '[email protected] (Simon Newton)'
3538

3639

0 commit comments

Comments
 (0)