mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/python: add additional checks
This commit is contained in:
@ -20,6 +20,30 @@
|
||||
(unless (executable-find "conda")
|
||||
(warn! "Couldn't find conda in your PATH")))
|
||||
|
||||
(when (featurep! +cython)
|
||||
(unless (executable-find "cython")
|
||||
(warn! "Couldn't find cython. cython-mode will not work.")))
|
||||
|
||||
(when (featurep! +ipython)
|
||||
(unless (executable-find "ipython")
|
||||
(warn! "Couldn't find ipython in your PATH")))
|
||||
|
||||
(if (and (featurep! :editor format)
|
||||
(not (executable-find "black")))
|
||||
(warn! "Couldn't find black. Code formatting will not work."))
|
||||
|
||||
(if (not (executable-find "pytest"))
|
||||
(warn! "Couldn't find pytest. Running tests through pytest will not work."))
|
||||
|
||||
(if (not (executable-find "nosetests"))
|
||||
(warn! "Couldn't find nosetests. Running tests through nose will not work."))
|
||||
|
||||
(if (not (executable-find "pipenv"))
|
||||
(warn! "Couldn't find pipenv. pipenv support will not work."))
|
||||
|
||||
(if (not (executable-find "isort"))
|
||||
(warn! "Couldn't find isort. Import sorting will not work."))
|
||||
|
||||
(if (and (featurep! :editor format)
|
||||
(not (executable-find "pyflakes")))
|
||||
(warn! "Couldn't find pyflakes. Import management will not work."))
|
||||
|
Reference in New Issue
Block a user