                     (or (and (python-use-poetry-p)
                              (condition-case err
                                  (process-lines "poetry" "run" "pip" "list" "--format=freeze" "--disable-pip-version-check")
-                               (error (message "%s" (error-message-string err)) nil)))
+                               (error (minibuffer-message "%s" (error-message-string err)) nil)))
                         ;; TODO: search the project root for something that
                         ;; looks a virtualenv, activate it and call pip list
                         ;; --format=freeze in it

                                   (and (call-process "poetry" nil t nil "run" "which" python-black-d-command)
                                        (zerop (call-process "poetry" nil nil nil "run"
                                                             python-black-d-command "--version")))
                                 (error (message "%s" (error-message-string err)) nil))
                               (string-trim (buffer-string))
                             nil))))
                 t)

                     (with-temp-buffer
                       (when (condition-case err
                                 (zerop (call-process "poetry" nil t nil "run" "which" executable-name))
                               (error (minibuffer-message "%s" (error-message-string err)) nil))
                         (string-trim (buffer-string))))))
              ((executable-find executable-name)
               (make-local-variable flycheck-executable-variable)
