8888# only run post processor when there are changes to the generated code
8989if has_generator_updates :
9090
91- # ----------------------------------------------------------------------------
92- # Add templated files
93- # ----------------------------------------------------------------------------
91+ # ----------------------------------------------------------------------------
92+ # Add templated files
93+ # ----------------------------------------------------------------------------
9494
9595 templated_files = common .py_library (
9696 cov_level = 98 ,
9797 system_test_python_versions = ["3.8" ],
98- unit_test_python_versions = ["3.8 " , "3.9 " , "3.10 " , "3.11 " ],
98+ unit_test_python_versions = ["3.7 " , "3.8 " , "3.9 " , "3.10 " ],
9999 unit_test_extras = ["testing" ],
100100 system_test_extras = ["testing" ],
101101 microgenerator = True ,
118118 ".github/PULL_REQUEST_TEMPLATE.md" ,
119119 ".github/workflows" , # exclude gh actions as credentials are needed for tests
120120 "README.rst" ,
121+ ".github/release-please.yml" , # use release please manifest
121122 ],
122123 ) # the microgenerator has a good coveragerc file
123124
124- # commenting out this line to omit method deletion
125- # python.py_samples(skip_readmes=True)
125+ python .py_samples (skip_readmes = True )
126126
127127 python .configure_previous_major_version_branches ()
128128
129129 # Update samples config to use `ucaip-sample-tests` project
130130 s .replace (
131131 ".kokoro/samples/python3.*/common.cfg" ,
132132 """env_vars: \{
133- key: "BUILD_SPECIFIC_GCLOUD_PROJECT"
134- value: "python-docs-samples-tests-.*?"
135- \}""" ,
133+ key: "BUILD_SPECIFIC_GCLOUD_PROJECT"
134+ value: "python-docs-samples-tests-.*?"
135+ \}""" ,
136136 """env_vars: {
137- key: "BUILD_SPECIFIC_GCLOUD_PROJECT"
138- value: "ucaip-sample-tests"
139- }""" ,
137+ key: "BUILD_SPECIFIC_GCLOUD_PROJECT"
138+ value: "ucaip-sample-tests"
139+ }""" ,
140140 )
141141
142142 s .replace (
158158 "\" alabaster\" ,\n \" google-cloud-aiplatform[prediction]\" " ,
159159 )
160160
161- s .shell .run (["nox" , "-s" , "blacken" ], hide_output = False )
161+ s .shell .run (["nox" , "-s" , "blacken" ], hide_output = False )
0 commit comments