Skip to content

Commit

Permalink
Pin click to version compatible with black v21.12b0
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmlarson committed Apr 13, 2022
1 parent 9faf95f commit d2432ef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions noxfile.py
Expand Up @@ -36,7 +36,7 @@ def test(session):

@nox.session()
def format(session):
session.install("black==21.12b0", "isort")
session.install("black==21.12b0", "click==8.0.4", "isort")

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

@nox.session()
def lint(session):
session.install("flake8", "black==21.12b0", "mypy", "isort", "types-requests")
session.install(
"flake8", "black==21.12b0", "click==8.0.4", "mypy", "isort", "types-requests"
)

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

0 comments on commit d2432ef

Please sign in to comment.