Below is a file that I've dropped in my ~/.vim/plugins directory. I named it pyvi.vim. It let's me toggle between "normal" settings and "python" settings:
echo "Pyvi off."
let g:pyvi_on = 1
map <Leader>r :!nosetests<cr>
echo "Pyvi on."
command Pyvi call PyVi()
Now, when I'm in vim, if I issue the command "Pyvi" once, it set's a bunch of settings for me that are specific to making pylint happy. If i issue the same command again, it will undo my settings changes. I also added the following to my .vimrc to create a mapping for \-d.
map <Leader>d :Pyvi<cr>
Pretty simple and yet effective.