Skip to content

Latest commit

 

History

History
68 lines (50 loc) · 2.38 KB

README.rst

File metadata and controls

68 lines (50 loc) · 2.38 KB

Quality Assurance for Plone projects

Life, the Universe, and Everything

Warning

The use of this configuration is deprecated in favor of plone.recipe.codeanalysis. Please use it and help us improving it.

Buildout configuration and tools for providing Quality Assurance for Plone projects.

Don't Panic

This repository contains a Buildout configuration to include Quality Assurance tools in Plone projects.

The following tools are provided:

createcoverage
Single script to create test coverage reports.
flake8 (DEPRECATED)
A wrapper around `Pyflakes, pep8 and Ned Batchelder's McCabe script.
coverage.sh
Single script to check if a minimum test coverage is assured (we could skip this if createcoverage could provide at some point this information directly).
rebuild_i18n.sh

Single script to synchronize i18n pot files with all translatable strings extracted form the package scripts and templates. Will also report any errors and suspect untranslated messages found.

If there is a variable 'package-languages' with the list of languages in the buildout section, this script will create automatically the initial structure of locales folder and files.

Use something like this:

[buildout] package-languages = es, pt_BR

z3c.dependencychecker
Checks which imports are done and compares them to what's in setup.py and warn when discovering missing or unneeded dependencies. This is becoming increasingly important with the arrive of Plone 4.3.
zptlint (DEPRECATED)
Runs the Zope Page Templates parser and output errors.

Mostly Harmless

Got an idea? Found a bug? Let me know by opening a support ticket.