[issue44854] Add .editorconfig to the root directory
Terry J. Reedy
report at bugs.python.org
Sat Aug 7 15:15:33 EDT 2021
Terry J. Reedy <tjreedy at udel.edu> added the comment:
I presume 'root directory' mean the repository directory.
I would have to think about supporting this in IDLE. It already, I believe (or will), enforces the two whitespace rules when saving and defaults to 4-space indents for first lines of statements. Enforcing that for repository .py and .c files would be good, but there is currently no mechanism for per-file settings.
I did not see anything in the EditorConfig guide about what happens when .editorconfig does not start with root = true and another file is found.
----------
nosy: +terry.reedy
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44854>
_______________________________________
More information about the Python-bugs-list
mailing list