googleapis / googleapis/google-cloud-python

ci: enable --strict flag in presubmit twine_check

未关闭 适合新手
#18,339 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
5.4k
派生
1.8k
平均合并
3 天 4 小时
30 天内合并 PR
122

描述

## Overview
The presubmit `twine_check` step in `ci/run_single_test.sh` currently runs `twine check dist/*` without `--strict` to avoid false-positive failures caused by missing `long_description_content_type` metadata in existing `setup.py` files (see #18211).
## Goal
Once `long_description_content_type="text/x-rst"` is populated across package `setup.py` files via #18211, re-enable the `--strict` flag in `ci/run_single_test.sh`:
```bash
twine check --strict dist/*

贡献指南

打开贡献指南

调研方向

After #18211 populates long_description_content_type in the package setup.py files, open ci/run_single_test.sh and locate the presubmit twine_check command. Enable --strict for the dist/* check, then verify the presubmit check completes successfully with the stricter validation.

由索引模型根据 Issue 内容生成。

评估

技术栈
python, shell
领域
build-system, ci-cd
Issue 类型
功能
难度
1/5
预计耗时
1 小时以内
活跃度
活跃
描述清晰度
描述清楚
新手友好度
76/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。