ruff check produces false positive DJ012 for Django models like so:
class Person(models.Model):
name = models.CharField(xxxx)
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
<some custom code>
def save(*args, **kwargs):
super().save(*args, `**kwargs)
According to Python best practices, dunder methods should always be kept at the beginning of the class.
But since save() is a Django method which is after other methods method it invokes error.
DJ012 should obey other Python class structuring, before evaluating Django styleguide.