jieguangzhou opened a new pull request, #180:
URL: https://github.com/apache/dolphinscheduler-sdk-python/pull/180

   ## Brief Summary of The Change
   
   Ruff 0.16 expanded its default rule selection. Because this project uses 
`ruff>=0.3` and only sets `lint.extend-select`, installing current Ruff enables 
additional rules and causes 158 lint errors on unchanged `main`.
   
   Explicitly select the previous baseline (`E4`, `E7`, `E9`, `F`), while 
retaining the existing `I`, `D`, and `UP` extensions and ignores. This restores 
the project's established lint policy without changing application code or 
downgrading Ruff.
   
   References: [Ruff 0.16 breaking 
changes](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md#0160), 
[failing main 
build](https://github.com/apache/dolphinscheduler-sdk-python/actions/runs/40608254976).
   
   Validation: reproduced the failure with Ruff 0.17.3 before the change; `ruff 
check .` passes with both 0.17.3 and 0.15.0 after the change. `git diff 
--check` passes.
   
   ## Pull Request checklist
   
   - [x] Add/Change **test cases** for the changes: verified the full lint 
check with Ruff 0.15.0 and 0.17.3; configuration-only change.
   - [x] Add/Change the related **documentation**: added an inline explanation 
for the explicit baseline.
   - [ ] (Optional) Add your change to `UPDATING.md` when it is an incompatible 
change.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to