Suppose I have the following directory structure:
adir/
__init__.py
afile.py
bdir/
__init__.py
bfile.py
adir/
__init__.py
afile.py
I want to run pylint on everything, except the directory bdir/adir
.
Is there any way to do this? Things that do not work:
--ignore=bdir/adir
--ignore_patterns=.*bdir/adir.*
- Any of the answers in this similar post
--ignore=adir
(this will ignore both of theadir
's - not what I want).
It seems that pylint's ignore-filters only work with the name of the file or directory, not the full path.
Is there any way to achieve this?