Enforce "spaces" or "tabs" only in python files ?

Posted by edomaur on Stack Overflow See other posts from Stack Overflow or by edomaur
Published on 2010-03-22T08:04:26Z Indexed on 2010/03/22 8:11 UTC
Read the original article Hit count: 303

Filed under:
|
|
|

In Python, is there a mean to enforce the use of spaces or tabs indentation with a per file basis ?

Well, perhaps "enforce" is too strong, its more like "recommands".

I keep getting files with mixed indentation and this is annoying... (to say the least) Python itself can tell when there is a problem, but I am searching something to do that at the editor level, like it exists for the charset.

© Stack Overflow or respective owner

Related posts about python

Related posts about indentation