tools-python
tools-python copied to clipboard
Added .editorconfig according to PEP 8
@KOLANICH Thanks for this. Do you have some pointer or URL to explain what this about? Could this be instead a local, ignored file?
Do you have some pointer or URL to explain what this about?
https://editorconfig.org/
Could this be instead a local, ignored file?
Technically it can. But it defeats the purpose.
@pombredanne I would greatly appreciate it if there were well-defined code style settings checked in. I would even like to integrate a corresponding check in the CI.
As to why:
- To avoid seeing ~50 warnings in every file in the IDE, as is currently the case
- To avoid contributors reformatting code with different settings in each PR because there is no defined standard for the repo
No problem, it's Open Source where noone owes anyone anything :)