Skip to content

chore: ruff auto-fix PIE — unnecessary-pass-spread - #32026

Closed
wesleysimplicio wants to merge 1 commit into
NousResearch:mainfrom
wesleysimplicio:chore/ruff-PIE
Closed

chore: ruff auto-fix PIE — unnecessary-pass-spread#32026
wesleysimplicio wants to merge 1 commit into
NousResearch:mainfrom
wesleysimplicio:chore/ruff-PIE

Conversation

@wesleysimplicio

@wesleysimplicio wesleysimplicio commented May 25, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

chore: ruff auto-fix PIE — unnecessary-pass-spread.

Root cause

The detailed rationale from the original PR body is preserved below. This template update keeps the review structure consistent with #29640.

Fix

Why this shape

This shape mirrors #29640 so reviewers can quickly compare scope, root cause, fix, tests, and related context without having to decode a custom PR description.

Tests

  • ruff check passa com zero erros (regra já ativa na config)
  • Nenhuma mudança de comportamento em runtime — apenas transformações sintáticas
  • pytest mantém o comportamento esperado

Generated by Hermes Turbo

Related PRs / issues

  • Original body preserved below for full context.
Original body

Summary

chore: ruff auto-fix PIE — unnecessary-pass-spread.

What Changed

  • pyproject.toml: added PIE to [tool.ruff.lint] select
  • 100 files changed: +227/-305 lines

Fluxo

O ruff percorre a árvore do projeto aplicando a regra PIE onde encontra violações. As transformações foram feitas por auto-fix e mantêm o comportamento do código.

Visão

Com a regra habilitada no lint, o projeto passa a bloquear regressões futuras no mesmo padrão e fica mais consistente para novos commits.

Test Plan

  • ruff check passa com zero erros (regra já ativa na config)
  • Nenhuma mudança de comportamento em runtime — apenas transformações sintáticas
  • pytest mantém o comportamento esperado

Generated by Hermes Turbo


Generated by Hermes Turbo

@wesleysimplicio
wesleysimplicio requested a review from a team May 25, 2026 11:19
@daimon-nous daimon-nous Bot added type/refactor Code restructuring, no behavior change P3 Low — cosmetic, nice to have labels May 25, 2026
@wesleysimplicio

Copy link
Copy Markdown
Contributor Author

Closing non-fix PR as requested — mantendo apenas PRs de fix.

@wesleysimplicio
wesleysimplicio deleted the chore/ruff-PIE branch June 12, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low — cosmetic, nice to have type/refactor Code restructuring, no behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant