Skip to content

Commit f144c4c

Browse files
authored
Merge pull request #1804 from peternewman/0.10-clang-latest
Sort the Python imports with isort
2 parents 526195a + 81fa9c7 commit f144c4c

51 files changed

Lines changed: 179 additions & 85 deletions

Some content is hidden

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

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# See: https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#about-the-dependabotyml-file
2+
version: 2
3+
4+
updates:
5+
# Configure check for outdated GitHub Actions actions in workflows.
6+
# See: https://docs.github.com/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
7+
- package-ecosystem: github-actions
8+
directory: / # Check the repository's workflows under /.github/workflows/
9+
schedule:
10+
interval: daily

.github/workflows/isort.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: isort
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
isort:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: isort/isort-action@v1

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__ = 'nomis52@gmail.com (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__ = 'nomis52@gmail.com (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__ = 'simon.marchi@polymtl.ca (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__ = 'nomis52@gmail.com (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__ = 'nomis52@gmail.com (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__ = 'simon.marchi@polymtl.ca (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__ = 'nomis52@gmail.com (Simon Newton)'
2830

0 commit comments

Comments
 (0)