Change ruff output format from pylint -> concise
This commit is contained in:
parent
09e291abf3
commit
6b2c28ef55
2
init.el
2
init.el
|
@ -1052,7 +1052,7 @@ Calls `project-remember-projects-under' for ~/Projects/"
|
||||||
(python-indent-def-block-scale 1)
|
(python-indent-def-block-scale 1)
|
||||||
(python-check-command "mypy --check-untyped-defs --warn-unreachable --show-error-codes --ignore-missing-imports")
|
(python-check-command "mypy --check-untyped-defs --warn-unreachable --show-error-codes --ignore-missing-imports")
|
||||||
(python-flymake-command
|
(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" "-"))
|
((executable-find "flake8") '("flake8" "--max-line-length" "88" "-"))
|
||||||
(t '("pyflakes"))))
|
(t '("pyflakes"))))
|
||||||
:config
|
:config
|
||||||
|
|
Loading…
Reference in a new issue