Change ruff output format from pylint -> concise

This commit is contained in:
Evie Litherland-Smith 2024-07-04 15:53:03 +01:00
parent 09e291abf3
commit 6b2c28ef55

View file

@ -1052,7 +1052,7 @@ Calls `project-remember-projects-under' for ~/Projects/"
(python-indent-def-block-scale 1)
(python-check-command "mypy --check-untyped-defs --warn-unreachable --show-error-codes --ignore-missing-imports")
(python-flymake-command
(cond ((executable-find "ruff") '("ruff" "check" "--output-format=pylint" "--stdin-filename=stdin" "-"))
(cond ((executable-find "ruff") '("ruff" "check" "--output-format=concise" "--stdin-filename=stdin" "-"))
((executable-find "flake8") '("flake8" "--max-line-length" "88" "-"))
(t '("pyflakes"))))
:config