|
17 | 17 | # Generated by synthtool. DO NOT EDIT! |
18 | 18 |
|
19 | 19 | from __future__ import absolute_import |
| 20 | + |
20 | 21 | import os |
21 | 22 | import pathlib |
22 | 23 | import re |
23 | 24 | import shutil |
| 25 | +from typing import Dict, List |
24 | 26 | import warnings |
25 | 27 |
|
26 | 28 | import nox |
27 | 29 |
|
28 | 30 | FLAKE8_VERSION = "flake8==6.1.0" |
29 | | -BLACK_VERSION = "black==22.3.0" |
30 | | -ISORT_VERSION = "isort==5.10.1" |
| 31 | +BLACK_VERSION = "black[jupyter]==23.7.0" |
| 32 | +ISORT_VERSION = "isort==5.11.0" |
31 | 33 | LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] |
32 | 34 |
|
33 | 35 | DEFAULT_PYTHON_VERSION = "3.8" |
34 | 36 |
|
35 | | -UNIT_TEST_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10", "3.11"] |
| 37 | +UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.10", "3.11"] |
36 | 38 | UNIT_TEST_STANDARD_DEPENDENCIES = [ |
37 | 39 | "mock", |
38 | 40 | "asyncmock", |
39 | 41 | "pytest", |
40 | 42 | "pytest-cov", |
41 | 43 | "pytest-asyncio", |
42 | 44 | ] |
43 | | -UNIT_TEST_EXTERNAL_DEPENDENCIES = [] |
44 | | -UNIT_TEST_LOCAL_DEPENDENCIES = [] |
45 | | -UNIT_TEST_DEPENDENCIES = [] |
46 | | -UNIT_TEST_EXTRAS = [] |
47 | | -UNIT_TEST_EXTRAS_BY_PYTHON = {} |
48 | | - |
49 | | -SYSTEM_TEST_PYTHON_VERSIONS = ["3.8"] |
50 | | -SYSTEM_TEST_STANDARD_DEPENDENCIES = [ |
| 45 | +UNIT_TEST_EXTERNAL_DEPENDENCIES: List[str] = [] |
| 46 | +UNIT_TEST_LOCAL_DEPENDENCIES: List[str] = [] |
| 47 | +UNIT_TEST_DEPENDENCIES: List[str] = [] |
| 48 | +UNIT_TEST_EXTRAS: List[str] = [] |
| 49 | +UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} |
| 50 | + |
| 51 | +SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8"] |
| 52 | +SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [ |
51 | 53 | "mock", |
52 | 54 | "pytest", |
53 | 55 | "google-cloud-testutils", |
54 | 56 | ] |
55 | | -SYSTEM_TEST_EXTERNAL_DEPENDENCIES = [] |
56 | | -SYSTEM_TEST_LOCAL_DEPENDENCIES = [] |
57 | | -SYSTEM_TEST_DEPENDENCIES = [] |
58 | | -SYSTEM_TEST_EXTRAS = [] |
59 | | -SYSTEM_TEST_EXTRAS_BY_PYTHON = {} |
| 57 | +SYSTEM_TEST_EXTERNAL_DEPENDENCIES: List[str] = [] |
| 58 | +SYSTEM_TEST_LOCAL_DEPENDENCIES: List[str] = [] |
| 59 | +SYSTEM_TEST_DEPENDENCIES: List[str] = [] |
| 60 | +SYSTEM_TEST_EXTRAS: List[str] = [] |
| 61 | +SYSTEM_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} |
60 | 62 |
|
61 | 63 | CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute() |
62 | 64 |
|
|
69 | 71 | "lint_setup_py", |
70 | 72 | "blacken", |
71 | 73 | "docs", |
| 74 | + "format", |
72 | 75 | ] |
73 | 76 |
|
74 | 77 | # Error if a python version is missing |
@@ -187,7 +190,6 @@ def unit(session): |
187 | 190 |
|
188 | 191 |
|
189 | 192 | def install_systemtest_dependencies(session, *constraints): |
190 | | - |
191 | 193 | # Use pre-release gRPC for system tests. |
192 | 194 | # Exclude version 1.52.0rc1 which has a known issue. |
193 | 195 | # See https://github.com/grpc/grpc/issues/32163 |
|
0 commit comments