]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
migrations: ignore flake8 on 0041_python3
authorDaniel Axtens <dja@axtens.net>
Thu, 19 Aug 2021 03:04:26 +0000 (13:04 +1000)
committerDaniel Axtens <dja@axtens.net>
Mon, 23 Aug 2021 02:05:13 +0000 (12:05 +1000)
commit 3a979ed8bfc6 ("migrations: don't go to the db for 0041_python3 migration")
made a bunch of strings go past 79 characters, breaking flake8 checks.

`black` doesn't seem to fix this and reflowing the strings manually is
error-prone.

We're not really expecting future changes to this file so just don't run
flake8 against it.

Fixes: 3a979ed8bfc6 ("migrations: don't go to the db for 0041_python3 migration")
Signed-off-by: Daniel Axtens <dja@axtens.net>
patchwork/migrations/0041_python3.py

index 25d5de4b66e3192fadc8b3baa0dd2453b41a0293..b9316bac04ea2bd342463deb46dc84eeaf55ae12 100644 (file)
@@ -1,3 +1,11 @@
+# commit 3a979ed8bfc6 ("migrations: don't go to the db for 0041_python3 migration")
+# made a bunch of strings go past 79 characters, breaking flake8 checks.
+#
+# We're not really expecting future changes to this file so just don't run
+# flake8 against it.
+#
+# flake8: noqa
+
 import datetime
 
 from django.conf import settings