Skip to content

Commit

Permalink
cfmt format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JoDehli committed Dec 15, 2024
1 parent 5c66665 commit 9610a3e
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions custom_components/loxone/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,6 @@

DEFAULT_AUDIO_ZONE_V2_PLAY_STATE = -1

cfmt = """\
( # start of capture group 1
% # literal "%"
(?: # first option
(?:[-+0 #]{0,5}) # optional flags
(?:\d+|\*)? # width
(?:\.(?:\d+|\*))? # precision
(?:h|l|ll|w|I|I32|I64)? # size
[cCdiouxXeEfgGaAnpsSZ] # type
) | # OR
%%)
"""
cfmt = r"""(%(?:(?:[-+0 #]{0,5})(?:\d+|\*)?(?:\.(?:\d+|\*))?(?:h|l|ll|w|I|I32|I64)?[cCdiouxXeEfgGaAnpsSZ])|%%)"""

# End of loxone constants

0 comments on commit 9610a3e

Please sign in to comment.