summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--constraints.txt1
-rw-r--r--tox.ini3
2 files changed, 4 insertions, 0 deletions
diff --git a/constraints.txt b/constraints.txt
new file mode 100644
index 00000000..579c9ad8
--- /dev/null
+++ b/constraints.txt
@@ -0,0 +1 @@
black<24
diff --git a/tox.ini b/tox.ini
index d87fa4b9..f8bfc777 100644
--- a/tox.ini
+++ b/tox.ini
@@ -30,6 +30,7 @@ python =
30 30
31[testenv] 31[testenv]
32deps = 32deps =
33 -c constraints.txt
33 black 34 black
34 flake8 35 flake8
35 isort 36 isort
@@ -44,6 +45,7 @@ setenv =
44[testenv:lint] 45[testenv:lint]
45skip_install = true 46skip_install = true
46deps = 47deps =
48 -c constraints.txt
47 black 49 black
48 flake8 50 flake8
49commands = 51commands =
@@ -53,6 +55,7 @@ commands =
53[testenv:format] 55[testenv:format]
54skip_install = true 56skip_install = true
55deps = 57deps =
58 -c constraints.txt
56 black 59 black
57 flake8 60 flake8
58commands = 61commands =