Skip to content

Commit

Permalink
Install latest version of black that supports Python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin committed May 31, 2022
1 parent 477eb08 commit 909aba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test(session):

@nox.session()
def format(session):
session.install("black", "isort")
session.install("black==21.12b0", "click==8.0.4", "isort")
session.run(
"black", "--target-version=py27", "--target-version=py37", *SOURCE_FILES
)
Expand All @@ -58,7 +58,7 @@ def format(session):

@nox.session
def lint(session):
session.install("flake8", "black", "isort")
session.install("flake8", "black==21.12b0", "click==8.0.4", "isort")
session.run(
"black",
"--check",
Expand Down

0 comments on commit 909aba8

Please sign in to comment.