googleapis / googleapis/google-cloud-python

Remove hardcoded Ruff target-version

Ouverte
#15,538 0 commentaires 0 réactions 1 personne assignée Réclamée par @ohmayr Voir sur GitHub
priority: p2 type: cleanup
Langage dominant
Python
Étoiles
5.4k
Forks
1.8k
Merge moyen
3 j 4 h
PR mergées (30 j)
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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.