Skip to content

Commit 380b343

Browse files
chore(python): use black==22.3.0 (#189)
Source-Link: googleapis/synthtool@6fab84a Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe
1 parent 3e4a46b commit 380b343

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

packages/google-auth-oauthlib/.github/.OwlBot.lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:4e1991042fe54b991db9ca17c8fb386e61b22fe4d1472a568bf0fcac85dcf5d3
16+
digest: sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe

packages/google-auth-oauthlib/docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,10 @@
361361
intersphinx_mapping = {
362362
"python": ("https://python.readthedocs.org/en/latest/", None),
363363
"google-auth": ("https://googleapis.dev/python/google-auth/latest/", None),
364-
"google.api_core": ("https://googleapis.dev/python/google-api-core/latest/", None,),
364+
"google.api_core": (
365+
"https://googleapis.dev/python/google-api-core/latest/",
366+
None,
367+
),
365368
"grpc": ("https://grpc.github.io/grpc/python/", None),
366369
"proto-plus": ("https://proto-plus-python.readthedocs.io/en/latest/", None),
367370
"protobuf": ("https://googleapis.dev/python/protobuf/latest/", None),

packages/google-auth-oauthlib/noxfile.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import nox
2525

2626

27-
BLACK_VERSION = "black==19.10b0"
27+
BLACK_VERSION = "black==22.3.0"
2828
BLACK_PATHS = ["docs", "google_auth_oauthlib", "tests", "noxfile.py", "setup.py"]
2929

3030
DEFAULT_PYTHON_VERSION = "3.8"
@@ -57,7 +57,9 @@ def lint(session):
5757
"""
5858
session.install("flake8", BLACK_VERSION)
5959
session.run(
60-
"black", "--check", *BLACK_PATHS,
60+
"black",
61+
"--check",
62+
*BLACK_PATHS,
6163
)
6264
session.run("flake8", *BLACK_PATHS)
6365

@@ -67,7 +69,8 @@ def blacken(session):
6769
"""Run black. Format code to uniform standard."""
6870
session.install(BLACK_VERSION)
6971
session.run(
70-
"black", *BLACK_PATHS,
72+
"black",
73+
*BLACK_PATHS,
7174
)
7275

7376

0 commit comments

Comments
 (0)