Coding style.

- Comment tools.py's main.
This commit is contained in:
Andrew Hamilton 2021-11-06 13:55:14 +10:00
parent 90078f5d32
commit 895470b01b

View file

@ -785,6 +785,9 @@ def tool_name_colored(tool, path):
if __name__ == "__main__":
# Let tools be tested individually...
# ./tools.py <tool> <path>
# e.g. ./tools.py contents tools.toml
tool_name, path = sys.argv[1:3]
tool = locals()[tool_name]
valid_tools = tools_for_path(path)