Skip to content

Commit 8da1fa9

Browse files
chore(python): remove .gitignore from templates (#815)
* chore(python): remove .gitignore from templates Source-Link: googleapis/synthtool@419d94c Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:a7aef70df5f13313ddc027409fc8f3151422ec2a57ac8730fce8fa75c060d5bb * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Remove replacement in owlbot.py --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 1ca7973 commit 8da1fa9

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:5581906b957284864632cde4e9c51d1cc66b0094990b27e689132fe5cd036046
17-
# created: 2025-03-04
16+
digest: sha256:a7aef70df5f13313ddc027409fc8f3151422ec2a57ac8730fce8fa75c060d5bb
17+
# created: 2025-04-10T17:00:10.042601326Z

owlbot.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
excludes = [
2727
"noxfile.py", # pytype
2828
"setup.cfg", # pytype
29-
".flake8", # flake8-import-order, layout
3029
".coveragerc", # layout
3130
"CONTRIBUTING.rst", # no systests
3231
".github/workflows/unittest.yml", # exclude unittest gh action
@@ -36,18 +35,6 @@
3635
templated_files = common.py_library(microgenerator=True, cov_level=100)
3736
s.move(templated_files, excludes=excludes)
3837

39-
# Add pytype support
40-
s.replace(
41-
".gitignore",
42-
"""\
43-
.pytest_cache
44-
""",
45-
"""\
46-
.pytest_cache
47-
.pytype
48-
""",
49-
)
50-
5138
python.configure_previous_major_version_branches()
5239

5340
s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 commit comments

Comments
 (0)