googleapis / googleapis/google-cloud-python
ci: enable --strict flag in presubmit twine_check
- Vorherrschende Sprache
- Python
- Sterne
- 5.4k
- Forks
- 1.8k
- Ø Merge
- 3 T. 4 Std.
- Gemergte PRs (30 T.)
- 122
Beschreibung
## 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/*
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python, shell
- Bereich
- build-system, ci-cd
- Issue-Typ
- Feature
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Aktivitätsstatus
- Aktiv
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 76/100