summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahiel Kasim <rahiel.kasim@kabisa.nl>2022-04-08 22:46:51 +0200
committerRahiel Kasim <rahiel.kasim@kabisa.nl>2022-04-08 22:46:51 +0200
commit0996d697f4d6b9e8161b64929ade5905ed1068cf (patch)
tree3874c4fafee5d406904f9d1fcd0415e2cef477ec
parent6b278043ac05a8eea7f866651c07c17c12fa4646 (diff)
macos: install flake8, set flake8 path for flycheck
-rw-r--r--emacs/.spacemacs2
-rwxr-xr-xmacos.bash2
2 files changed, 2 insertions, 2 deletions
diff --git a/emacs/.spacemacs b/emacs/.spacemacs
index 640cb9e..21ce279 100644
--- a/emacs/.spacemacs
+++ b/emacs/.spacemacs
@@ -560,7 +560,7 @@ you should place your code here."
(setq python-shell-interpreter "python3"))
(message python-shell-interpreter))
(global-set-key (kbd "<M-f3>") 'switch-python-version)
- (defvaralias 'flycheck-python-flake8-executable 'python-shell-interpreter)
+ (setq flycheck-python-flake8-executable "flake8")
(setq flycheck-flake8rc "~/.config/flake8")
(add-hook 'anaconda-mode-hook
(lambda ()
diff --git a/macos.bash b/macos.bash
index b4075c2..4dc0a48 100755
--- a/macos.bash
+++ b/macos.bash
@@ -48,7 +48,7 @@ brew services start redis
brew install pyenv openssl readline sqlite3 xz zlib
-pipx install pipenv poetry
+pipx install flake8 pipenv poetry
cargo install pwds