From ac635a6c6fa0aba562a25ff5cbfd9c2f99db0a14 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 10 Apr 2025 17:02:57 +0000 Subject: [PATCH 1/3] chore(python): remove .gitignore from templates Source-Link: https://github.com/googleapis/synthtool/commit/419d94cdddd0d859ac6743ffebd177693c8a027f Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:a7aef70df5f13313ddc027409fc8f3151422ec2a57ac8730fce8fa75c060d5bb --- .github/.OwlBot.lock.yaml | 4 ++-- .gitignore | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index a6d11c019..51b21a62b 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:5581906b957284864632cde4e9c51d1cc66b0094990b27e689132fe5cd036046 -# created: 2025-03-04 + digest: sha256:a7aef70df5f13313ddc027409fc8f3151422ec2a57ac8730fce8fa75c060d5bb +# created: 2025-04-10T17:00:10.042601326Z diff --git a/.gitignore b/.gitignore index 168b201f6..68c853f69 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,7 @@ pip-log.txt .cache .pytest_cache .pytype +.pytype # Mac From 689572949b29705a0657eba73b3ab1341b7c642e Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 10 Apr 2025 17:05:10 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 68c853f69..28fa586c4 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,7 @@ pip-log.txt .pytest_cache .pytype .pytype +.pytype # Mac From 89d684aca95b651811a939efa27c525f19b6c46a Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Thu, 10 Apr 2025 13:12:58 -0400 Subject: [PATCH 3/3] Remove replacement in owlbot.py --- .gitignore | 2 -- owlbot.py | 13 ------------- 2 files changed, 15 deletions(-) diff --git a/.gitignore b/.gitignore index 28fa586c4..168b201f6 100644 --- a/.gitignore +++ b/.gitignore @@ -30,8 +30,6 @@ pip-log.txt .cache .pytest_cache .pytype -.pytype -.pytype # Mac diff --git a/owlbot.py b/owlbot.py index c8c76542d..58bc75170 100644 --- a/owlbot.py +++ b/owlbot.py @@ -26,7 +26,6 @@ excludes = [ "noxfile.py", # pytype "setup.cfg", # pytype - ".flake8", # flake8-import-order, layout ".coveragerc", # layout "CONTRIBUTING.rst", # no systests ".github/workflows/unittest.yml", # exclude unittest gh action @@ -36,18 +35,6 @@ templated_files = common.py_library(microgenerator=True, cov_level=100) s.move(templated_files, excludes=excludes) -# Add pytype support -s.replace( - ".gitignore", - """\ -.pytest_cache -""", - """\ -.pytest_cache -.pytype -""", -) - python.configure_previous_major_version_branches() s.shell.run(["nox", "-s", "blacken"], hide_output=False)