Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Oct 22, 2024
1 parent 81ad12b commit 6587673
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ def __init__(self):
"/diagnostics",
]

self.ignore_nodes = [
"rviz2"
]
self.ignore_nodes = ["rviz2"]

self.topic_data = {}
self.lock = threading.Lock()
Expand Down Expand Up @@ -172,7 +170,9 @@ def finish_check(self):
publishers_info = self.get_publishers_info_by_topic(topic)
with self.lock:
self.topic_data[topic]["publishers"] = [
(p.node_name, p.node_namespace) for p in publishers_info if p.node_name not in self.ignore_nodes
(p.node_name, p.node_namespace)
for p in publishers_info
if p.node_name not in self.ignore_nodes
]

self.check_completed.set()
Expand Down

0 comments on commit 6587673

Please sign in to comment.