[TIP] pylinrc in (py.test) testing directories
flub at devork.be
Mon Oct 27 03:06:21 PDT 2014
I'm trying out pylint for a new project and have a question about it's
configuration. As I understand it one can put a pylintrc file in a
python package to customise the errors reported. I thought this would
be ideal to silence missing-docstrings in test directories, however
this doesn't work with a typical py.test project layout:
Notice the lack of __init__.py in the testing/ directory, AFAIK this
is usually recommended in py.test so that it is not picked up by
setuptools as a package and installed. However it seems this means
the pylintrc file is not used.
Is there a common solution to this that I'm missing?
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org
More information about the testing-in-python