]> 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)
committerStephen Finucane <stephen@that.guru>
Tue, 10 May 2022 17:28:16 +0000 (18:28 +0100)
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>
(cherry picked from commit 77793ad6ebc8469a7af9b3be05b4f7e21c389b57)

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