Skip to content

Releases: linuxrebel/arwLint

Python Linting tool

Choose a tag to compare

@linuxrebel linuxrebel released this 09 Aug 02:03

linuxrebel/lint — arwLint

An interactive pylint session, built so a small model is never handed a wall of
findings.

  • Walks findings one at a time — the model sees one finding, not a thousand
    lines of output. This is what makes it usable on a 7B model in 4 GB of VRAM
  • You decide each one: fix, skip, ignore that whole kind for the run, defer
    to DEBT.md, or show pylint's raw wording
  • Every style finding goes to autopep8, not the model — mechanical work does
    not need a probabilistic system, and a finding handled without the model is a
    finding that cannot be handled wrong
  • Translates pylint into plain English — "Module name doesn't conform to
    snake_case" never mentions it means the filename. Each finding says what it
    means, what to do, and what happens if you ignore it
  • Classifies how each fix can be applied — computed deterministically where
    possible, asked of the model only where judgement is genuinely required
  • Snapshots the file and reverts the entire run if the result no longer
    compiles
  • Filter by symbol or cap the run/lint foo.py unused-import, max=N
  • Deferred findings accumulate in DEBT.md rather than being lost
  • Requires pylint and autopep8. Without pylint the command is never
    registered — absent, not broken