Package: vvv
VVV is a tool for easy validation and linting integration for your software project
containing multiple kinds of files. It integrates with version control and
prevents committing files containing bad formatting or syntax errors.An example use case would be a web project containing HTML, CSS, Javascript
and backend programming language files: with VVV you can check with a single command
all files conform the policy you set.UsageInstallationBenefitsFeaturesDocumentation and codeContinuous integration statusAuthorChangelog0.4.3 (2012-10-14)0.4.2 (2012-06-30)0.4.1 (2012-06-27)0.4.0 (2012-06-26)0.2.4 - 0.2.50.2.3 - 0.2.40.2.2 - 0.2.30.2.1 - 0.2.20.2 - 0.2.10.1.1 - 0.20.1 - 0.1.10.1UsageExample output from validating the demo repository where we find errors in a Python and a CSS file.
You enter the folder and runvvvagainst the current folder (.)$ vvv .
Running vvv against .
/Users/moo/code/vvv/demo/demo.py validation output:
************* Module demo
E0602:  1,9: Undefined variable 'get_magic'

W3C CSS Validator results for file:/Users/moo/code/vvv/demo/foobar.css

Line : 2 .foo
       Property backgrnd doesn&#39;t exist :
       yellowInstallationVVV is writte in inPythonprogramming language and is compatible withPython interpreter 2.7 or later, including 3.x series.Installating instructions forWindows-Linux-OSX.BenefitsEnforce coding conventions across multiple developersEnable linting and validators support for your software project with a single commandAutomatically guide committers to policy guidelines and let them fix errors themselves, instead of having
post-commit personal coaching.Provide sane default validation and linting options for all popular programming languages and file formatsRun VVV as continuous integration service with systems like Travis CI or Jenkins and shoot down bad code push-insWhat VVV doesn’t doThis is not automated testing tool. We just scan files against apolicy, not for
programming errors. Linting tools tend to pick up programming errors, too though,
like mistyped names.FeaturesSet-up for your software repository with two filesvalidation-options.yaml(configuration) andvalidation-files.yaml(whitelist/blacklist)VVV automatically downloads and locally installs required software - you don’t need to spend time hunting downloads or distribution packagesCheck file against hard tabs and whitespace policies - no more different tab width everPrevent committing hard source code breakpoints, like Python’simport pdb ; pdb.set_trace()Support (on its way) for Subversion, Git, Github, Travis CI, Jenkings and other popular version control and continuous integration
systemsDocumentation and codePlease see theVVV documentation.Source code is available on Github. Please use Github issue tracker
to contact the authors.Explore differentlinting and validators available.Continuous integration statusCurrent trunk continuous integration status with Travis CIAuthorMikko Ohtamaa (blog,Twitter)Please use Github issue tracker to contact the authors in the project related matters.Changelog0.4.3 (2012-10-14)Better instructions for running demo [miohtama]Handle missing options file more gracefully [miohtama]Added ZPT validator [matejc]Fixes for RST validator [matejc]Ghetto CI runs on Python 2.7 [miohtama]0.4.2 (2012-06-30)Windows compatibility confirmed [jsalonen]Fixed more issues with bad command line options [miohtama]0.4.1 (2012-06-27)Handle empty / missing config files more gracefully [miohtama]0.4.0 (2012-06-26)Python 2.7 compatibility added [miohtama]Refactored text plug-ins to silently ignore bad encoding [miohtama]Intelligent git pre-commit hook; check only changed files [miohtama]vvv-add-js-globals helper command added to add jslint global statements
to multiple Javascript files once [miohtama]Evil spacebar buster added [miohtama]jshintnow properly reads config files (was non-std parsing by Node.js argument library) [miohtama]Reorganized docs to have Tools section [miohtama]0.2.4 - 0.2.5Depend on docutils as RST validator soft-depends on it, but cannot install docutils in host environment [miohtama]0.2.3 - 0.2.4Correctly pick up RST validator script from path if not under virtualenv [miohtama]0.2.2 - 0.2.3More git hook silent install corner case fixes0.2.1 - 0.2.2Smarter way to detect vvv command location when installing a precommit hook [miohtama]Integration documentation updates [miohtama]0.2 - 0.2.1Fixed changelog formatting now that PyPi README page is intact again0.1.1 - 0.2pylint-commandoption added [miohtama]Ghetto-CI continuous integration script [miohtama]Configuration file reader refactored to something more beautiful [miohtama]Now you can VVV individual files [miohtama]VVV can walk up in the directory tree to find validation-options.yaml file [miohtama]Setzip_safe = Falseon the egg just in case [miohtama]0.1 - 0.1.1Added Github links to README [miohtama]0.1Initial release