2018-05-18 13:04:08 +10:00
|
|
|
tools_for_extensions = [
|
|
|
|
|
[["py"], ["python_syntax", "python_unittests", "pydoc", "mypy",
|
2018-05-31 14:34:10 +10:00
|
|
|
"python_coverage", "pycodestyle", "pydocstyle", "pyflakes",
|
|
|
|
|
"pylint", "python_gut", "python_modulefinder", "dis",
|
|
|
|
|
"python_mccabe", "bandit"]],
|
2018-05-18 13:04:08 +10:00
|
|
|
# [["pyc"], ["pydisasm"]],
|
|
|
|
|
[["pl", "pm", "t"], ["perl_syntax", "perldoc", "perltidy"]],
|
|
|
|
|
# [["p6", "pm6"], ["perl6_syntax", "perldoc"]],
|
|
|
|
|
[["pod", "pod6"], ["perldoc"]], [["java"], ["uncrustify"]],
|
|
|
|
|
[["c", "h"], ["c_syntax_gcc", "splint", "uncrustify", "cppcheck"]],
|
|
|
|
|
[["o"], ["objdump_headers", "objdump_disassemble", "readelf"]],
|
|
|
|
|
[["cc", "cpp", "hpp"], ["cpp_syntax_gcc", "bcpp", "uncrustify",
|
|
|
|
|
"cppcheck"]],
|
|
|
|
|
[["pdf"], ["pdf2txt"]],
|
2018-05-31 17:24:36 +10:00
|
|
|
[["html"], ["html_syntax", "tidy", "html2text", "pandoc"]],
|
2018-05-18 13:04:08 +10:00
|
|
|
[["php"], ["php7_syntax"]],
|
|
|
|
|
[["zip"], ["unzip"]],
|
|
|
|
|
[["tar.gz", "tgz"],["tar_gz"]],
|
|
|
|
|
[["tar.bz2"], ["tar_bz2"]],
|
|
|
|
|
[["a", "so"], ["nm"]],
|
|
|
|
|
[["png", "jpg", "gif", "bmp", "ppm", "tiff", "tga"], ["pil", "pil_half"]],
|
|
|
|
|
[["bash", "sh", "dash", "ksh"], ["shellcheck"]],
|
2018-05-31 12:06:36 +10:00
|
|
|
[["go"], ["gofmt", "go_vet", "golint", "godoc"]],
|
2018-05-31 13:04:13 +10:00
|
|
|
[["yaml", "yml"], ["yamllint"]],
|
2018-06-02 10:15:22 +10:00
|
|
|
[["md", "epub", "docx", "odt", "rst"], ["pandoc"]],
|
|
|
|
|
[["mkv", "mka", "mks", "ogg", "ogm", "avi", "wav", "mpeg", "mpg", "vob",
|
|
|
|
|
"mp4", "mpgv", "mpv", "m1v", "m2v", "mp2", "mp3", "asf", "wma", "wmv",
|
|
|
|
|
"qt", "mov", "rm", "rmvb", "ra", "ifo", "ac3", "dts", "aac", "flac",
|
|
|
|
|
"aiff", "aifc", "au", "iff"], ["mediainfo"]],
|
|
|
|
|
]
|
2018-05-17 16:16:21 +10:00
|
|
|
|
|
|
|
|
|
2018-05-18 13:04:08 +10:00
|
|
|
# Tool template:
|
2018-05-17 16:16:21 +10:00
|
|
|
# []
|
|
|
|
|
# dependencies = [""]
|
|
|
|
|
# url = ""
|
|
|
|
|
# command = ""
|
|
|
|
|
# success_status = ""
|
|
|
|
|
# error_status = ""
|
|
|
|
|
|
|
|
|
|
[objdump_headers]
|
|
|
|
|
dependencies = ["binutils"]
|
|
|
|
|
url = "https://en.wikipedia.org/wiki/Objdump"
|
|
|
|
|
command = "objdump --all-headers"
|
|
|
|
|
success_status = "normal"
|
|
|
|
|
|
|
|
|
|
[objdump_disassemble]
|
|
|
|
|
dependencies = ["binutils"]
|
|
|
|
|
url = "https://en.wikipedia.org/wiki/Objdump"
|
|
|
|
|
command = "objdump --disassemble --reloc --dynamic-reloc"
|
|
|
|
|
success_status = "normal"
|
|
|
|
|
|
|
|
|
|
[readelf]
|
|
|
|
|
dependencies = ["binutils"]
|
|
|
|
|
url = "https://en.wikipedia.org/wiki/Objdump"
|
|
|
|
|
command = "readelf --all"
|
|
|
|
|
success_status = "normal"
|
|
|
|
|
|
|
|
|
|
[unzip]
|
|
|
|
|
dependencies = ["unzip"]
|
|
|
|
|
url = "unzip"
|
|
|
|
|
command = "unzip -l"
|
|
|
|
|
success_status = "normal"
|
|
|
|
|
|
|
|
|
|
[tar_gz]
|
|
|
|
|
dependencies = ["tar"]
|
|
|
|
|
url = "http://www.gnu.org/software/tar/manual/tar.html"
|
|
|
|
|
command = "tar ztvf"
|
|
|
|
|
success_status = "normal"
|
|
|
|
|
|
|
|
|
|
[tar_bz2]
|
|
|
|
|
dependencies = ["tar"]
|
|
|
|
|
url = "http://www.gnu.org/software/tar/manual/tar.html"
|
|
|
|
|
command = "tar jtvf"
|
|
|
|
|
success_status = "normal"
|
|
|
|
|
|
|
|
|
|
[nm]
|
|
|
|
|
dependencies = ["binutils"]
|
|
|
|
|
url = "https://linux.die.net/man/1/nm"
|
|
|
|
|
command = "nm --demangle"
|
|
|
|
|
success_status = "normal"
|
|
|
|
|
|
|
|
|
|
[pdf2txt]
|
|
|
|
|
dependencies = ["python-pdfminer"]
|
|
|
|
|
url = "python-pdfminer"
|
|
|
|
|
command = "pdf2txt"
|
|
|
|
|
success_status = "normal"
|
|
|
|
|
|
|
|
|
|
[html2text]
|
|
|
|
|
dependencies = ["html2text"]
|
|
|
|
|
url = "html2text"
|
|
|
|
|
command = "html2text"
|
|
|
|
|
success_status = "normal"
|
|
|
|
|
|
2018-05-31 17:24:36 +10:00
|
|
|
[pandoc]
|
2018-05-31 16:58:15 +10:00
|
|
|
dependencies = ["pandoc"]
|
|
|
|
|
url = "pandoc"
|
2018-05-31 17:24:36 +10:00
|
|
|
command = "pandoc -t plain"
|
2018-05-31 16:58:15 +10:00
|
|
|
success_status = "normal"
|
|
|
|
|
|
2018-05-17 16:16:21 +10:00
|
|
|
[c_syntax_gcc]
|
|
|
|
|
dependencies = ["gcc", "g++-6"]
|
|
|
|
|
url = "https://gcc.gnu.org/"
|
|
|
|
|
command = "gcc -fsyntax-only"
|
|
|
|
|
|
|
|
|
|
[cpp_syntax_gcc]
|
|
|
|
|
dependencies = ["gcc", "g++-6"]
|
|
|
|
|
url = "https://gcc.gnu.org/"
|
|
|
|
|
command = "gcc -fsyntax-only"
|
|
|
|
|
|
|
|
|
|
[php7_syntax]
|
|
|
|
|
dependencies = ["php7.2-cli"]
|
|
|
|
|
url = "https://en.wikipedia.org/wiki/PHP"
|
|
|
|
|
command = "php7.2 --syntax-check"
|
|
|
|
|
|
|
|
|
|
[shellcheck]
|
|
|
|
|
dependencies = ["shellcheck"]
|
|
|
|
|
url = "shellcheck"
|
|
|
|
|
command = "shellcheck"
|
|
|
|
|
|
|
|
|
|
[cppcheck]
|
|
|
|
|
dependencies = ["cppcheck"]
|
|
|
|
|
url = "cppcheck"
|
|
|
|
|
command = "cppcheck"
|
|
|
|
|
|
|
|
|
|
[gofmt]
|
|
|
|
|
dependencies = ["golang-go"]
|
|
|
|
|
url = "golang-go"
|
|
|
|
|
command = "gofmt"
|
|
|
|
|
success_status = "normal"
|
|
|
|
|
|
|
|
|
|
[go_vet]
|
|
|
|
|
dependencies = ["golang-go"]
|
|
|
|
|
url = "golang-go"
|
|
|
|
|
command = "go vet"
|
|
|
|
|
error_status = "normal"
|
2018-05-31 11:54:52 +10:00
|
|
|
|
2018-05-31 12:06:36 +10:00
|
|
|
[golint]
|
|
|
|
|
dependencies = ["golint"]
|
|
|
|
|
url = "golint"
|
|
|
|
|
command = "golint -set_exit_status"
|
|
|
|
|
error_status = "normal"
|
|
|
|
|
|
2018-05-31 11:54:52 +10:00
|
|
|
[yamllint]
|
|
|
|
|
dependencies = ["yamllint"]
|
|
|
|
|
url = "yamllint"
|
|
|
|
|
command = "yamllint"
|
2018-06-02 10:15:22 +10:00
|
|
|
|
|
|
|
|
[mediainfo]
|
|
|
|
|
dependencies = ["mediainfo"]
|
|
|
|
|
url = "mediainfo"
|
|
|
|
|
command = "mediainfo"
|
|
|
|
|
success_status = "normal"
|