diff --git a/README.md b/README.md index b0d7923..7a1cb67 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,9 @@ then to run: # vigil -### Tools (48 in total) +### Tools -Extensions | Tools +Extensions (42) | Tools (48) ---------- | ----- .* | [contents](http://pygments.org/) • metadata • [git_blame](https://git-scm.com/docs/git-blame) • [git_log](https://git-scm.com/docs/git-log) .py | [python_syntax](https://en.wikipedia.org/wiki/Python_syntax_and_semantics) • [python_unittests](https://docs.python.org/3/library/unittest.html) • [pydoc](https://docs.python.org/3/library/pydoc.html) • [mypy](http://www.mypy-lang.org/) • [python_coverage](http://nedbatchelder.com/code/coverage/) • [pycodestyle](https://pypi.python.org/pypi/pycodestyle) • [pydocstyle](http://pydocstyle.readthedocs.org/) • [pyflakes](https://launchpad.net/pyflakes) • [pylint](http://www.pylint.org/) • [python_gut](https://github.com/ahamilton/vigil/blob/master/gut.py) • [python_modulefinder](https://docs.python.org/3/library/modulefinder.html) • [dis](https://docs.python.org/3/library/dis.html) • [python_mccabe](https://github.com/flintwork/mccabe) • [bandit](https://wiki.openstack.org/wiki/Security/Projects/Bandit) diff --git a/make-readme.py b/make-readme.py index 30e8110..5b528b5 100755 --- a/make-readme.py +++ b/make-readme.py @@ -16,9 +16,11 @@ def tool_markup(tool): all_tools = ([(["*"], tools.generic_tools() + [tools.git_blame, tools.git_log])] + tools.TOOLS_FOR_EXTENSIONS) -unique_tools = set() +tool_set = set() +extension_set = set() for extensions, tools_ in all_tools: - unique_tools.update(tools_) + tool_set.update(tools_) + extension_set.update(extensions) print(f"""\ # Vigil Code Monitor @@ -43,9 +45,9 @@ then to run: # vigil -### Tools ({len(unique_tools)} in total) +### Tools -Extensions | Tools +Extensions ({len(extension_set)}) | Tools ({len(tool_set)}) ---------- | -----""") for extensions, tools_ in all_tools: print("%s | %s" % (" ".join("." + extension for extension in extensions),