nodejs / gyp-next

A fork of the GYP build system for use in the Node.js projects
BSD 3-Clause "New" or "Revised" License
125 stars 69 forks source link

chore: update Ruff to 0.3.1 #226

Closed targos closed 4 months ago

targos commented 4 months ago
- Fix new UP032 errors
- Fix deprecated Ruff config structure

BEGIN_COMMIT_OVERRIDE fix: update Ruff to 0.3.1 END_COMMIT_OVERRIDE

legendecas commented 4 months ago

FWIW, I pinned ruff to v0.3.0 in https://github.com/nodejs/gyp-next/pull/223

targos commented 4 months ago

Ok, I changed this to a Ruff update.

cclauss commented 4 months ago

My preference is that we do not pin ruff because it is still in a state of flux and fixing Python code incrementally in a JavaScript codebase ensures that the squeaky wheel gets the grease. If we silence ruff then we will build a backlog of diverse changes that will be difficult to implement and get reviewed.