Consider whether we should run formatting on goldens, or improve the output of the generator

Ouverte
#18,439 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
35/100
Type d'issue
Fonctionnalité
Clarté
À clarifier
Activité
Active
Stack technique
python
Domaine
testing, tooling

Piste de recherche

Start with the linked pull request discussion, then inspect the golden files under packages/gapic-generator/tests/integration/goldens and the generator output they represent. Determine whether the intended direction is formatting goldens with ruff or changing the generator, and confirm the chosen approach produces consistently formatted golden files without an extra post-processing step.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

See this thread where there is an expectation that ruff should run on the golden files . Alternatively, we could improve the output of the generator so that formatting is not needed as a post processing step however it may be difficult to prioritize this work since we already have a solution with ruff.

Langage dominant
Python
Étoiles
5.4k
Forks
1.8k
Merge moyen
2 j 7 h
PR mergées (30 j)
173

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de googleapis/google-cloud-python

Toutes les issues de googleapis/google-cloud-python

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

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