Closed Marc-Goritschnig closed 1 year ago
I reworked all your requested changes
i have changed those few things and formatted the file with intellijs pycharm, sadly i have not make tools currently and i cannot execute the script
if it is still necessary after the formatting i have done i would do that on the next weekend
Merged it. In the next commit I made a few minor formatting changes. Thank you for making this PR. I'll ship it to PyPi with version==1.1.1 this weekend
The problem was with taking the max of the intervals, which were tuples of (x, y) values. We have to take the biggest starting interval, therefore biggest x, and then the smallest ending interval, meaning y. An example which did not work before and which put all comments in the beginning of the code after unparse is performed is: ` if 1 == 1:
Test1
print('a') else:
Test2
print('b') print('b') `