Page MenuHomeVyOS Platform

spring cleaning - drop unused Python imports
Closed, ResolvedPublicFEATURE REQUEST

Description

~/vyos-1x [current] # git ls-files *.py | xargs pylint | grep W0611 | wc -l
231

The current codebase has 231 unused python module imports - clean them up.

In addition add a GitHub action running this command for every pull request, as it's to slow for every make run.

Details

Difficulty level
Normal (likely a few hours)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Performance optimization

Revisions and Commits

Event Timeline

c-po changed the task status from Open to In progress.Apr 2 2024, 4:57 PM
c-po claimed this task.
c-po created this task.
c-po changed Difficulty level from Unknown (require assessment) to Normal (likely a few hours).
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
c-po changed Issue type from Unspecified (please specify) to Performance optimization.
c-po triaged this task as Low priority.
c-po moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta (1.4.0-epa3) board.
c-po moved this task from In Progress to Finished on the VyOS 1.5 Circinus board.