From 6262090f89b7614c2648af53269c3e9a85ba93e0 Mon Sep 17 00:00:00 2001
From: Matt Westcott <matt@west.co.tt>
Date: Fri, 2 Sep 2022 11:38:11 +0100
Subject: [PATCH] Pin flake8 to a version that's known good against the 2.16
 codebase

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 9673bc5e7c..7002c8733c 100755
--- a/setup.py
+++ b/setup.py
@@ -55,7 +55,7 @@ testing_extras = [
 
     # For coverage and PEP8 linting
     'coverage>=3.7.0',
-    'flake8>=3.6.0',
+    'flake8==4.0.1',
     'isort==5.6.4',  # leave this pinned - it tends to change rules between patch releases
     'flake8-blind-except==0.1.1',
     'flake8-print==2.0.2',