berkerpeksag / astor

Python AST read/write
https://pypi.org/project/astor/
BSD 3-Clause "New" or "Revised" License
810 stars 102 forks source link

Added .editorconfig #95

Closed KOLANICH closed 6 years ago

KOLANICH commented 6 years ago

Thank you for the PR, but since we don't have any custom guidelines, every editor that supports Python and PEP 8 should be fine by default.

PEP 8 is not a law and editors are not prescribed to use it by default. Instead they are configured. This file configures an editor to use some conventions of PEP 8 for this project.

Some editors like Notepad++ use tabs and cannot be configured to use spaces any way other than this file (or other plugin calling into Scintilla). And even if they could it wouldn't be right to configure them to use spaces instead of tabs by default.

berkerpeksag commented 6 years ago

Well, pretty much all editors and IDEs I use conform PEP 8. I would consider accepting this if we had more contributors but we have only two regulars and none of them needed this before.

Thank you again.