Skip to content
Browse files

Added pep8 and pylint. Now with iPython goodness

  • Loading branch information...
1 parent c4c0fad commit add2caf222ed1d17faff32e4cb947cdfe7020957 @pgrkr pgrkr committed Jan 8, 2013
Showing with 20 additions and 3 deletions.
  1. +6 −0 .gitmodules
  2. +7 −1 README
  3. +1 −0 packages/python-pep8
  4. +1 −0 packages/python-pylint
  5. +5 −2 python-settings.el
View
6 .gitmodules
@@ -112,3 +112,9 @@
[submodule "packages/python-mode"]
path = packages/python-mode
url = https://github.com/emacsmirror/python-mode.git
+[submodule "packages/python-pep8"]
+ path = packages/python-pep8
+ url = https://github.com/emacsmirror/python-pep8.git
+[submodule "packages/python-pylint"]
+ path = packages/python-pylint
+ url = https://github.com/emacsmirror/python-pylint.git
View
8 README
@@ -1,10 +1,16 @@
This is my .emacs.d folder
* Prerequisites
-All OS: git, make, exuberant-ctags, rvm
+All OS: git, exuberant-ctags
Mac: ack
Debian: ack-grep
+For programming in Ruby you need:
+RVM and a ruby
+
+For programming in Python you need:
+python, ipython, pep8, pylint
+
* Backup and remove your existing .emacs.d directory and then clone this repository
Type: cd ~
Type: git clone https://github.com/habib/.emacs.d.git
1 packages/python-pep8
@@ -0,0 +1 @@
+Subproject commit 1b7812a0a624fcc2243bc1aac3c21d8b58c11707
1 packages/python-pylint
@@ -0,0 +1 @@
+Subproject commit 8534af6ff37f59aee5533e2275346e4709d5376e
View
7 python-settings.el
@@ -2,8 +2,8 @@
(require 'python-mode)
;; use IPython
-(setq-default py-shell-name "python")
-(setq-default py-which-bufname "Python")
+(setq-default py-shell-name "ipython")
+(setq-default py-which-bufname "IPython")
;; ; use the wx backend, for both mayavi and matplotlib
;; (setq py-python-command-args
;; '("--gui=wx" "--pylab=wx" "-colors" "Linux"))
@@ -17,4 +17,7 @@
;; try to automagically figure out indentation
(setq py-smart-indentation t)
+(require 'python-pep8)
+(require 'python-pylint)
+
(provide 'python-settings)

0 comments on commit add2caf

Please sign in to comment.
Something went wrong with that request. Please try again.