Open erayerdin opened 4 years ago
I thought this would not be a problem but there's a small issue. When using help_text
on model fields, you can use multiple lines.
However, the generated migration files take the values of help_text
and put it on a single line, which results in black continuously failing unless the help_text
s on migration files are updated by hand.
I don't really know it is really necessary to ignore migration files from Black. I will add some thesis and antithesis below, which I will add to in time.
Leaving migrations as is, to me, sounds better. That's mainly because migrations are generated by computer. On the other hand, developers might edit migrations by hand and they might desire formatting functionality then.