Skip to content

Commit d295211

Browse files
committed
auto format code after latest black update
1 parent c1b4315 commit d295211

File tree

9 files changed

+9
-18
lines changed

9 files changed

+9
-18
lines changed

images/simulator/simulator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Modbus simulator
2-
"""
1+
"""Modbus simulator"""
32

43
# See also example https://pymodbus.readthedocs.io/en/latest/source/example/updating_server.html
54
import logging

tedge_modbus/operations/c8y_coils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python3
2-
"""Cumulocity IoT c8y_Coils operation handler
3-
"""
2+
"""Cumulocity IoT c8y_Coils operation handler"""
43
from .context import Context
54

65

tedge_modbus/operations/c8y_modbus_configuration.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python3
2-
"""Cumulocity IoT ModbusConfiguration operation handler
3-
"""
2+
"""Cumulocity IoT ModbusConfiguration operation handler"""
43
import json
54
import logging
65
import toml

tedge_modbus/operations/c8y_modbus_device.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python3
2-
"""Cumulocity IoT Modbus device operation handler
3-
"""
2+
"""Cumulocity IoT Modbus device operation handler"""
43
import logging
54
from dataclasses import dataclass
65
import requests

tedge_modbus/operations/c8y_registers.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python3
2-
"""Cumulocity IoT c8y_Registers operation handler
3-
"""
2+
"""Cumulocity IoT c8y_Registers operation handler"""
43
from .context import Context
54

65

tedge_modbus/operations/context.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Operation context
2-
"""
1+
"""Operation context"""
32

43
import subprocess
54
from dataclasses import dataclass

tedge_modbus/reader/banner.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Banner for cli friendly applications
2-
"""
1+
"""Banner for cli friendly applications"""
32

43
# Generated using pyfiglet
54
# import pyfiglet; BANNER = pyfiglet.figlet_format("Modbus plugin for thin-edge.io")

tedge_modbus/reader/reader.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python3
2-
"""Modbus reader
3-
"""
2+
"""Modbus reader"""
43
import argparse
54
import json
65
import logging

tedge_modbus/reader/smartresttemplates.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Cumulocity IoT SmartREST template definitions
2-
"""
1+
"""Cumulocity IoT SmartREST template definitions"""
32

43
# pylint: disable=line-too-long
54
SMARTREST_TEMPLATES = [

0 commit comments

Comments
 (0)