plone / plone.recipe.codeanalysis

provides static code analysis for Buildout-based Python projects, including flake8, JSHint, CSS Lint, and other code checks
https://pypi.org/project/plone.recipe.codeanalysis/
11 stars 8 forks source link

Add 'find-untranslated-no-summary' option for i18ndude. #215

Closed thomasmassmann closed 6 years ago

thomasmassmann commented 6 years ago

For bigger projects with a lot of pt files it's very hard to see the problematic templates if every file, even correct ones, is printed to the command line. This option (default to false, so no change in current installations) enables the --no-summary mode for i18ndude, which only shows the errors for each file.

gforcada commented 6 years ago

@tmassman please rebase on top of current master so that travis jobs have a green base 🙂

tisto commented 6 years ago

I am wondering if it would make sense to add a more generic i18ndude command line parameter. Otherwise we would have to add a new p.r.codeanalysis option for every i18ndude param that exists.

thomasmassmann commented 6 years ago

@tisto, there are only two params for the find-untranslated command, and no other i18ndude command is used in p.r.codeanalysis. But if you have a suggestion on how to best do it here, please let me know.

thomasmassmann commented 6 years ago

@gforcada rebase is done, what do you think?