googleapis / googleapis/google-cloud-python

Remove hardcoded Ruff target-version

Open
#15,538 0 comments 0 reactions 1 assignee Claimed by @ohmayr View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.