googleapis / googleapis/google-cloud-python
Remove hardcoded Ruff target-version
Open
priority: p2
type: cleanup
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 1.8k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 122
Description
The current CLI tool hardcodes `--target-version=py37` for Ruff formatting and linting. Evaluate if we can remove this flag and instead let Ruff default to its own baseline.
Rely on a pyproject.toml or ruff.toml for version targeting.
Goal: Eliminate the need to manually "bump" this version string in the script as our minimum supported Python version evolves.
Contributor guide
Assessment
This issue has not been assessed yet.