Skip to content

Commit 67f0466

Browse files
committed
Attempt autoblack - fsck up smile.py again
1 parent 40382ca commit 67f0466

File tree

2 files changed

+3
-34
lines changed

2 files changed

+3
-34
lines changed

.github/workflows/verify.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ jobs:
121121
uses: actions/setup-python@v2
122122
with:
123123
python-version: ${{ env.DEFAULT_PYTHON }}
124-
- name: Pre-black
125-
uses: psf/black@stable
126124
- name: Restore base Python ${{ env.DEFAULT_PYTHON }} virtual environment
127125
id: cache-venv
128126
uses: actions/cache@v2

plugwise/smile.py

Lines changed: 3 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -15,38 +15,9 @@
1515
# Version detection
1616
import semver
1717

18-
from plugwise.constants import (
19-
APPLIANCES,
20-
DEFAULT_PORT,
21-
DEFAULT_TIMEOUT,
22-
DEFAULT_USERNAME,
23-
DEVICE_MEASUREMENTS,
24-
DOMAIN_OBJECTS,
25-
HOME_MEASUREMENTS,
26-
LOCATIONS,
27-
NOTIFICATIONS,
28-
RULES,
29-
SMILES,
30-
STATUS,
31-
SWITCH_GROUP_TYPES,
32-
SYSTEM,
33-
)
34-
from plugwise.exceptions import (
35-
ConnectionFailedError,
36-
DeviceSetupError,
37-
DeviceTimeoutError,
38-
InvalidAuthentication,
39-
InvalidXMLError,
40-
ResponseError,
41-
UnsupportedDeviceError,
42-
XMLDataMissingError,
43-
)
44-
from plugwise.util import (
45-
determine_selected,
46-
escape_illegal_xml_characters,
47-
format_measure,
48-
in_between,
49-
)
18+
from plugwise.constants import ( APPLIANCES, DEFAULT_PORT, DEFAULT_TIMEOUT, DEFAULT_USERNAME, DEVICE_MEASUREMENTS, DOMAIN_OBJECTS, HOME_MEASUREMENTS, LOCATIONS, NOTIFICATIONS, RULES, SMILES, STATUS, SWITCH_GROUP_TYPES, SYSTEM,)
19+
from plugwise.exceptions import ( ConnectionFailedError, DeviceSetupError, DeviceTimeoutError, InvalidAuthentication, InvalidXMLError, ResponseError, UnsupportedDeviceError, XMLDataMissingError,)
20+
from plugwise.util import ( determine_selected, escape_illegal_xml_characters, format_measure, in_between,)
5021

5122
_LOGGER = logging.getLogger(__name__)
5223

0 commit comments

Comments
 (0)