pylint-dev / pylint

It's not just a linter that annoys you!
https://pylint.readthedocs.io/en/latest/
GNU General Public License v2.0
5.26k stars 1.12k forks source link

Ignore specific project folders or files #5855

Closed omonimus1 closed 2 years ago

omonimus1 commented 2 years ago

Question

Hi, in Django is easy to locally have a venv, migrations files, cache folders; How can I run pylint excluding the check on a list of folders or files?

Documentation for future user

README.md (and pipy website)

Additional context

No response

Pierre-Sassoulas commented 2 years ago

Here's a stackoverflow answer covering the subject : https://stackoverflow.com/questions/2503717/ignore-by-directory-using-pylint

Here's the pylint documentation: https://pylint.pycqa.org/en/latest/technical_reference/features.html?highlight=ignore-patterns#general-options

Please let me know how we could make the documentation better or more discoverable :)

omonimus1 commented 2 years ago

@Pierre-Sassoulas , thank you very much <3. It would be great to have a reference to this documentation in the README.md, (just after installation), as it is one of the first thinks that could be needed