From 684bc7600765de98976f9fb89bb5e51711e9eee9 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Tue, 1 Feb 2022 16:05:07 -0500
Subject: [PATCH] Pin lint dependencies so the PyPI db update doesn't change
 them

---
 tests.nix | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/tests.nix b/tests.nix
index 0d7f6a7..1e63306 100644
--- a/tests.nix
+++ b/tests.nix
@@ -36,10 +36,12 @@ let
 
     lint-python = mach-nix.mkPython {
       python = "python39";
+      # Pin these narrowly so that lint rules only change when we specifically
+      # want them to.
       requirements = ''
-        isort
-        black
-        flake8
+        isort == 5.10.1
+        black == 21.12b0
+        flake8 == 4.0.1
       '';
     };
 
-- 
GitLab