Skip to content

Commit

Permalink
Merge branch 'main' into clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
arithmetic1728 authored Apr 5, 2022
2 parents 08a05ef + ae2804b commit 3a5b628
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()

# https://github.com/psf/black/issues/2964, pin click version to 8.0.4 to
# avoid incompatiblity with black.
CLICK_VERSION = "click==8.0.4"
BLACK_VERSION = "black==19.3b0"
BLACK_PATHS = [
"google",
Expand All @@ -33,7 +36,9 @@

@nox.session(python="3.7")
def lint(session):
session.install("flake8", "flake8-import-order", "docutils", BLACK_VERSION)
session.install(
"flake8", "flake8-import-order", "docutils", CLICK_VERSION, BLACK_VERSION
)
session.install("-e", ".")
session.run("black", "--check", *BLACK_PATHS)
session.run(
Expand All @@ -58,7 +63,7 @@ def blacken(session):
https://github.com/googleapis/synthtool/blob/master/docker/owlbot/python/Dockerfile
"""
session.install(BLACK_VERSION)
session.install(CLICK_VERSION, BLACK_VERSION)
session.run("black", *BLACK_PATHS)


Expand Down
Binary file modified system_tests/secrets.tar.enc
Binary file not shown.

0 comments on commit 3a5b628

Please sign in to comment.