tools-python icon indicating copy to clipboard operation
tools-python copied to clipboard

Added .editorconfig according to PEP 8

Open KOLANICH opened this issue 4 years ago • 3 comments

KOLANICH avatar Feb 24 '21 10:02 KOLANICH

@KOLANICH Thanks for this. Do you have some pointer or URL to explain what this about? Could this be instead a local, ignored file?

pombredanne avatar Jun 05 '21 10:06 pombredanne

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.

KOLANICH avatar Jun 20 '21 20:06 KOLANICH

@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

nicoweidner avatar Oct 20 '22 11:10 nicoweidner

No problem, it's Open Source where noone owes anyone anything :)

KOLANICH avatar Nov 03 '22 13:11 KOLANICH