clayrisser / sphinx-markdown-parser

write markdown inside of docutils & sphinx projects
https://codejam.ninja
Other
19 stars 8 forks source link

code style #23

Open FlorianLudwig opened 4 years ago

FlorianLudwig commented 4 years ago

Hi,

what is the code style for this project?

There is a yapf config but it seems the code is not formatted using yapf.

clayrisser commented 4 years ago

I would recommend just sticking to whatever convention you see. This project has been written by a lot of people over a long time, and unfortunately the code style is not always consistent.

FlorianLudwig commented 4 years ago

As you pointed out it is quite inconsistent often within the same file, so I was wondering if maybe we can just use yapf or black on the code base and have it consistent from then on out.

clayrisser commented 4 years ago

Yeah that’s a great idea.