googleapis / googleapis/google-cloud-python
ci: enable --strict flag in presubmit twine_check
- Ngôn ngữ chính
- Python
- Star
- 5.4k
- Fork
- 1.8k
- Merge trung bình
- 3 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 122
Mô tả
## 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/*
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python, shell
- Lĩnh vực
- build-system, ci-cd
- Loại issue
- Tính năng
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 76/100