Skip to content

Commit

Permalink
pylint warnings fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueAndi committed Feb 28, 2024
1 parent 39d78ec commit 4502fc3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pyLineFollowerTrackGenerator/cmd_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def _generate_start_stop_line(tck, u, distance_from_middle, length) -> tuple[lis
nx = -dy / mag # x-component of the unit normal vector
ny = dx / mag # y-component of the unit normal vector

# Determine the points on the perpendicular lines to form
# Determine the points on the perpendicular lines to form
x_perpendicular_low = [
x_spline - distance_from_middle * nx,
x_spline - (distance_from_middle + length) * nx
Expand Down Expand Up @@ -275,7 +275,8 @@ def _get_cmd_line_parameters() -> str:

return cmd_line

def _exec(args): # pylint: disable=too-many-locals
# pylint: disable=too-many-locals, too-many-statements
def _exec(args):
"""Generate the Webots world.
Args:
Expand Down

0 comments on commit 4502fc3

Please sign in to comment.