In my ~/.vimrc I set tab to me 2 spaces long
set shiftwidth=2
set tabstop=2
However when I open a .py file, tabs are 4 spaces long. I don't have specific configuration for python files. ~/.vim/after is empty and searching for py doesn't raise any suspect lines.
Have you ever experienced that? How to solve such a behaviour?