Skip to content

Commit 78cca1a

Browse files
pquentinmiriam-eid
authored andcommitted
[7.x] Install latest version of black that supports Python 2.7
1 parent 44ed6d2 commit 78cca1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test(session):
4646

4747
@nox.session()
4848
def format(session):
49-
session.install("black", "isort")
49+
session.install("black==21.12b0", "click==8.0.4", "isort")
5050
session.run(
5151
"black", "--target-version=py27", "--target-version=py37", *SOURCE_FILES
5252
)
@@ -58,7 +58,7 @@ def format(session):
5858

5959
@nox.session
6060
def lint(session):
61-
session.install("flake8", "black", "isort")
61+
session.install("flake8", "black==21.12b0", "click==8.0.4", "isort")
6262
session.run(
6363
"black",
6464
"--check",

0 commit comments

Comments
 (0)