pylint has a weird convention that I am trying to wrap my head around. I have the following tuple:
translations = TranslatedFields(
first_name=models.CharField(max_length=255),
last_name=models.CharField(max_length=255),
discipline=models.CharField(max_length=100, blank=True, null=True)
)
My pylint config is the following for spaces and indentation:
indent-string='\t'
indent-after-paren=1
This gives me C0330 Wrong hanging indentation (add 7 spaces). Adding 7 spaces looks like the following:
translations = TranslatedFields(
first_name=models.CharField(max_length=255),
last_name=models.CharField(max_length=255),
discipline=models.CharField(max_length=100, blank=True, null=True)
)
What is the reasoning behind this convention? I am using Django + Django Parler and this is the only way to write these model attributes.
Is there a way to "hack" it or should I just disable this warning?