Added the special case, git_blame, to the README.

This commit is contained in:
Andrew Hamilton 2017-07-19 10:13:24 +01:00
parent 0b6fbec3da
commit 2815fb83d8
2 changed files with 3 additions and 2 deletions

View file

@ -25,7 +25,7 @@ then to run:
Extensions | Tools Extensions | Tools
---------- | ----- ---------- | -----
.* | [contents](http://pygments.org/) • metadata .* | [contents](http://pygments.org/) • metadata • [git_blame](https://git-scm.com/)
.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) • [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) • [python_mccabe](https://github.com/flintwork/mccabe) • [bandit](https://wiki.openstack.org/wiki/Security/Projects/Bandit) .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) • [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) • [python_mccabe](https://github.com/flintwork/mccabe) • [bandit](https://wiki.openstack.org/wiki/Security/Projects/Bandit)
.pl .pm .t | [perl_syntax](https://en.wikipedia.org/wiki/Perl) • [perldoc](http://perldoc.perl.org/) • [perltidy](http://perltidy.sourceforge.net/) .pl .pm .t | [perl_syntax](https://en.wikipedia.org/wiki/Perl) • [perldoc](http://perldoc.perl.org/) • [perltidy](http://perltidy.sourceforge.net/)
.pod .pod6 | [perldoc](http://perldoc.perl.org/) .pod .pod6 | [perldoc](http://perldoc.perl.org/)

View file

@ -42,7 +42,8 @@ then to run:
Extensions | Tools Extensions | Tools
---------- | -----""") ---------- | -----""")
all_tools = [(["*"], tools.generic_tools())] + tools.TOOLS_FOR_EXTENSIONS all_tools = ([(["*"], tools.generic_tools() + [tools.git_blame])] +
tools.TOOLS_FOR_EXTENSIONS)
for extensions, tools_ in all_tools: for extensions, tools_ in all_tools:
print("%s | %s" % (" ".join("." + extension for extension in extensions), print("%s | %s" % (" ".join("." + extension for extension in extensions),
"".join(tool_markup(tool) for tool in tools_))) "".join(tool_markup(tool) for tool in tools_)))