Refactor tests, scripts and the rules tool, then select every ruff rule (ALL)
Mantenedores costumam responder em até 2 dias
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
- Domínio
- developer-experience, testing-qa
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
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de PolicyEngine/policyengine-api
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 88/100
PolicyEngine/policyengine-api#3911 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
PolicyEngine/policyengine-api#3910 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 22/100
PolicyEngine/policyengine-api#3946 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 22/100
PolicyEngine/policyengine-api#3945 ·
Mantenedores costumam responder em até 2 dias
-
Register weighted-microdata rules: weights aren't valuesTalvez já em andamento @anth-volk assumiu há 2 dias. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 18/100
PolicyEngine/policyengine-api#3937 ·
Mantenedores costumam responder em até 2 dias
Todas as issues de PolicyEngine/policyengine-api
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
noontide-co/mainbranch#1211 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
[1.x Bug] run-operation --sql reports success but rolls back writes on transaction-capable adaptersAbertatriage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
dbt-labs/dbt#16784 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
Mantenedores costumam responder em até 1 dia
-
bug settings ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
DewaldOosthuizen/py-tray-command-launcher#162 ·
Mantenedores costumam responder em até 1 dia
-
run_all sleeps after the final job despite documenting delays between jobsTalvez já em andamento @Gambit-Checkmate assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100