Also I have a slight preference for building up `repeated_tools` as an list, then checking for the empty list:
```
if repeated_tools:
    # create a comma separated list in a string here
    warnings.warn
```
the reason being that this conditional speaks more clearly to intent: "are there repeated tools?" versus "is some thing arbitrarily a space? What does that signify?"