Skip to content

Commit 8c22657

Browse files
stephane-caronStéphane Caron
authored andcommitted
Manual docstring updates to _command_line
1 parent b651e47 commit 8c22657

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

robot_descriptions/_command_line.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525

2626

2727
def positive_float(value) -> float:
28-
"""
29-
Convert a value to float and check that it is positive.
28+
"""Convert a value to float and check that it is positive.
3029
3130
Args:
3231
value: Value to convert.
@@ -46,8 +45,7 @@ def positive_float(value) -> float:
4645

4746

4847
def get_argument_parser() -> argparse.ArgumentParser:
49-
"""
50-
Parse command-line arguments.
48+
"""Parse command-line arguments.
5149
5250
Returns:
5351
Argument parser.
@@ -114,8 +112,7 @@ def show(
114112
configuration: List[float],
115113
collision: bool,
116114
) -> None:
117-
"""
118-
Load and display a given robot description.
115+
"""Load and display a given robot description.
119116
120117
Args:
121118
name: Name of the robot description.
@@ -157,8 +154,7 @@ def show(
157154

158155

159156
def animate(name: str) -> None:
160-
"""
161-
Show how to call yourdfpy to animate a given robot description.
157+
"""Show how to call yourdfpy to animate a given robot description.
162158
163159
Args:
164160
name: Name of the robot description.

0 commit comments

Comments
 (0)