Add ruff and flake8 to python-check-command
* lisp/progmodes/python.el (python-check-command): Add ruff and flake8.
This commit is contained in:
parent
9026990c66
commit
60e5f21218
1 changed files with 3 additions and 1 deletions
|
@ -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*"
|
||||
|
|
Loading…
Add table
Reference in a new issue