Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
VladyslavHrynchak200204 committed Oct 21, 2024
1 parent 78ac516 commit abbf2cc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ def run(self, stat):

return stat


def get_cpu_diagnostics_node() -> Node:
"""get cpu diagnostics node."""
"""Get cpu diagnostics node."""
# Create the node
hostname = socket.gethostname()
node = Node('cpu_monitor')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ def run(self, stat):

return stat


def get_ram_diagnostics_node() -> Node:
"""get ram diagnostics node."""
"""Get ram diagnostics node."""
hostname = socket.gethostname()

node = rclpy.create_node('ram_monitor')
Expand Down
2 changes: 1 addition & 1 deletion diagnostic_common_diagnostics/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
maintainer_email='vladyslav.hrynchak@logivations.com',
description='Package for diagnostics',
license="TODO: License declaration",
tests_require=["pytest"],
tests_require=['pytest'],
entry_points={
'console_scripts': [
'cpu_monitor = diagnostic_common_diagnostics.cpu_monitor:main',
Expand Down

0 comments on commit abbf2cc

Please sign in to comment.