From 917cd424b3fe865a772de740a2bd2b821ac70ee9 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Thu, 21 Oct 2021 14:23:54 +0000 Subject: [PATCH] chore: delete owlbot.py --- .github/.OwlBot.lock.yaml | 2 +- owlbot.py | 46 --------------------------------------- 2 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 owlbot.py diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 7d98291c..70dcbbba 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:58f73ba196b5414782605236dd0712a73541b44ff2ff4d3a36ec41092dd6fa5b + digest: sha256:3f66ebf145a16bb07a2fcbdb79bcb5743a791e3dc46015b0de22cacdd2875f64 diff --git a/owlbot.py b/owlbot.py deleted file mode 100644 index 2f22cc62..00000000 --- a/owlbot.py +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2018 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""This script is used to synthesize generated parts of this library.""" -import synthtool as s -from synthtool import gcp -from synthtool.languages import python - -common = gcp.CommonTemplates() - -default_version = "v1beta1" - -for library in s.get_staging_dirs(default_version): - s.move(library, excludes=["nox.py", "setup.py", "README.rst", "docs/index.rst", "google/cloud/errorreporting/"]) - -s.remove_staging_dirs() - -# ---------------------------------------------------------------------------- -# Add templated files -# ---------------------------------------------------------------------------- -templated_files = common.py_library( - samples=True, # set to True only if there are samples - microgenerator=True, - cov_level=98, -) -s.move(templated_files, excludes=[".coveragerc"]) # microgenerator has a good .coveragerc file - -# ---------------------------------------------------------------------------- -# Samples templates -# ---------------------------------------------------------------------------- -python.py_samples(skip_readmes=True) - - -s.shell.run(["nox", "-s", "blacken"], hide_output=False) -