Skip to content

Commit

Permalink
chore: Disable black format check for embedded SQL
Browse files Browse the repository at this point in the history
  • Loading branch information
MRigal committed Oct 21, 2020
1 parent 6c31343 commit 3295f7b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@ class Migration(migrations.Migration):
name="thumbnail",
table="django_video_encoder_thumbnail",
),
# Black doesn't like SQL statements `\"`
# fmt: off
# Pre-faking the initial migrations as the upcoming version breaks also migration
# history
migrations.RunSQL(
"INSERT INTO django_migrations (\"app\", \"name\", \"applied\") "
"VALUES ('django_video_encoder', '0001_initial', NOW());"
),
# fmt: on
]

0 comments on commit 3295f7b

Please sign in to comment.