[New-bugs-announce] [issue44854] Add .editorconfig to the root directory

Łukasz Langa report at bugs.python.org
Fri Aug 6 14:37:22 EDT 2021


New submission from Łukasz Langa <lukasz at 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 <report at bugs.python.org>
<https://bugs.python.org/issue44854>
_______________________________________


More information about the New-bugs-announce mailing list