fidals / refarm-site

Django applications with simple ecommerce functions
MIT License
2 stars 2 forks source link

Decide with spaces in type annotated default args #191

Closed duker33 closed 6 years ago

duker33 commented 6 years ago

Let's decide if we should use spaces in type annotated default args

Task was inpired by this discussion https://github.com/fidals/refarm-site/pull/190#discussion_r219704234

duker33 commented 6 years ago

it's doubled message from PR discussion:


@artemiy312 , we use no spaces around default arg operator. I think type annotations is not good reason for special tactics. Let's follow pep8's recommendation (item 4) https://www.python.org/dev/peps/pep-0008/#other-recommendations

--

Artemiy, now it's your move

ArtemijRodionov commented 6 years ago

@duker33 I agree with your opinion