Some fixes for package locating on Mac and Flycheck

This commit is contained in:
jgrogan 2024-07-12 14:18:25 +01:00
parent ce14a1d4ea
commit 876e7f4997
2 changed files with 8 additions and 0 deletions

View file

@ -13,6 +13,11 @@
(set-face-attribute 'default nil :font "Menlo" :height 130)
(require 'jg-package)
;; Explicitly import the PATH from the shell on MacOS
(package-install 'exec-path-from-shell)
(exec-path-from-shell-initialize)
(require 'jg-core)
(require 'jg-display)
(require 'jg-style)

View file

@ -3,6 +3,9 @@
;;; Code:
(use-package flycheck
:init
(setq flycheck-python-flake8-executable "flake8")
(setq flycheck-python-pylint-executable "pylint")
:config
(add-hook 'after-init-hook #'global-flycheck-mode))