Enable ruff argument, idiom and pytest-style rules (ARG, B, C4, FBT, PERF, PLW, PT, PTH, RUF, SIM and others)
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 22/100
Línea de trabajo
This is a maintainer-led lint rollout across the whole repository, so it is not a good first pick. Start with the ruff rule selection in the project's lint configuration, then run ruff on one rule group at a time to see the violations. Done means each enabled group is clean, with deliberate exceptions noted, and the published schemas and HTTP API are unchanged.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Phase 1 step 1.8, group 8a of the rules workstream: enable ruff's argument, idiom and pytest-style rules (ARG, ASYNC, B, C4, FBT, PD, PERF, PGH, PLW, PT, PTH, RUF, SIM). Group 8b follows with the complexity refactors (C901, PLR) and the switch to select = ["ALL"].
- Unused arguments (
ARG): remove, underscore or explain each. Request side-effect fixtures withusefixtures. Never rename a parameter that callers pass by keyword. - Boolean arguments (
FBT): make them keyword-only where every caller is in the repository. - Idioms (
C4,SIM,PERF,RUF,PTH,PLW,B): apply equivalent rewrites; keep deliberate exceptions with a reason. - Tests (
PT): pytest idioms, withpytest.raises(match=...)on the expected message. The shared rules tool's tests use unittest on purpose and are exempt fromPT.
Published schemas, OpenAPI documents and the HTTP API must not change.
- Lenguaje dominante
- Python
- Estrellas
- 1
- Forks
- 1
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 51
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PolicyEngine/policyengine-sim-api
-
Update policyengine to 6.7.3Posiblemente ocupada @policyengine la tomó hoy. Abierto
Dificultad 2/5 Medio día Aptitud para principiantes 70/100
PolicyEngine/policyengine-sim-api#823 ·
Los mantenedores suelen responder en 1 día
-
Integration tests fail due to missing UV virtual environment setupPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
PolicyEngine/policyengine-sim-api#314 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
PolicyEngine/policyengine-sim-api#814 ·
Los mantenedores suelen responder en 1 día
-
Register weighted-microdata rules: weights aren't valuesPosiblemente ocupada @anth-volk la tomó hace 3 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
PolicyEngine/policyengine-sim-api#806 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
PolicyEngine/policyengine-sim-api#805 ·
Los mantenedores suelen responder en 1 día
Todos los issues de PolicyEngine/policyengine-sim-api
Issues similares
-
Deferred from #1869: Complete the companion pytest guardrail update noted in the PR description...Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
Los mantenedores suelen responder en 1 día
-
Custom provider API keys collide on one host: env slot keyed on host:port only, not URL pathAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
NousResearch/hermes-agent#140958 ·
Los mantenedores suelen responder en 1 día
-
Bug triage/confirmed
Dificultad 2/5 Medio día Aptitud para principiantes 85/100
agentscope-ai/agentscope#3355 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
ethereum/execution-specs#3859 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día