Add ruff and flake8 to python-check-command

* lisp/progmodes/python.el (python-check-command): Add ruff and
flake8.
This commit is contained in:
Stefan Kangas 2023-08-04 14:21:17 +02:00
parent 9026990c66
commit 60e5f21218

View file

@ -5214,11 +5214,13 @@ def __FFAP_get_module_path(objstr):
(defcustom python-check-command
(cond ((executable-find "pyflakes") "pyflakes")
((executable-find "ruff") "ruff")
((executable-find "flake8") "flake8")
((executable-find "epylint") "epylint")
(t "pyflakes"))
"Command used to check a Python file."
:type 'string
:version "29.1")
:version "30.1")
(defcustom python-check-buffer-name
"*Python check: %s*"