Skip to content

Commit

Permalink
pep257 fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Henkel <[email protected]>
  • Loading branch information
ct2034 committed Aug 13, 2024
1 parent 9837376 commit 7f234ef
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
4 changes: 1 addition & 3 deletions bt_live/src/bt_live/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
"""
Visualize behavior tree in real-time.
"""
"""Visualize behavior tree in real-time."""
2 changes: 0 additions & 2 deletions bt_live/src/bt_live/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import os
import random

from ament_index_python.packages import get_package_share_directory

from bt_live.ros_node import SingletonBtLiveNode

from django.http import HttpResponse
Expand Down
4 changes: 1 addition & 3 deletions btlib/src/btlib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
"""
Module to visualize behavior trees.
"""
"""Module to visualize behavior trees."""

from typing import Dict, List, Optional

Expand Down
3 changes: 2 additions & 1 deletion btlib/src/btlib/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ def read_log_fbl(fname: str,
:return: Tuple of
`values_count`: How often a node was executed.
`values_success`: How often a node was successful (positive value) vs failed (negative value).
`values_success`: How often a node was successful (positive value)
vs failed (negative value).
"""
with open(fname, 'rb') as file_b:
buf = bytearray(file_b.read())
Expand Down

0 comments on commit 7f234ef

Please sign in to comment.