Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions images/simulator/simulator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Modbus simulator
"""
"""Modbus simulator"""

# See also example https://pymodbus.readthedocs.io/en/latest/source/example/updating_server.html
import logging
Expand Down
2 changes: 1 addition & 1 deletion requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
black~=24.3.0
black~=25.1.0
pylint~=3.1.0
3 changes: 1 addition & 2 deletions tedge_modbus/operations/c8y_coils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python3
"""Cumulocity IoT c8y_Coils operation handler
"""
"""Cumulocity IoT c8y_Coils operation handler"""
from .context import Context


Expand Down
3 changes: 1 addition & 2 deletions tedge_modbus/operations/c8y_modbus_configuration.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python3
"""Cumulocity IoT ModbusConfiguration operation handler
"""
"""Cumulocity IoT ModbusConfiguration operation handler"""
import json
import logging
import toml
Expand Down
3 changes: 1 addition & 2 deletions tedge_modbus/operations/c8y_modbus_device.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python3
"""Cumulocity IoT Modbus device operation handler
"""
"""Cumulocity IoT Modbus device operation handler"""
import logging
from dataclasses import dataclass
import requests
Expand Down
3 changes: 1 addition & 2 deletions tedge_modbus/operations/c8y_registers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python3
"""Cumulocity IoT c8y_Registers operation handler
"""
"""Cumulocity IoT c8y_Registers operation handler"""
from .context import Context


Expand Down
3 changes: 1 addition & 2 deletions tedge_modbus/operations/context.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Operation context
"""
"""Operation context"""

import subprocess
from dataclasses import dataclass
Expand Down
3 changes: 1 addition & 2 deletions tedge_modbus/reader/banner.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Banner for cli friendly applications
"""
"""Banner for cli friendly applications"""

# Generated using pyfiglet
# import pyfiglet; BANNER = pyfiglet.figlet_format("Modbus plugin for thin-edge.io")
Expand Down
3 changes: 1 addition & 2 deletions tedge_modbus/reader/reader.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python3
"""Modbus reader
"""
"""Modbus reader"""
import argparse
import json
import logging
Expand Down
3 changes: 1 addition & 2 deletions tedge_modbus/reader/smartresttemplates.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Cumulocity IoT SmartREST template definitions
"""
"""Cumulocity IoT SmartREST template definitions"""

# pylint: disable=line-too-long
SMARTREST_TEMPLATES = [
Expand Down