Skip to content

Commit b8f72f1

Browse files
committed
Fix minor typos
1 parent 83c3788 commit b8f72f1

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

.ci/python/lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
# Copyright 2025 SAM-XL
2+
# Copyright 2025 SAM XL
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ name.
2525

2626
## XML Parser
2727

28-
The Behavior Tree Parser (`BTParse`) is a Python module that allows you to
28+
The Behavior Tree Parser (`BTParser`) is a Python class that allows you to
2929
parse an XML file representing a behavior tree and construct the corresponding
3030
behavior tree using the `py_trees` library. It supports composite nodes, behavior
3131
nodes from `py_trees`, and custom behavior nodes defined in your local library.

package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<version>0.6.0</version>
66
<description>A py_trees xml parser</description>
77
<maintainer email="[email protected]">Erich L Foster</maintainer>
8-
<license>apache 2.0</license>
8+
<license>Apache-2.0</license>
99

1010
<exec_depend>ament_index_python</exec_depend>
1111
<exec_depend>py_trees</exec_depend>

py_trees_parser/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 SAM-XL
1+
# Copyright 2025 SAM XL
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

py_trees_parser/parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 SAM-XL
1+
# Copyright 2025 SAM XL
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -417,7 +417,7 @@ def _build_tree(
417417
Args:
418418
----
419419
xml_node (Element): The XML node to build the tree from.
420-
args (dict[tuple[str, str]]): Arguments for substitutions in elements, default None.
420+
args (dict[str, str]): Arguments for substitutions in elements, default None.
421421
422422
Returns:
423423
-------

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 SAM-XL
1+
# Copyright 2025 SAM XL
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -35,7 +35,7 @@
3535
maintainer="Erich L Foster",
3636
maintainer_email="[email protected]",
3737
description="A py_trees xml parser",
38-
license="apache 2.0",
38+
license="Apache-2.0",
3939
tests_require=["pytest"],
4040
entry_points={},
4141
)

test/test_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 SAM-XL
1+
# Copyright 2025 SAM XL
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

test/test_python_formatting_check.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 SAM-XL
1+
# Copyright 2025 SAM XL
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -11,11 +11,11 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
"""The path of the Python linting script used by the CI/CD pipeline."""
1514

1615
import subprocess
1716
from pathlib import Path
1817

18+
"""The path of the Python linting script used by the CI/CD pipeline."""
1919
SCRIPT_FILEPATH = Path(".ci/python/lint.sh")
2020

2121

0 commit comments

Comments
 (0)