projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9026990
)
Add ruff and flake8 to python-check-command
author
Stefan Kangas
<stefankangas@gmail.com>
Fri, 4 Aug 2023 12:21:17 +0000
(14:21 +0200)
committer
Stefan Kangas
<stefankangas@gmail.com>
Fri, 4 Aug 2023 12:21:26 +0000
(14:21 +0200)
* lisp/progmodes/python.el (python-check-command): Add ruff and
flake8.
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 52e5a36f4b014818b02cd40b4553824b0e26faae..1930f68617cad2e98dd57e4966d8f60eb3965bcd 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-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*"