forked from googleapis/google-auth-library-python-oauthlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsynth.py
More file actions
21 lines (18 loc) · 661 Bytes
/
Copy pathsynth.py
File metadata and controls
21 lines (18 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import synthtool as s
from synthtool import gcp
common = gcp.CommonTemplates()
# ----------------------------------------------------------------------------
# Add templated files
# ----------------------------------------------------------------------------
templated_files = common.py_library(
cov_level=99,
unit_test_external_dependencies=["click"],
unit_test_python_versions=["3.6", "3.7", "3.8", "3.9"],
)
s.move(templated_files, excludes=["docs/multiprocessing.rst"])
# Change black paths
s.replace(
"noxfile.py",
"""BLACK_PATHS =.*""",
"""BLACK_PATHS = ["docs", "google_auth_oauthlib", "tests", "noxfile.py", "setup.py"]""",
)