naokazuterada / MarkdownTOC

SublimeText3 plugin which generate a table of contents (TOC) in a markdown document.
https://packagecontrol.io/packages/MarkdownTOC
MIT License
301 stars 48 forks source link

Update code style guideline #156

Closed naokazuterada closed 4 years ago

naokazuterada commented 4 years ago

fixes #150

@jonasbn

I've changed my mind about the quoting issue. In order to make it easier to maintain, I've chosen Black (double quotes) criteria; Black is more restrictive and therefore less ambiguous, I think it useful because of the auto format feature. I prefer to follow Black's rule rather than forcing ourself to define our own code style rules and putting the effort into maintaining the code style itself.

By using Black, I think that Coding Style guideline can be more simple. Would you check my proposal.

Thanks for all your contributions as always.

naokazuterada commented 4 years ago

@jonasbn Thank you for reviewing!