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

Check if xmlns is in use in .zcml (like .py import) #187

Open rodfersou opened 8 years ago

rodfersou commented 8 years ago

When there are xmlns declared without use into .zcml tags, we should take out the xmlns reference.

Like what happen in this pull request line.

do3cc commented 8 years ago

too bad xmllint does not do that out of the box :-(

rodfersou commented 8 years ago

true