Closed kangz12345 closed 1 year ago
If you think this PR is too large, I will split this into two.
First of all, what do you think of updating Python version to 3.11?
First of all, what do you think of updating Python version to 3.11?
Hmm, it's really tempting to do so, but at the same time, I am worried about potential bugs, since Python 3.11 is quite new.
Status of Python Versions would be helpful reference to decide this.
Python 3.10 seems stable enough (in terms of bugs) since the bugfix release schedule is almost ended.
I am not familiar to such version stability issues, so we have to search for good references about this.
Please create an issue about this and let's discuss it further.
First of all, what do you think of updating Python version to 3.11?
Hmm, it's really tempting to do so, but at the same time, I am worried about potential bugs, since Python 3.11 is quite new.
Status of Python Versions would be helpful reference to decide this.
Python 3.10 seems stable enough (in terms of bugs) since the bugfix release schedule is almost ended.
I am not familiar to such version stability issues, so we have to search for good references about this.
Please create an issue about this and let's discuss it further.
I agree with you very much. Let's create a new issue.
I resolved the Pylint warnings regarding to type hints. See #89 for more details.
Please check @BECATRUE @Ahrrri
dataclasses.dataclass
is useful when dealing with structured data with default values, etc. I applied this to apps and buses initialization information inswift
. This makes things easier to check if the data has a proper structure. Moreover, I implemented converter functions (parse()
andstrinfo()
).In addition, I removed some comments that seems merely repeating the codes.
Please freely give me your opinions!
Currently, pylint complains about type hints. The main reason is that
typing.Self
is introduced in Python 3.11. Also, the|
in type hints is introduced in Python 3.10. I will look for the workaround for this issue...This closes #72 and closes #73.