Skip to content

Commit d2432ef

Browse files
committed
Pin click to version compatible with black v21.12b0
1 parent 9faf95f commit d2432ef

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

noxfile.py

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

3737
@nox.session()
3838
def format(session):
39-
session.install("black==21.12b0", "isort")
39+
session.install("black==21.12b0", "click==8.0.4", "isort")
4040

4141
session.run("isort", "--profile=black", *SOURCE_FILES)
4242
session.run("black", "--target-version=py27", *SOURCE_FILES)
@@ -47,7 +47,9 @@ def format(session):
4747

4848
@nox.session()
4949
def lint(session):
50-
session.install("flake8", "black==21.12b0", "mypy", "isort", "types-requests")
50+
session.install(
51+
"flake8", "black==21.12b0", "click==8.0.4", "mypy", "isort", "types-requests"
52+
)
5153

5254
session.run("isort", "--check", "--profile=black", *SOURCE_FILES)
5355
session.run("black", "--target-version=py27", "--check", *SOURCE_FILES)

0 commit comments

Comments
 (0)