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, more like a \"recommend
Look at the tabnanny module: — Detection of ambiguous indentation.