nautobot / cookiecutter-nautobot-app

Cookiecutter template for creating new Nautobot Apps.
https://docs.nautobot.com/projects/cookiecutter-nautobot-app/en/latest/
Apache License 2.0
16 stars 5 forks source link

Remove new-db-field-with-default from migration tests. #185

Open smk4664 opened 1 month ago

smk4664 commented 1 month ago

Environment

Proposed Functionality

The rule is no longer relevant with the minimum version of Postgres being 12. This rule also cannot be disabled by using the pylint: disable=new-db-field-with-default inline.

https://github.com/pylint-dev/pylint-django/issues/296 https://docs.djangoproject.com/en/3.0/topics/migrations/#postgresql ( I am purposefully going to older docs as the Django 4.2 docs don't even mention it).