Page MenuHomeVyOS Platform

Change behavior of ruff linter in pull requests
Closed, ResolvedPublicFEATURE REQUEST

Description

Currently we do run the ruff linter for the entire files part of a PR which could, will and does drive contributors crazy.
It also mixes formatting changes with fixes to the code base.

The global RUFF linter should be disabled and maybe become a PR review by a bot.

In addition we already have the "darker ruff" workflow which will/should only complaint about the actual diff inside a PR and not the entire file.
https://github.com/vyos/.github/blob/current/.github/workflows/lint-with-darker-ruff.yml

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)

Event Timeline

c-po changed the task status from Open to In progress.
c-po claimed this task.
c-po triaged this task as Normal priority.
c-po updated the task description. (Show Details)
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
c-po changed Issue type from Feature (new functionality) to Internal change (not visible to end users).