Skip to content

Commit 909aba8

Browse files
authored
Install latest version of black that supports Python 2.7
1 parent 477eb08 commit 909aba8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

noxfile.py

+2-2
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)