|
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 re |
24 | 25 | import shutil |
| 26 | +from typing import Dict, List |
25 | 27 | import warnings |
26 | 28 |
|
27 | 29 | import nox |
28 | 30 |
|
29 | 31 | FLAKE8_VERSION = "flake8==6.1.0" |
30 | | -BLACK_VERSION = "black==22.3.0" |
31 | | -ISORT_VERSION = "isort==5.10.1" |
| 32 | +BLACK_VERSION = "black[jupyter]==23.7.0" |
| 33 | +ISORT_VERSION = "isort==5.11.0" |
32 | 34 | LINT_PATHS = ["docs", "sqlalchemy_bigquery", "tests", "noxfile.py", "setup.py"] |
33 | 35 |
|
34 | 36 | DEFAULT_PYTHON_VERSION = "3.8" |
35 | 37 |
|
36 | | -UNIT_TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11"] |
| 38 | +UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.9", "3.10", "3.11"] |
37 | 39 | UNIT_TEST_STANDARD_DEPENDENCIES = [ |
38 | 40 | "mock", |
39 | 41 | "asyncmock", |
40 | 42 | "pytest", |
41 | 43 | "pytest-cov", |
42 | 44 | "pytest-asyncio", |
43 | 45 | ] |
44 | | -UNIT_TEST_EXTERNAL_DEPENDENCIES = [] |
45 | | -UNIT_TEST_LOCAL_DEPENDENCIES = [] |
46 | | -UNIT_TEST_DEPENDENCIES = [] |
47 | | -UNIT_TEST_EXTRAS = [ |
| 46 | +UNIT_TEST_EXTERNAL_DEPENDENCIES: List[str] = [] |
| 47 | +UNIT_TEST_LOCAL_DEPENDENCIES: List[str] = [] |
| 48 | +UNIT_TEST_DEPENDENCIES: List[str] = [] |
| 49 | +UNIT_TEST_EXTRAS: List[str] = [ |
48 | 50 | "tests", |
49 | 51 | ] |
50 | | -UNIT_TEST_EXTRAS_BY_PYTHON = { |
| 52 | +UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = { |
51 | 53 | "3.8": [ |
52 | 54 | "tests", |
53 | 55 | "alembic", |
|
60 | 62 | ], |
61 | 63 | } |
62 | 64 |
|
63 | | -SYSTEM_TEST_PYTHON_VERSIONS = ["3.8", "3.11"] |
64 | | -SYSTEM_TEST_STANDARD_DEPENDENCIES = [ |
| 65 | +SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.11"] |
| 66 | +SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [ |
65 | 67 | "mock", |
66 | 68 | "pytest", |
67 | 69 | "google-cloud-testutils", |
68 | 70 | ] |
69 | | -SYSTEM_TEST_EXTERNAL_DEPENDENCIES = [] |
70 | | -SYSTEM_TEST_LOCAL_DEPENDENCIES = [] |
71 | | -SYSTEM_TEST_DEPENDENCIES = [] |
72 | | -SYSTEM_TEST_EXTRAS = [ |
| 71 | +SYSTEM_TEST_EXTERNAL_DEPENDENCIES: List[str] = [] |
| 72 | +SYSTEM_TEST_LOCAL_DEPENDENCIES: List[str] = [] |
| 73 | +SYSTEM_TEST_DEPENDENCIES: List[str] = [] |
| 74 | +SYSTEM_TEST_EXTRAS: List[str] = [ |
73 | 75 | "tests", |
74 | 76 | ] |
75 | | -SYSTEM_TEST_EXTRAS_BY_PYTHON = { |
| 77 | +SYSTEM_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = { |
76 | 78 | "3.8": [ |
77 | 79 | "tests", |
78 | 80 | "alembic", |
|
96 | 98 | "lint_setup_py", |
97 | 99 | "blacken", |
98 | 100 | "docs", |
| 101 | + "format", |
99 | 102 | ] |
100 | 103 |
|
101 | 104 | # Error if a python version is missing |
@@ -223,7 +226,6 @@ def unit(session): |
223 | 226 |
|
224 | 227 |
|
225 | 228 | def install_systemtest_dependencies(session, *constraints): |
226 | | - |
227 | 229 | # Use pre-release gRPC for system tests. |
228 | 230 | # Exclude version 1.52.0rc1 which has a known issue. |
229 | 231 | # See https://github.com/grpc/grpc/issues/32163 |
|
0 commit comments