2016-09-30 16:21:29 +02:00
|
|
|
# Vigil Code Monitor
|
|
|
|
|
|
|
|
|
|
### Summary
|
|
|
|
|
|
2017-04-12 10:14:36 +02:00
|
|
|
Vigil maintains an up-to-date set of reports for every file in a codebase.
|
2015-12-26 20:52:39 +00:00
|
|
|
|
|
|
|
|
### Installation
|
|
|
|
|
|
2018-03-16 11:33:50 +10:00
|
|
|
(Tested in Ubuntu 18.04)
|
2015-12-26 20:52:39 +00:00
|
|
|
|
|
|
|
|
# git clone https://github.com/ahamilton/vigil
|
|
|
|
|
# cd vigil
|
|
|
|
|
# ./install-dependencies
|
2017-07-10 18:38:18 +01:00
|
|
|
# pip3 install .
|
|
|
|
|
|
|
|
|
|
To test its working properly:
|
|
|
|
|
|
|
|
|
|
# ./test-all
|
2016-02-19 09:42:55 +00:00
|
|
|
|
2017-06-27 14:20:30 +01:00
|
|
|
then to run:
|
2016-02-19 09:42:55 +00:00
|
|
|
|
2017-06-27 14:20:30 +01:00
|
|
|
# vigil <directory_path>
|
2016-09-30 16:50:35 +02:00
|
|
|
|
2018-06-01 09:48:42 +10:00
|
|
|
### Tools
|
2016-11-19 13:50:07 +01:00
|
|
|
|
2018-06-02 10:15:22 +10:00
|
|
|
Extensions(75) | Tools(49)
|
2016-11-19 15:58:21 +01:00
|
|
|
---------- | -----
|
2017-12-29 11:21:11 +10:00
|
|
|
.* | [contents](http://pygments.org/) • metadata • [git_blame](https://git-scm.com/docs/git-blame) • [git_log](https://git-scm.com/docs/git-log)
|
2018-05-31 14:44:47 +10:00
|
|
|
.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)
|
2016-11-19 19:44:00 +01:00
|
|
|
.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/)
|
2017-04-12 10:14:36 +02:00
|
|
|
.java | [uncrustify](https://github.com/uncrustify/uncrustify)
|
2017-12-13 19:03:21 +10:00
|
|
|
.c .h | [c_syntax_gcc](https://gcc.gnu.org/) • [splint](http://www.splint.org/) • [uncrustify](https://github.com/uncrustify/uncrustify) • [cppcheck](http://sourceforge.net/p/cppcheck/wiki/Home/)
|
2016-11-19 19:44:00 +01:00
|
|
|
.o | [objdump_headers](https://en.wikipedia.org/wiki/Objdump) • [objdump_disassemble](https://en.wikipedia.org/wiki/Objdump) • [readelf](https://en.wikipedia.org/wiki/Objdump)
|
2017-12-13 19:03:21 +10:00
|
|
|
.cc .cpp .hpp | [cpp_syntax_gcc](https://gcc.gnu.org/) • bcpp • [uncrustify](https://github.com/uncrustify/uncrustify) • [cppcheck](http://sourceforge.net/p/cppcheck/wiki/Home/)
|
2016-11-19 17:42:47 +01:00
|
|
|
.pdf | [pdf2txt](http://www.unixuser.org/~euske/python/pdfminer/)
|
2018-05-31 17:24:36 +10:00
|
|
|
.html | [html_syntax](http://www.html-tidy.org/) • [tidy](http://www.html-tidy.org/) • [html2text](http://www.mbayer.de/html2text/) • [pandoc](https://pandoc.org/)
|
2017-07-23 18:21:18 +01:00
|
|
|
.php | [php7_syntax](https://en.wikipedia.org/wiki/PHP)
|
2016-11-19 17:42:47 +01:00
|
|
|
.zip | [unzip](http://www.info-zip.org/UnZip.html)
|
2016-11-19 19:44:00 +01:00
|
|
|
.tar.gz .tgz | [tar_gz](http://www.gnu.org/software/tar/manual/tar.html)
|
|
|
|
|
.tar.bz2 | [tar_bz2](http://www.gnu.org/software/tar/manual/tar.html)
|
|
|
|
|
.a .so | [nm](https://linux.die.net/man/1/nm)
|
2017-03-28 22:53:03 +02:00
|
|
|
.png .jpg .gif .bmp .ppm .tiff .tga | [pil](http://python-pillow.github.io/) • [pil_half](http://python-pillow.github.io/)
|
2017-12-13 19:15:26 +10:00
|
|
|
.bash .sh .dash .ksh | [shellcheck](http://hackage.haskell.org/package/ShellCheck)
|
2018-05-31 12:06:36 +10:00
|
|
|
.go | [gofmt](https://golang.org) • [go_vet](https://golang.org) • [golint](https://github.com/golang/lint) • [godoc](http://golang.org/x/tools)
|
2018-05-31 12:22:34 +10:00
|
|
|
.yaml .yml | [yamllint](https://github.com/adrienverge/yamllint)
|
2018-05-31 18:37:34 +10:00
|
|
|
.md .epub .docx .odt .rst | [pandoc](https://pandoc.org/)
|
2018-06-02 10:15:22 +10:00
|
|
|
.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](https://mediaarea.net/MediaInfo)
|