Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Refactor tests, scripts and the rules tool, then select every ruff rule (ALL)

Aberta
#3,931 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

@anth-volk já está trabalhando nisso.

Desde 14/10/2026.

  • #3934 de @anth-volk — aberto

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
15/100
Tipo de issue
Refatoração
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
python

Direção de pesquisa

Start from the ruff configuration, where select must change to ["ALL"] with the global ignores kept to COM812, ISC001, D203 and D213, then run ruff to list violations. Work through the tests, the scripts and the rules tool, whose unittest tests keep their per-file exemptions, and leave the Alembic revisions and script command-line interfaces as they are. PR #3934 is already open against this issue, so check with it before starting. Done means ruff passes under the new selection with every test assertion intact.

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

Descrição

Phase 1 step 1.8, group 8b, part 3 of 3: refactor the tests, the scripts and the rules tool within ruff's complexity limits, then switch ruff to select = ["ALL"].

The only global ignores are the two rules that conflict with ruff format (COM812, ISC001) and one rule of each mutually exclusive pydocstyle pair (D203, D213). Test files, generated Alembic revisions and the rules tool's unittest tests keep their registered per-file exemptions. Scripts keep their command-line interfaces, and tests keep every assertion.

Linguagem predominante
Python
Estrelas
18
Forks
33
Merge médio
1d 20h
PRs com merge (30d)
27

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 PolicyEngine/policyengine-api

Todas as issues de PolicyEngine/policyengine-api

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.