basedpyright icon indicating copy to clipboard operation
basedpyright copied to clipboard

Baseline switches for cli and extension

Open Roang-zero1 opened this issue 5 months ago • 2 comments

Description

Thanks for the great project, I have a feature request regarding the baseline.

There is, as far as I seen, no way to temporarily disable the baseline. I found I could use a non existent baseline e.g. --baselinefile . to make that happen.

For the cli that is easily done, but for the extension this is more problematic.

Therefore, my feature request is as follows:

  • Add a --ignore-baseline option to the CLI
  • Add a toggle for the baseline to the extension

This way I can see the errors while working and maybe fix some without changing the settings regularly.

Roang-zero1 avatar Sep 27 '25 16:09 Roang-zero1

Related: #1404

DetachHead avatar Sep 27 '25 23:09 DetachHead

in basedmypy we had --baseline-file="", but that doesn't really help with this case

KotlinIsland avatar Sep 28 '25 01:09 KotlinIsland

in #1667 i added a new --baselinemode argument which you can use to disable updates to the baseline file. though i don't think this covers your use case, in the future we can probably add a new mode called ignore or something

DetachHead avatar Dec 07 '25 09:12 DetachHead