Compatibility section in docs states:
FlakeHeaven supports all flake8 plugins, formatters, and configs. However, FlakeHeaven has it’s own beautiful way to configure enabled plugins and codes. So, options like --ignore and --select unsupported.
Problem
I use flakeheaven as a linter in VSCode and some errors overlap with pylance or mypy, resulting in repeated errors and requiring more attention than it should. So ignoring overlapping errors makes sense.
However, I still want to see them when I execute flakeheaven manually, since I'm not using pyright manually.
Suggestion
It would be great to have option like --add-exceptions, which then could be used like this:
"python.linting.flake8Path": "${workspaceFolder}/.venv/bin/flake8heavened",
"python.linting.flake8Args": ["--add-exceptions=-F821,-F401"],
What do you think?
I can make a PR implementing it, but want to listen to your opinions/suggestions on that first.
Compatibility section in docs states:
Problem
I use
flakeheavenas a linter in VSCode and some errors overlap withpylanceormypy, resulting in repeated errors and requiring more attention than it should. So ignoring overlapping errors makes sense.However, I still want to see them when I execute
flakeheavenmanually, since I'm not usingpyrightmanually.Suggestion
It would be great to have option like
--add-exceptions, which then could be used like this:What do you think?
I can make a PR implementing it, but want to listen to your opinions/suggestions on that first.