In init-python.el, it seems that the flymake-ruff package does not "pre-load" (not sure what the correct terminology is here, what i mean is that merely doing require-package does not bind the symbol in the way that an autoloaded function is bound) the variable flymake-ruff-program. Thus, the statement (executable-find flymake-ruff-program) fails every time.
Not sure what a good solution is here; doing (require 'flymake-ruff) would work, but ideally the package shouldn't be loaded at all until the user uses python-mode.
Hi,
In
init-python.el
, it seems that the flymake-ruff package does not "pre-load" (not sure what the correct terminology is here, what i mean is that merely doing require-package does not bind the symbol in the way that an autoloaded function is bound) the variableflymake-ruff-program
. Thus, the statement(executable-find flymake-ruff-program)
fails every time.Not sure what a good solution is here; doing
(require 'flymake-ruff)
would work, but ideally the package shouldn't be loaded at all until the user uses python-mode.Thanks,
Arthur