Skip to content

Commit 6d421fd

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 97fdced commit 6d421fd

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""coatl.dev utils decorators."""
22

3+
34
class classproperty(property): # pylint: disable=invalid-name
45
def __get__(self, cls, owner): # type: ignore[no-untyped-def]
56
return classmethod(self.fget).__get__(None, owner)()

ignition-api/src/system/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@
88
Additional information on scripting Ignition can be found in the
99
Scripting section.
1010
"""
11-

ignition-api/src/system/util.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,9 +1008,7 @@ def threadDump():
10081008
Returns:
10091009
The dump of the current running JVM.
10101010
"""
1011-
return unicode(\
1012-
"""{0}\n "version": "{1}"...{2}"""
1013-
).format(
1011+
return unicode("""{0}\n "version": "{1}"...{2}""").format(
10141012
"{", getVersion().toParseableString(), "}"
10151013
)
10161014

0 commit comments

Comments
 (0)