Skip to content

Commit

Permalink
chore(deps): update dependency black to 22.3.0 (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwotherspoon authored Mar 29, 2022
1 parent 1752c5c commit a5da760
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def lint(session):
session.install(
"flake8==4.0.1",
"flake8-annotations==2.7.0",
"black==21.12b0",
"black==22.3.0",
"mypy==0.910",
"sqlalchemy-stubs==0.4",
"types-pkg-resources==0.1.3",
Expand All @@ -50,18 +50,6 @@ def lint(session):
session.run("twine", "check", "dist/*")


@nox.session
def blacken(session):
"""Run black.
Format code to uniform standard.
This currently uses Python 3.6 due to the automated Kokoro run of synthtool.
That run uses an image that doesn't have 3.6 installed. Before updating this
check the state of the `gcp_ubuntu_config` we use for that Kokoro run.
"""
session.install("black==21.12b0")
session.run("black", *BLACK_PATHS)


def default(session, path):
# Install all test dependencies, then install this package in-place.
session.install("-r", "requirements-test.txt")
Expand Down

0 comments on commit a5da760

Please sign in to comment.