Skip to content

Commit 46c3e66

Browse files
chore(python): Noxfile recognizes that tests can live in a folder (#696)
* chore(python): Noxfile recognizes that tests can live in a folder Source-Link: googleapis/synthtool@4760d8d Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f0e4b51deef56bed74d3e2359c583fc104a8d6367da3984fc5c66938db738828 * update owlbot.py to remove python 3.6 samples * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent 8789afa commit 46c3e66

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docker:
22
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
3-
digest: sha256:ae600f36b6bc972b368367b6f83a1d91ec2c82a4a116b383d67d547c56fe6de3
3+
digest: sha256:f0e4b51deef56bed74d3e2359c583fc104a8d6367da3984fc5c66938db738828

.github/CODEOWNERS

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
#
44
# For syntax help see:
55
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
6+
# Note: This file is autogenerated. To make changes to the codeowner team, please update .repo-metadata.json.
67

8+
# @googleapis/yoshi-python @googleapis/cloud-storage-dpe are the default owners for changes in this repo
9+
* @googleapis/yoshi-python @googleapis/cloud-storage-dpe
710

8-
# The cloud-storage-dpe team is the default owner for anything not
9-
# explicitly taken by someone else.
10-
* @googleapis/cloud-storage-dpe @googleapis/yoshi-python
11-
12-
# Additionally, the python-samples-owners team is also among
13-
# the default owners for samples changes.
14-
/samples/ @googleapis/cloud-storage-dpe @googleapis/yoshi-python @googleapis/python-samples-owners
11+
# @googleapis/python-samples-reviewers @googleapis/cloud-storage-dpe are the default owners for samples changes
12+
/samples/ @googleapis/python-samples-reviewers @googleapis/cloud-storage-dpe

owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"noxfile.py",
4646
"renovate.json", # do not bundle reports
4747
"CONTRIBUTING.rst",
48-
".github/CODEOWNERS",
48+
".kokoro/samples/python3.6", # remove python 3.6 support
4949
],
5050
)
5151

samples/snippets/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ def _session_tests(
187187
) -> None:
188188
# check for presence of tests
189189
test_list = glob.glob("*_test.py") + glob.glob("test_*.py")
190+
test_list.extend(glob.glob("tests"))
190191
if len(test_list) == 0:
191192
print("No tests found, skipping directory.")
192193
else:

0 commit comments

Comments
 (0)