Hi folks,
according to this bug report:
https://github.com/PyCQA/pylint-django/issues/167#issuecomment-401304800


when there is a .pylintrc file with an ignore line inside of it it this overrides the black_list options configured by plugins. In the case of pylint_django we would like to ignore some directories (like migrations) and this breaks.

In pylint_django we have:

def register(linter):
    linter.config.black_list += ('migrations', 'south_migrations')


and from what I can tell after this is set something calls OptionsProviderMixIn.set_option and overrides it afterwards.


Is that a desired behavior or a bug?

If this is a bug where should I look if I want to contribute a patch ?


Regards,
Alex

_______________________________________________
code-quality mailing list
code-quality@python.org
https://mail.python.org/mailman/listinfo/code-quality

Reply via email to