python - pylint: ignore multiple in rcfile -


in django project i'm using externally written app badly written. want ignore app pylint reporting, can't pylint ignore it. pylint ignoring south migrations, this:

[master] ignore=migrations 

however, documentation states multiple ignores can specified. i've tried few , couldn't them work.

doesn't work:

[master] ignore=migrations,badapp 

also doesn't work:

[master] ignore=migrations ignore=badapp 

my project structure this:

|-- goodapp |    |-- models.py |    |-- tests.py |    +-- views.py |-- badapp |    |-- models.py |    |-- tests.py |    +-- views.py |-- manage.py 

i'd rather not sprinkle code # pylint: skip-file, rather configure pylint using rcfile.

ignore can set multiple times when given command line option, eg

pylint --ignore=migrations --ignore=badapp mymodule.py 

but not in configuration file (see configparser documentation). though

[master] ignore=migrations,badapp 

should work, if not should reported bug.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -