New submission from Łukasz Langa <luk...@langa.pl>:

EditorConfig is a cross-editor configuration file that is pretty widely 
adopted: https://editorconfig.org/

Adding this to the root directory will allow editors that use the file to 
automatically format a few details which we already enforce with `make 
patchcheck`:

- always put an empty line at the end of the file;
- remove trailing whitespace;
- disallow tabs in Python (PEP 8) and C (PEP 7) files.

----------
messages: 399123
nosy: lukasz.langa
priority: normal
severity: normal
status: open
title: Add .editorconfig to the root directory
type: enhancement
versions: Python 3.10, Python 3.11, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44854>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to