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

Aberta
#18,439 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Ativa
Stack de tecnologia
python
Domínio
testing, tooling

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
5.4k
Forks
1.8k
Merge médio
2d 7h
PRs com merge (30d)
173

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de googleapis/google-cloud-python

Todas as issues de googleapis/google-cloud-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.