Seperate the tools with bullets.

This commit is contained in:
Andrew Hamilton 2016-11-19 16:26:23 +01:00
parent eb0d06936a
commit be71ddadde
2 changed files with 8 additions and 7 deletions

View file

@ -27,16 +27,16 @@ e.g. After cloning do:
Extensions | Tools Extensions | Tools
---------- | ----- ---------- | -----
.py | python_syntax python_unittests pydoc mypy python_coverage python_profile pycodestyle pyflakes pylint python_gut python_modulefinder python_mccabe bandit .py | python_syntax python_unittests pydoc mypy python_coverage python_profile pycodestyle pyflakes pylint python_gut python_modulefinder python_mccabe bandit
.pyc | disassemble_pyc .pyc | disassemble_pyc
.pl .pm .t | perl_syntax perldoc perltidy .pl .pm .t | perl_syntax perldoc perltidy
.pod .pod6 | perldoc .pod .pod6 | perldoc
.java | uncrustify .java | uncrustify
.c .h | splint uncrustify .c .h | splint uncrustify
.o | objdump_headers objdump_disassemble readelf .o | objdump_headers objdump_disassemble readelf
.cpp | bcpp uncrustify .cpp | bcpp uncrustify
.pdf | pdf2txt .pdf | pdf2txt
.html | html_syntax tidy html2text .html | html_syntax tidy html2text
.php | php5_syntax .php | php5_syntax
.zip | unzip .zip | unzip
.tar.gz .tgz | tar_gz .tar.gz .tgz | tar_gz

View file

@ -1,4 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Andrew Hamilton. All rights reserved. # Copyright (C) 2016 Andrew Hamilton. All rights reserved.
# Licensed under the Artistic License 2.0. # Licensed under the Artistic License 2.0.
@ -39,4 +40,4 @@ Extensions | Tools
---------- | -----""") ---------- | -----""")
for extensions, tools_ in tools.TOOLS_FOR_EXTENSIONS: for extensions, tools_ in tools.TOOLS_FOR_EXTENSIONS:
print("%s | %s" % (" ".join("." + extension for extension in extensions), print("%s | %s" % (" ".join("." + extension for extension in extensions),
" ".join(tool.__name__ for tool in tools_))) " ".join(tool.__name__ for tool in tools_)))