Need help: pylintrc breaks black_list from plugins

29 Jun
2018
29 Jun
'18
10:44 a.m.
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
1923
Age (days ago)
1923
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexander Todorov