From 1c0e9492da625ef402bc58b4824ca73c810c5faf Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 10 Apr 2025 17:03:45 +0000 Subject: [PATCH 1/2] 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 | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index c4e82889dc..51b21a62b7 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:023a21377a2a00008057f99f0118edadc30a19d1636a3fee47189ebec2f3921c -# created: 2025-03-31T16:51:40.130756953Z + digest: sha256:a7aef70df5f13313ddc027409fc8f3151422ec2a57ac8730fce8fa75c060d5bb +# created: 2025-04-10T17:00:10.042601326Z diff --git a/.gitignore b/.gitignore index 6b3c7fdbc2..62dde1b47f 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,7 @@ pip-log.txt .cache .pytest_cache .pytype +.pytype # Mac @@ -64,3 +65,4 @@ system_tests/local_test_setup pylintrc pylintrc.test .make/** +.make/** From 3d32f50cc383e8e8f76a1fec9fb18689df82b5ab Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Thu, 10 Apr 2025 13:07:39 -0400 Subject: [PATCH 2/2] Remove replacement in owlbot.py --- .gitignore | 2 -- owlbot.py | 25 ------------------------- 2 files changed, 27 deletions(-) diff --git a/.gitignore b/.gitignore index 62dde1b47f..6b3c7fdbc2 100644 --- a/.gitignore +++ b/.gitignore @@ -30,7 +30,6 @@ pip-log.txt .cache .pytest_cache .pytype -.pytype # Mac @@ -65,4 +64,3 @@ system_tests/local_test_setup pylintrc pylintrc.test .make/** -.make/** diff --git a/owlbot.py b/owlbot.py index 45e3f7a70d..e7a80b28ff 100644 --- a/owlbot.py +++ b/owlbot.py @@ -239,31 +239,6 @@ def system_emulated(session): system_test""", ) -# Add pytype support -s.replace( - ".gitignore", - """\ -.pytest_cache -""", - """\ -.pytest_cache -.pytype -""", -) - -s.replace( - ".gitignore", - """\ -pylintrc -pylintrc.test -""", - """\ -pylintrc -pylintrc.test -.make/** -""", -) - s.replace( "noxfile.py", """\