Skip to content

Instantly share code, notes, and snippets.

View erwan-lemonnier's full-sized avatar

Erwan erwan-lemonnier

View GitHub Profile
brew install python3
brew install flake8
#!/bin/bash
flake8 --ignore=E221,E701,E202,E501,E302,E301 $@
# Return true
true
(load "~/.emacs.d/flymake.el")
(load "~/.emacs.d/flymake-cursor.el")
; manual python checking:
; pycheckers is a script in the path, under ~/bin/, that run
; pyflakes, pep8 and possibly more checks
(setq python-check-command "/Users/erwan/bin/pycheckers")
; use flymake with pycheckers
(add-hook 'find-file-hook 'flymake-find-file-hook)