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

Offen
#18,439 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
testing, tooling

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
5.4k
Forks
1.8k
Ø Merge
2 T. 7 Std.
Gemergte PRs (30 T.)
173

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus googleapis/google-cloud-python

Alle Issues in googleapis/google-cloud-python

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.