kinto
kinto copied to clipboard
Type definitions
Hi,
so since I started working on the project very recently I found it a little difficult to follow the flow of the code at times and I think this could largely be alleviated if we included type definitions (at least for the function definitions), that way we should still remain compatible with python3.5 but it makes it a little easier.
We could of course at the same time switch over to f-Strings as mentioned in #1659 and lose support for python 3.5 but also include type definitions for non function parameters
What are your thoughts?
Yes, I would be in favor of adding type definitions! Don't hesitate to start, even if we don't do everything we keep track here of what's remaining to cover :)
Okay great!
I will work on it shortly, the aim is to stay compatible with 3.5 for now right?
I will work on it shortly, the aim is to stay compatible with 3.5 for now right?
Yes, mainly because it is a common python version on several distributions