Skip to content

Commit

Permalink
Fix tox source locations, multiline doesn't work in newer versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Dec 4, 2024
1 parent 84e6e94 commit b9583b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
12 changes: 5 additions & 7 deletions tests/test_either_or.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@
##############################################################################


def create_root() -> (
typing.Tuple[
py_trees.behaviour.Behaviour,
py_trees.behaviour.Behaviour,
py_trees.behaviour.Behaviour,
]
):
def create_root() -> typing.Tuple[
py_trees.behaviour.Behaviour,
py_trees.behaviour.Behaviour,
py_trees.behaviour.Behaviour,
]:
trigger_one = py_trees.decorators.FailureIsRunning(
name="FisR", child=py_trees.behaviours.SuccessEveryN(name="Joystick 1", n=4)
)
Expand Down
5 changes: 1 addition & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
################################################################################

[constants]
source_locations =
py_trees
tests
# doc/examples
source_locations = py_trees tests doc/examples

[tox]
envlist = py310, py312, format, check, mypy310, mypy312
Expand Down

0 comments on commit b9583b9

Please sign in to comment.