plugin: linter: add ruff to default configuration by Andriamanitra · Pull Request #3657 · micro-editor/micro (original) (raw)

@JoeKar wrote:

Am I right, that we execute on a pure default setup every available linter per filetype match in a row?

Should we add a check to stop after the first successful execution and on top of that should we add a priority for more than one available linter in the default list/map?

No – it is useful to get diagnostics from multiple linters. Especially in Python the linters address different things, for example mypy only checks types, flake8 is (mostly) focused on code formatting, and pylint does some semantic analysis as well. ruff attempts to combine most of the above in one tool, but mypy still does much more thorough job at type checking.