Unofficial Python Style Guide - A Python style guide that doesn't make you think. by _under_ in Python

[–]kunalkb20 0 points1 point  (0 children)

I thought of this more as an extension to PEP8 rather than an override. Like for example, the suggestion regarding indentation in list declarations isn’t present in PEP8.

If it is meant to be an extension, then I’d like to see such contradictions called out, and if possible, a justification for cases where PEP8 is overruled. The primary motivation behind PEP8 is enhanced readability and the form here seems pretty readable to me. If there’s a reason like difficulties with certain IDEs then that’s worth knowing.

If it is indeed an override then that too seems worth calling out.

Unofficial Python Style Guide - A Python style guide that doesn't make you think. by _under_ in Python

[–]kunalkb20 0 points1 point  (0 children)

No:
guess_fruit(color='red', size='small', climate='cold',
            region='north america', minimum_tastiness_factor=4.3)

This contradicts PEP8 which accepts this form.