Python formatting

This commit is contained in:
Mouse Reeve 2022-02-17 08:42:12 -08:00
parent a2c4dd4f9f
commit c04d2d285b
2 changed files with 32 additions and 22 deletions

View file

@ -7,42 +7,52 @@ from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('bookwyrm', '0134_announcement_display_type'),
("bookwyrm", "0134_announcement_display_type"),
]
operations = [
migrations.RenameField(
model_name='author',
old_name='viaf_id',
new_name='viaf',
model_name="author",
old_name="viaf_id",
new_name="viaf",
),
migrations.RemoveField(
model_name='edition',
name='asin',
model_name="edition",
name="asin",
),
migrations.AddField(
model_name='author',
name='asin',
field=bookwyrm.models.fields.CharField(blank=True, max_length=255, null=True),
model_name="author",
name="asin",
field=bookwyrm.models.fields.CharField(
blank=True, max_length=255, null=True
),
),
migrations.AddField(
model_name='author',
name='wikidata',
field=bookwyrm.models.fields.CharField(blank=True, max_length=255, null=True),
model_name="author",
name="wikidata",
field=bookwyrm.models.fields.CharField(
blank=True, max_length=255, null=True
),
),
migrations.AddField(
model_name='book',
name='asin',
field=bookwyrm.models.fields.CharField(blank=True, max_length=255, null=True),
model_name="book",
name="asin",
field=bookwyrm.models.fields.CharField(
blank=True, max_length=255, null=True
),
),
migrations.AddField(
model_name='book',
name='viaf',
field=bookwyrm.models.fields.CharField(blank=True, max_length=255, null=True),
model_name="book",
name="viaf",
field=bookwyrm.models.fields.CharField(
blank=True, max_length=255, null=True
),
),
migrations.AddField(
model_name='book',
name='wikidata',
field=bookwyrm.models.fields.CharField(blank=True, max_length=255, null=True),
model_name="book",
name="wikidata",
field=bookwyrm.models.fields.CharField(
blank=True, max_length=255, null=True
),
),
]

View file

@ -1 +1 @@
black==21.4b2
black==22.1.0