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): class Migration(migrations.Migration):
dependencies = [ dependencies = [
('bookwyrm', '0134_announcement_display_type'), ("bookwyrm", "0134_announcement_display_type"),
] ]
operations = [ operations = [
migrations.RenameField( migrations.RenameField(
model_name='author', model_name="author",
old_name='viaf_id', old_name="viaf_id",
new_name='viaf', new_name="viaf",
), ),
migrations.RemoveField( migrations.RemoveField(
model_name='edition', model_name="edition",
name='asin', name="asin",
), ),
migrations.AddField( migrations.AddField(
model_name='author', model_name="author",
name='asin', name="asin",
field=bookwyrm.models.fields.CharField(blank=True, max_length=255, null=True), field=bookwyrm.models.fields.CharField(
blank=True, max_length=255, null=True
),
), ),
migrations.AddField( migrations.AddField(
model_name='author', model_name="author",
name='wikidata', name="wikidata",
field=bookwyrm.models.fields.CharField(blank=True, max_length=255, null=True), field=bookwyrm.models.fields.CharField(
blank=True, max_length=255, null=True
),
), ),
migrations.AddField( migrations.AddField(
model_name='book', model_name="book",
name='asin', name="asin",
field=bookwyrm.models.fields.CharField(blank=True, max_length=255, null=True), field=bookwyrm.models.fields.CharField(
blank=True, max_length=255, null=True
),
), ),
migrations.AddField( migrations.AddField(
model_name='book', model_name="book",
name='viaf', name="viaf",
field=bookwyrm.models.fields.CharField(blank=True, max_length=255, null=True), field=bookwyrm.models.fields.CharField(
blank=True, max_length=255, null=True
),
), ),
migrations.AddField( migrations.AddField(
model_name='book', model_name="book",
name='wikidata', name="wikidata",
field=bookwyrm.models.fields.CharField(blank=True, max_length=255, null=True), field=bookwyrm.models.fields.CharField(
blank=True, max_length=255, null=True
),
), ),
] ]

View file

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