Pylint: Disable specific warnings for specific folder : <p>We have a Python project laid out like this:</p>

<pre><code>project/
├── .pylintrc
├── module1.py
├── module2.py
└── tests/
    ├── test_module1.py
    └── test_module2.py
</code></pre>

<p>Our unit and function tests reside in the folder called <code>tests/</code>. When it comes to tests the pylint warnings <code>missing-docstring</code>, <code>invalid-name</code> and <code>protected-access</code> are not relevant. On the other hand, these warnings are very useful for the actual code in the project.</p>

<p>My question is whether it is possible to add ignores for <code>missing-docstring</code>, <code>invalid-name</code> and <code>protected-access</code> in the <code>.pylintrc</code>-file that apply to modules in the <code>tests/</code>-folder <em>only</em>?</p>

<p>If possible, we do not want to add <code>#</code>-disables for these warnings to every test-module inside the folder.</p>
