I'm using Doom Emacs on macOS, if it matters.
Essentially, I'd like to disable the pylint checker entirely when editing Python files. I don't use pylint, and I don't have it installed in my Pyenv environments; it gives me false positives.
But I'm not a skilled Emacs user, and I can't figure out how to disable it. I have this in my config:
(use-package! flycheck
:config
(add-to-list 'flycheck-disabled-checkers 'python-pylint)
(add-hook 'pyhon-mode-local-vars-hook
(lambda ()
(when (flycheck-may-enable-checker 'python-flake8)
(flycheck-select-checker 'python-flake8)))))
But it doesn't seem to matter -- every time I open a Python file, it tries to start up pylint.
flycheck-disabled-checkers
explicitily to make sure it includespython-pylint
? What happens if you do the(add-to-list 'flycheck-disabled-checkers 'python-pylint)
by hand? Does flycheck skip it then? – NickD Oct 01 '20 at 22:12