pylint-django
pylint-django copied to clipboard
I can't seem to disable new-db-field-with-default message
I'm working on new migrations for which I use a default value for a field and I get:
AddField with default value (new-db-field-with-default)
I have # pylint: disable=new-db-field-with-default
in my source files but that doesn't seem to help, https://github.com/kiwitcms/Kiwi/pull/1957/commits/20fed40d1d98a192b8c3b7f2ee12d6a5d1b51d64 (second commit in the PR).
I thought this is a similar issue to #278 / #280 but as far as I can see we have @utils.check_messages()
decorator here.
@carlio any ideas here ? I'm looking at the source but not seeing anything obvious. Will try debugging in the next few days.
pip freeze | grep pylint
pylint==2.6.0
pylint-django==2.3.0
pylint-plugin-utils==0.6