On 2/24/23 08:27, Mats Wichmann wrote:


Indeed, I work on a project that by convention puts editor instructions at the end of each file (which some might consider junk :-) ), like this:


# Local Variables:
# tab-width:4
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=4 shiftwidth=4:

I should probably have added that I know the above is unnecessary, as there is now a standard for defining this stuff once, called EditorConfig, which many editors understand natively, and many more via plugins.

https://editorconfig.org/


--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to